mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Fix translatability of seconds unit formatting for sliders
This commit is contained in:
1 parent
98c782ca42
commit
500ab1fcde
44 files changed
+55
-9
No files matched your search
@@ -678,6 +678,7 @@ void GameSettingsScreen::CreateControlsSettings(UI::ViewGroup *controlsSettings)
|
||||
using namespace UI;
|
||||
|
||||
auto co = GetI18NCategory(I18NCat::CONTROLS);
|
||||
auto di = GetI18NCategory(I18NCat::DIALOG);
|
||||
auto ms = GetI18NCategory(I18NCat::MAINSETTINGS);
|
||||
|
||||
int deviceType = System_GetPropertyInt(SYSPROP_DEVICE_TYPE);
|
||||
@@ -722,7 +723,7 @@ void GameSettingsScreen::CreateControlsSettings(UI::ViewGroup *controlsSettings)
|
||||
opacity->SetFormat("%i%%");
|
||||
PopupSliderChoice *autoHide = controlsSettings->Add(new PopupSliderChoice(&g_Config.iTouchButtonHideSeconds, 0, 300, 20, co->T("Auto-hide buttons after seconds"), screenManager(), co->T("seconds, 0 : off")));
|
||||
autoHide->SetEnabledPtr(&g_Config.bShowTouchControls);
|
||||
autoHide->SetFormat("%is");
|
||||
autoHide->SetFormat(di->T("%d seconds"));
|
||||
autoHide->SetZeroLabel(co->T("Off"));
|
||||
|
||||
// Hide stick background, useful when increasing the size
|
||||
@@ -892,6 +893,7 @@ void GameSettingsScreen::CreateSystemSettings(UI::ViewGroup *systemSettings) {
|
||||
using namespace UI;
|
||||
|
||||
auto sy = GetI18NCategory(I18NCat::SYSTEM);
|
||||
auto di = GetI18NCategory(I18NCat::DIALOG);
|
||||
auto vr = GetI18NCategory(I18NCat::VR);
|
||||
auto th = GetI18NCategory(I18NCat::THEMES);
|
||||
|
||||
@@ -1057,6 +1059,7 @@ void GameSettingsScreen::CreateSystemSettings(UI::ViewGroup *systemSettings) {
|
||||
});
|
||||
lockedMhz->SetZeroLabel(sy->T("Auto"));
|
||||
PopupSliderChoice *rewindInterval = systemSettings->Add(new PopupSliderChoice(&g_Config.iRewindSnapshotInterval, 0, 60, 0, sy->T("Rewind Snapshot Interval"), screenManager(), sy->T("seconds, 0:off")));
|
||||
rewindInterval->SetFormat(di->T("%d seconds"));
|
||||
rewindInterval->SetZeroLabel(sy->T("Off"));
|
||||
|
||||
systemSettings->Add(new ItemHeader(sy->T("General")));
|
||||
|
||||
@@ -274,6 +274,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP حجم
|
||||
Active = Active
|
||||
Back = رجوع
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Geri
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Назад
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d segons
|
||||
* PSP res = * resolució PSP
|
||||
Active = Actiu
|
||||
Back = Enrere
|
||||
@@ -1131,7 +1132,7 @@ Failed to save state. Error in the file system. = Failed to save state. Error in
|
||||
Fast (lag on slow storage) = Fast (lag on slow storage)
|
||||
Fast Memory = Memòria ràpida (inestable)
|
||||
Force real clock sync (slower, less lag) = Force real clock sync (slower, less lag)
|
||||
seconds, 0:off = seconds, 0 = off
|
||||
seconds, 0:off = segons, 0 = off
|
||||
Games list settings = Games list settings
|
||||
General = General
|
||||
Grid icon size = Grid icon size
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d vteřin
|
||||
* PSP res = * PSP rozlišení
|
||||
Active = Active
|
||||
Back = Zpět
|
||||
|
||||
@@ -265,6 +265,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d sekunder
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Tilbage
|
||||
@@ -1130,7 +1131,7 @@ Failed to save state. Error in the file system. = Failed to save state. Error in
|
||||
Fast (lag on slow storage) = Hurtig (forsinkelser på langsomt lager)
|
||||
Fast Memory = Hurtig hukommelse (ustabil)
|
||||
Force real clock sync (slower, less lag) = Tving rigtig clock sync (langsommere, færre forsinkelser)
|
||||
seconds, 0:off = seconds, 0 = off
|
||||
seconds, 0:off = sekunder, 0 = off
|
||||
Games list settings = Games list settings
|
||||
General = Generel
|
||||
Grid icon size = Grid icon size
|
||||
|
||||
@@ -265,6 +265,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d Sekunden
|
||||
* PSP res = * PSP Auflösung
|
||||
Active = Aktiv
|
||||
Back = Zurück
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Poleboko'
|
||||
|
||||
@@ -290,6 +290,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Back
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Test de pantalla táctil
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d segundos
|
||||
* PSP res = * resolución PSP
|
||||
Active = Activo
|
||||
Back = Atrás
|
||||
|
||||
@@ -265,6 +265,7 @@ Touchscreen Test = Probar pantalla táctil
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Activo
|
||||
Back = Atrás
|
||||
|
||||
@@ -265,6 +265,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = برگشت
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Takaisin
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Test de l'écran tactile
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d secondes
|
||||
* PSP res = × définition PSP
|
||||
Active = Actif
|
||||
Back = Retour
|
||||
@@ -1122,7 +1123,7 @@ Failed to save state. Error in the file system. = Échec de la sauvegarde de l'
|
||||
Fast (lag on slow storage) = Rapide (lag sur stockage lent)
|
||||
Fast Memory = Mémoire rapide (instable)
|
||||
Force real clock sync (slower, less lag) = Forcer synchronisation temps réel (+ lent, - de décalage)
|
||||
seconds, 0:off = images, 0 = off
|
||||
seconds, 0:off = secondes, 0 = off
|
||||
Games list settings = Paramètres des listes de jeux
|
||||
General = Général
|
||||
Grid icon size = Taille des icônes
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Atrás
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d δευτερόλεπτα
|
||||
* PSP res = * ανάλυση PSP
|
||||
Active = ΕΝΕΡΓΟ
|
||||
Back = ΠΙΣΩ
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = <<
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = <<
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d sekundi
|
||||
* PSP res = * PSP res
|
||||
Active = Aktivno
|
||||
Back = Nazad
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Érintőképernyő teszt
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d másodpercig
|
||||
* PSP res = * PSP felbontás
|
||||
Active = Aktív
|
||||
Back = Vissza
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Tes layar sentuh
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d detik
|
||||
* PSP res = * PSP res
|
||||
Active = Aktif
|
||||
Back = Kembali
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Test del touchscreen
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d secondi
|
||||
* PSP res = * definizione PSP
|
||||
Active = Attiva
|
||||
Back = Indietro
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = タッチスクリーンのテスト
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP 解像度
|
||||
Active = アクティブ
|
||||
Back = 戻る
|
||||
|
||||
@@ -265,6 +265,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d detik
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Bali
|
||||
|
||||
@@ -265,6 +265,7 @@ Touchscreen Test = 터치화면 테스트
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d 초
|
||||
* PSP res = * PSP 리소스
|
||||
Active = 활성화
|
||||
Back = 뒤로가기
|
||||
|
||||
@@ -265,6 +265,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d ວິນາທີ
|
||||
* PSP res = * ຂະໜາດຈໍ PSP
|
||||
Active = Active
|
||||
Back = ຍ້ອນກັບ
|
||||
|
||||
@@ -82,7 +82,7 @@ Raw input = Raw input
|
||||
Repeat mode = Repeat mode
|
||||
Reset to defaults = Reset to defaults
|
||||
Screen Rotation = Ekramo pasukimas
|
||||
seconds, 0 : off = seconds, 0 = off
|
||||
seconds, 0 : off = sekundžių, 0 = off
|
||||
Sensitivity (scale) = Sensitivity (scale)
|
||||
Sensitivity = Sensitivacija
|
||||
Shape = Shape
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d sekundžių
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Atgal
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Balik
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP-resolutie
|
||||
Active = Active
|
||||
Back = Terug
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Tilbake
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Test ekranu dotykowego
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * rozdz. PSP
|
||||
Active = Aktywny
|
||||
Back = Powrót
|
||||
|
||||
@@ -290,6 +290,7 @@ Touchscreen Test = Teste do Touchscreen
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d segundos
|
||||
* PSP res = * Resolução do PSP
|
||||
Active = Ativo
|
||||
Back = Voltar
|
||||
|
||||
@@ -290,6 +290,7 @@ Touchscreen Test = Teste do Touchscreen
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d segundos
|
||||
* PSP res = * Resolução do PSP
|
||||
Active = Ativo
|
||||
Back = Voltar
|
||||
|
||||
@@ -82,7 +82,7 @@ Raw input = Raw input
|
||||
Repeat mode = Repeat mode
|
||||
Reset to defaults = Reset to defaults
|
||||
Screen Rotation = Rotație ecran
|
||||
seconds, 0 : off = seconds, 0 = off
|
||||
seconds, 0 : off = secunde, 0 = off
|
||||
Sensitivity (scale) = Sensitivity (scale)
|
||||
Sensitivity = Sensitivitate
|
||||
Shape = Shape
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d secunde
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Înapoi
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Тест сенсорного экрана
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d seconds
|
||||
* PSP res = * разр. PSP
|
||||
Active = Активно
|
||||
Back = Назад
|
||||
|
||||
@@ -82,7 +82,7 @@ Raw input = Raw input
|
||||
Repeat mode = Repeat mode
|
||||
Reset to defaults = Återställ till standardvärden
|
||||
Screen Rotation = Skärmrotation
|
||||
seconds, 0 : off = seconds, 0 = off
|
||||
seconds, 0 : off = sekunder, 0 = off
|
||||
Sensitivity (scale) = Sensitivity (scale)
|
||||
Sensitivity = Känslighet
|
||||
Shape = Shape
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchskärm-test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d sekunder
|
||||
* PSP res = * PSP res
|
||||
Active = Aktiv
|
||||
Back = Tillbaka
|
||||
@@ -1130,7 +1131,7 @@ Failed to save state. Error in the file system. = Kunde inte spara state - filsy
|
||||
Fast (lag on slow storage) = Snabbt (lag on slow storage)
|
||||
Fast Memory = Snabbt minne (instabilt)
|
||||
Force real clock sync (slower, less lag) = Force real clock sync (slower, less lag)
|
||||
seconds, 0:off = seconds, 0 = avstängt
|
||||
seconds, 0:off = sekunder, 0: avstängt
|
||||
Games list settings = Inställningar för spel-listan
|
||||
General = Blandat
|
||||
Grid icon size = Ikonstorlek i rutnät
|
||||
|
||||
@@ -265,6 +265,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d segundo
|
||||
* PSP res = * PSP res
|
||||
Active = Active
|
||||
Back = Bumalik
|
||||
@@ -1130,7 +1131,7 @@ Failed to save state. Error in the file system. = Pumalya sa save state. Nagka e
|
||||
Fast (lag on slow storage) = Mabilis (mabagal naman sa mahinang storage)
|
||||
Fast Memory = Mabilis na memorya (hindi stable)
|
||||
Force real clock sync (slower, less lag) = Force real clock sync (slower, less lag)
|
||||
seconds, 0:off = seconds, 0 = off
|
||||
seconds, 0:off = segundo, 0 = off
|
||||
Games list settings = Games list settings
|
||||
General = Pangkalahatan
|
||||
Grid icon size = Grid icon size
|
||||
|
||||
@@ -265,6 +265,7 @@ Touchscreen Test = ทดสอบหน้าจอสัมผัส
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d วินาที
|
||||
* PSP res = * ขนาดจอ PSP
|
||||
Active = เปิดการทำงาน
|
||||
Back = ย้อนกลับ
|
||||
|
||||
@@ -268,6 +268,7 @@ Touchscreen Test = Dokunmatik ekran testi
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d saniyeler
|
||||
* PSP res = * PSP Çözünürlüğü
|
||||
Active = Etkin
|
||||
Back = Geri
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Тест сенсорного екрану
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d сек
|
||||
* PSP res = * дозв. PSP
|
||||
Active = Активно
|
||||
Back = Назад
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = Touchscreen test
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d giây
|
||||
* PSP res = * PSP như thật
|
||||
Active = Hoạt động
|
||||
Back = Trở lại
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = 触屏测试
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d 秒
|
||||
* PSP res = * PSP分辨率
|
||||
Active = 激活
|
||||
Back = 返回
|
||||
|
||||
@@ -266,6 +266,7 @@ Touchscreen Test = 觸控式螢幕測試
|
||||
VFPU = VFPU
|
||||
|
||||
[Dialog]
|
||||
%d seconds = %d 秒
|
||||
* PSP res = * PSP 解析度
|
||||
Active = 啟用
|
||||
Back = 返回
|
||||
|
||||
Reference in new issue
Block a user