Merge pull request #18095 from hrydgard/lang-ui-fixes

Swedish translation updates, add reminder for save new textures
This commit is contained in:
Henrik Rydgård 2023-09-07 15:05:09 +02:00 committed by GitHub
commit d98cdacf54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 24 deletions

View File

@ -92,6 +92,13 @@ void TextureReplacer::NotifyConfigChanged() {
} }
enabled_ = File::IsDirectory(basePath_); enabled_ = File::IsDirectory(basePath_);
if (g_Config.bSaveNewTextures) {
// Somewhat crude message, re-using translation strings.
auto d = GetI18NCategory(I18NCat::DEVELOPER);
auto di = GetI18NCategory(I18NCat::DIALOG);
g_OSD.Show(OSDType::MESSAGE_INFO, std::string(d->T("Save new textures")) + ": " + di->T("Enabled"), 2.0f);
}
} else if (wasEnabled) { } else if (wasEnabled) {
delete vfs_; delete vfs_;
vfs_ = nullptr; vfs_ = nullptr;
@ -356,7 +363,7 @@ bool TextureReplacer::LoadIniValues(IniFile &ini, VFSBackend *dir, bool isOverri
auto gr = GetI18NCategory(I18NCat::GRAPHICS); auto gr = GetI18NCategory(I18NCat::GRAPHICS);
g_OSD.Show(OSDType::MESSAGE_SUCCESS, gr->T("Texture replacement pack activated")); g_OSD.Show(OSDType::MESSAGE_SUCCESS, gr->T("Texture replacement pack activated"), 2.0f);
return true; return true;
} }

View File

@ -3,40 +3,40 @@
%1: Attempt started = %1: Topplisteförsök startat %1: Attempt started = %1: Topplisteförsök startat
%1: Attempt failed = %1: Topplisteförsök misslyckades %1: Attempt failed = %1: Topplisteförsök misslyckades
Account = Inloggning Account = Inloggning
Achievement progress = Achievement progress Achievement progress = Achievement-progress
Achievement unlocked = Achievement avklarat! Achievement unlocked = Achievement avklarat!
Achievements = Achievements Achievements = Achievements
Achievements are disabled = Achievements är avstängda Achievements are disabled = Achievements är avstängda
Achievements enabled = Achievements enabled Achievements enabled = Achievements enabled
Achievements with active challenges = Achievements with active challenges Achievements with active challenges = Achievements with active challenges
Almost completed achievements = Almost completed achievements Almost completed achievements = Nästan avklarade achievements
Around me = Around me Around me = Around me
Can't log in to RetroAchievements right now = Can't log in to RetroAchievements right now Can't log in to RetroAchievements right now = Kan inte logga in till RetroAchievements just nu
Challenge indicator = Challenge indicator Challenge indicator = Challenge indicator
Challenge Mode = Utmanings-läge Challenge Mode = Utmanings-läge
Challenge Mode (no savestates) = Utmanings-läge (inga sparade state) Challenge Mode (no savestates) = Utmanings-läge (inga sparade state)
Contacting RetroAchievements server... = Contacting RetroAchievements server... Contacting RetroAchievements server... = Kontaktar RetroAchievements' server...
Customize = Anpassa Customize = Anpassa
Earned = Du har tjänat %d av %d achievements, och %d of %d poäng Earned = Du har tjänat %d av %d achievements, och %d of %d poäng
Encore Mode = Encore-läge (kan ta achievements igen) Encore Mode = Encore-läge (kan ta achievements igen)
Failed logging in to RetroAchievements = Failed logging in to RetroAchievements Failed logging in to RetroAchievements = Misslyckades logga in till RetroAchievements
Failed to connect to RetroAchievements. Achievements will not unlock. = Failed to connect to RetroAchievements. Achievements will not unlock. Failed to connect to RetroAchievements. Achievements will not unlock. = Misslyckades logga in RetroAchievements. Achievements kommer ej kunna avklaras.
Failed to identify game. Achievements will not unlock. = Failed to identify game. Achievements will not unlock. Failed to identify game. Achievements will not unlock. = Kunde inte identifiera spel. Achievements kommer ej kunna avklaras.
How to use RetroAchievements = Hur man använder RetroAchievements How to use RetroAchievements = Hur man använder RetroAchievements
In Encore mode - listings may be wrong below = I Encore-läge - saker kan visas fel nedan In Encore mode - listings may be wrong below = I Encore-läge - saker kan visas fel nedan
Leaderboard attempt started or failed = Leaderboard attempt started or failed Leaderboard attempt started or failed = Topplisteförsök påbörjat eller misslyckat
Leaderboard result submitted = Leaderboard result submitted Leaderboard result submitted = Topplisteresultat inskickat
Leaderboard score submission = Leaderboard score submission Leaderboard score submission = Inskickning av topplisteresultat
Leaderboard submission is enabled = Skickar in poäng till ledartabeller Leaderboard submission is enabled = Skickar in poäng till topplistor
Leaderboard tracker = Leaderboard tracker Leaderboard tracker = Topplisteresultatvisare
Leaderboards = Topplistor Leaderboards = Topplistor
Links = Länkar Links = Länkar
Locked achievements = Låsta achievements Locked achievements = Låsta achievements
Log bad memory accesses = Logga felaktiga minnesåtkomster Log bad memory accesses = Logga felaktiga minnesåtkomster
Mastered %1 = Klarade av %1! Mastered %1 = Klarade av %1!
Notifications = Notifications Notifications = Notifications
Recently unlocked achievements = Recently unlocked achievements Recently unlocked achievements = Nyligen avklarade achievements
Reconnected to RetroAchievements. = Reconnected to RetroAchievements. Reconnected to RetroAchievements. = Åter uppkopplad till RetroAchievements.
Register on www.retroachievements.org = Registrera på www.retroachievements.org Register on www.retroachievements.org = Registrera på www.retroachievements.org
RetroAchievements are not available for this game = RetroAchievements finns inte tillgängliga för detta spel RetroAchievements are not available for this game = RetroAchievements finns inte tillgängliga för detta spel
RetroAchievements website = RetroAchievements webbsida RetroAchievements website = RetroAchievements webbsida
@ -50,10 +50,10 @@ Syncing achievements data... = Synkar achievementdata...
Test Mode = Test-läge Test Mode = Test-läge
This feature is not available in Challenge Mode = Denna feature är inte tillgänglig i utmaningsläge This feature is not available in Challenge Mode = Denna feature är inte tillgänglig i utmaningsläge
This game has no achievements = Detta spel har inga achievements This game has no achievements = Detta spel har inga achievements
Top players = Top players Top players = Toppspelare
Unlocked achievements = Upplåsta achievements Unlocked achievements = Upplåsta achievements
Unofficial achievements = Inofficiella achievements Unofficial achievements = Inofficiella achievements
Unsupported achievements = Unsupported achievements Unsupported achievements = Icke-stödda achievements
[Audio] [Audio]
Alternate speed volume = Volym vid alternativ hastighet Alternate speed volume = Volym vid alternativ hastighet
@ -184,7 +184,7 @@ Backend = Renderare
Bicubic = Bikubisk Bicubic = Bikubisk
Break = Bryt Break = Bryt
Break on Load = Stoppa direkt efter laddning Break on Load = Stoppa direkt efter laddning
Buy Gold = Buy Gold Buy Gold = Köp Guld
Control Mapping... = Kontrollmappning... Control Mapping... = Kontrollmappning...
Copy PSP memory base address = Kopiera bas-addressen till PSP'n minne Copy PSP memory base address = Kopiera bas-addressen till PSP'n minne
Debugging = Debuggning Debugging = Debuggning
@ -1155,9 +1155,9 @@ CPU Information = CPU-information
CPU Name = Name CPU Name = Name
D3DCompiler Version = D3DCompiler version D3DCompiler Version = D3DCompiler version
Debug = Debug Debug = Debug
Debugger Present = Debugger present Debugger Present = Debugger närvarande
Depth buffer format = Depth buffer format Depth buffer format = Depth buffer-format
Device Info = Device info Device Info = Device-information
Directories = Directories Directories = Directories
Display Color Formats = Display Color Formats Display Color Formats = Display Color Formats
Display Information = Display information Display Information = Display information
@ -1172,7 +1172,7 @@ High precision float range = High precision float range
High precision int range = High precision int range High precision int range = High precision int range
Icon cache = Icon cache Icon cache = Icon cache
JIT available = JIT available JIT available = JIT available
Lang/Region = Lang/Region Lang/Region = Språk/Region
Memory Page Size = Memory page size Memory Page Size = Memory page size
Native resolution = Native resolution Native resolution = Native resolution
No GPU driver bugs detected = No GPU driver bugs detected No GPU driver bugs detected = No GPU driver bugs detected
@ -1209,7 +1209,7 @@ Vulkan Features = Vulkan features
12HR = 12HR 12HR = 12HR
24HR = 24HR 24HR = 24HR
Auto = Auto Auto = Auto
Auto Load Savestate = Auto load savestate Auto Load Savestate = Ladda savestate automatiskt
AVI Dump started. = AVI dump started AVI Dump started. = AVI dump started
AVI Dump stopped. = AVI dump stopped AVI Dump stopped. = AVI dump stopped
Cache ISO in RAM = Cachea hela ISO:n i RAM Cache ISO in RAM = Cachea hela ISO:n i RAM
@ -1311,7 +1311,7 @@ USB = USB
Use Lossless Video Codec (FFV1) = Använd förlust-fri video codec (FFV1) Use Lossless Video Codec (FFV1) = Använd förlust-fri video codec (FFV1)
Use O to confirm = Använd O för att bekräfta Use O to confirm = Använd O för att bekräfta
Use output buffer (with overlay) for recording = Use output buffer (with overlay) for recording Use output buffer (with overlay) for recording = Use output buffer (with overlay) for recording
Use system native keyboard = Use system native keyboard Use system native keyboard = Använd systemets tangentbord för text-input
Use X to confirm = Använd X för att bekräfta Use X to confirm = Använd X för att bekräfta
VersionCheck = Kolla efter nya versioner av PPSSPP VersionCheck = Kolla efter nya versioner av PPSSPP
WARNING: Android battery save mode is on = WARNING: Android battery save mode is On WARNING: Android battery save mode is on = WARNING: Android battery save mode is On