Fix context menu translation support

This commit is contained in:
Henrik Rydgård committed 2022-12-07 16:15:02 +01:00
1 parent 49e55135c5
commit cd24d3edf9
2 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -411,7 +411,7 @@ PopupContextMenuScreen::PopupContextMenuScreen(const ContextMenuItem *items, siz
void PopupContextMenuScreen::CreatePopupContents(UI::ViewGroup *parent) {
for (size_t i = 0; i < itemCount_; i++) {
if (items_[i].imageID) {
Choice *choice = new Choice(items_[i].text, ImageID(items_[i].imageID));
Choice *choice = new Choice(category_->T(items_[i].text), ImageID(items_[i].imageID));
parent->Add(choice);
if (enabled_[i]) {
choice->OnClick.Add([=](EventParams &p) {
+10 -10
View File
@@ -273,10 +273,10 @@ VFPU = VFPU
[Dialog]
* PSP res = * PSP res
Active = Active
Active = Aktiv
Back = Tillbaka
Cancel = Avbryt
Center = Center
Center = Centrera
ChangingGPUBackends = PPSSPP måste starta om för att byta GPU-backend. Vill du starta om nu?
ChangingInflightFrames = Changing graphics command buffering requires PPSSPP to restart. Restart now?
Channel: = Channel:
@@ -288,8 +288,8 @@ ConnectingAP = Kopplar upp till acceesspunkten.\nVänta...
ConnectingPleaseWait = Kopplar upp.\nVänta...
ConnectionName = Uppkopplingsnamn
Corrupted Data = Korrupt data
Delete = Ta bort
Delete all = Ta bort allt
Delete = Radera
Delete all = Radera allt
Delete completed = Borttaget.
DeleteConfirm = All sparad data tas bort.\nÄr du säker på att du vill göra detta?
DeleteConfirmAll = Vill du verkligen ta bort all\nsparad data för spelet?
@@ -313,16 +313,16 @@ Load completed = Laddat.
Loading = Laddar\nVänta...
LoadingFailed = Kunde inte ladda data.
Move = Flytta
Move Down = Move Down
Move Up = Move Up
Move Down = Flytta ner
Move Up = Flytta upp
Network Connection = Nätverksuppkoppling
NEW DATA = NY DATA
No = Nej
ObtainingIP = Obtaining IP address.\nPlease wait...
OK = OK
Old savedata detected = Gammal savedata upptäckt
Options = Options
Remove = Remove
Options = Inställningar
Remove = Ta bort
Reset = Återställ
Resize = Ändra storlek
Retry = Försök igen
@@ -520,7 +520,7 @@ Mode = Mode
Must Restart = Starta om PPSSPP för att ändringen ska få effekt.
Native device resolution = Native device resolution
Nearest = Närmast
No buffer = No buffer
No buffer = Ingen buffer
Skip Buffer Effects = Skippa buffereffekter (snabbare, risk för fel)
None = Inget
Number of Frames = Antal frames
@@ -550,7 +550,7 @@ Speed = Hastighet
Speed Hacks = Speed-hacks (kan orsaka renderingsproblem)
Stereo display shader = Stereo display shader
Stereo rendering = Stereo-rendering
Stretch = Stretch
Stretch = Sträck ut
Texture Filter = Texturfilter
Texture Filtering = Texturfiltrering
Texture Scaling = Texturskalning