[PR #86] [MERGED] Revamped localization system (much more accurate and up to date) #1452

Closed
opened 2026-03-03 19:07:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/PlayCover/PlayCover/pull/86
Author: @Wind-Explorer
Created: 7/22/2022
Status: Merged
Merged: 7/31/2022
Merged by: @Depal1

Base: developHead: feature/revamped-string-keys


📝 Commits (10+)

  • 8c1cd03 Replaced all strings with keys
  • b8d9368 Wiped all previous translations
  • 4f3d9ce Tuned code for proper building
  • 0e7f62f Attempting to resolve conflict
  • 5557e9a Reverted whatever I just did
  • c3940d8 nuked all conflicts - ready to merge
  • dc5d006 ;-; forgot to stage a file
  • 3f83d5c Resolve more conflicts
  • 72feef1 resolving EVEN more conflicts (DEPALLL!!!!)
  • a717cbc Updated locales to work with #91

📊 Changes

27 files changed (+1615 additions, -831 deletions)

View changed files

📝 .gitignore (+1 -2)
📝 PlayCover/Model/StoreApp.swift (+1 -3)
📝 PlayCover/Services/SoundDeviceService.swift (+2 -2)
📝 PlayCover/View/AppSettingsView.swift (+21 -20)
📝 PlayCover/View/ChangeGenshinAccountView.swift (+2 -2)
📝 PlayCover/View/DeleteGenshinStoredAccountView.swift (+1 -1)
📝 PlayCover/View/MainView.swift (+13 -15)
📝 PlayCover/View/MenuBarView.swift (+8 -8)
📝 PlayCover/View/PlayAppView.swift (+16 -17)
📝 PlayCover/View/PlayCoverApp.swift (+2 -2)
📝 PlayCover/View/SetupView.swift (+23 -25)
📝 PlayCover/View/Sparkle.swift (+1 -1)
📝 PlayCover/View/StoreGenshinAccountView.swift (+11 -11)
📝 PlayCover/View/Style.swift (+10 -10)
📝 PlayCover/ViewModel/InstallVM.swift (+7 -7)
📝 PlayCover/ViewModel/Log.swift (+3 -3)
📝 PlayCover/de.lproj/Localizable.strings (+136 -44)
📝 PlayCover/en.lproj/Localizable.strings (+133 -111)
📝 PlayCover/es.lproj/Localizable.strings (+136 -94)
📝 PlayCover/fr.lproj/Localizable.strings (+136 -96)

...and 7 more files

📄 Description

Updated UI with more accurate and up-to-date sentences for much better clarity
Wiped all translations since most are outdated and irrelevant in the current code and it is a good idea to get everything translated again (a good chance for more people to contribute)

with the new key system for strings, it is now much more easier to manage them and not worrying about typos for synchronisation between source code and locale files

A continuation from PR #84 due to some ridiculous code merging that caused my previous work to go kaboom 💀


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/PlayCover/PlayCover/pull/86 **Author:** [@Wind-Explorer](https://github.com/Wind-Explorer) **Created:** 7/22/2022 **Status:** ✅ Merged **Merged:** 7/31/2022 **Merged by:** [@Depal1](https://github.com/Depal1) **Base:** `develop` ← **Head:** `feature/revamped-string-keys` --- ### 📝 Commits (10+) - [`8c1cd03`](https://github.com/PlayCover/PlayCover/commit/8c1cd035c90532e150a795ede4d81e3789053fbf) Replaced all strings with keys - [`b8d9368`](https://github.com/PlayCover/PlayCover/commit/b8d9368aa793c2fd07e0c86f29c1c7dbe7466edc) Wiped all previous translations - [`4f3d9ce`](https://github.com/PlayCover/PlayCover/commit/4f3d9ce9b379767b89057ff994cd5cddbb3ef9e0) Tuned code for proper building - [`0e7f62f`](https://github.com/PlayCover/PlayCover/commit/0e7f62ffa6f154bb168abbdcc63a2e104bdb667b) Attempting to resolve conflict - [`5557e9a`](https://github.com/PlayCover/PlayCover/commit/5557e9a8ccd045281f8a9dd809bbdd5f2a6fdc41) Reverted whatever I just did - [`c3940d8`](https://github.com/PlayCover/PlayCover/commit/c3940d820ee6141b4bd3513f27023d8f6f58713e) nuked all conflicts - ready to merge - [`dc5d006`](https://github.com/PlayCover/PlayCover/commit/dc5d00619b2bd8f8459cf6688c35c479735f573f) ;-; forgot to stage a file - [`3f83d5c`](https://github.com/PlayCover/PlayCover/commit/3f83d5cd4cddb08724dd533527ab4e61a24618ee) Resolve more conflicts - [`72feef1`](https://github.com/PlayCover/PlayCover/commit/72feef1d2eee25dd9f8192b43e27f05e831ca099) resolving EVEN more conflicts (DEPALLL!!!!) - [`a717cbc`](https://github.com/PlayCover/PlayCover/commit/a717cbc6091dc6530dc7025f31716f9c8e39f1d7) Updated locales to work with #91 ### 📊 Changes **27 files changed** (+1615 additions, -831 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -2) 📝 `PlayCover/Model/StoreApp.swift` (+1 -3) 📝 `PlayCover/Services/SoundDeviceService.swift` (+2 -2) 📝 `PlayCover/View/AppSettingsView.swift` (+21 -20) 📝 `PlayCover/View/ChangeGenshinAccountView.swift` (+2 -2) 📝 `PlayCover/View/DeleteGenshinStoredAccountView.swift` (+1 -1) 📝 `PlayCover/View/MainView.swift` (+13 -15) 📝 `PlayCover/View/MenuBarView.swift` (+8 -8) 📝 `PlayCover/View/PlayAppView.swift` (+16 -17) 📝 `PlayCover/View/PlayCoverApp.swift` (+2 -2) 📝 `PlayCover/View/SetupView.swift` (+23 -25) 📝 `PlayCover/View/Sparkle.swift` (+1 -1) 📝 `PlayCover/View/StoreGenshinAccountView.swift` (+11 -11) 📝 `PlayCover/View/Style.swift` (+10 -10) 📝 `PlayCover/ViewModel/InstallVM.swift` (+7 -7) 📝 `PlayCover/ViewModel/Log.swift` (+3 -3) 📝 `PlayCover/de.lproj/Localizable.strings` (+136 -44) 📝 `PlayCover/en.lproj/Localizable.strings` (+133 -111) 📝 `PlayCover/es.lproj/Localizable.strings` (+136 -94) 📝 `PlayCover/fr.lproj/Localizable.strings` (+136 -96) _...and 7 more files_ </details> ### 📄 Description Updated UI with more accurate and up-to-date sentences for much better clarity Wiped all translations since most are outdated and irrelevant in the current code and it is a good idea to get everything translated again (a good chance for more people to contribute) with the new key system for strings, it is now much more easier to manage them and not worrying about typos for synchronisation between source code and locale files A continuation from PR #84 due to some ridiculous code merging that caused my previous work to go kaboom 💀 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 19:07:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PlayCover#1452
No description provided.