-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor i18n usage in ParqetWidget for improved localization
Replaced hardcoded strings with the newly implemented `i18n` function, centralizing translation handling and improving maintainability. Updated translation files (en/de) with additional keys for widget configuration options and labels. This ensures consistency and simplifies future localization efforts.
- Loading branch information
1 parent
1fff023
commit 50ca42c
Showing
5 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
parqet.name=Parqet | ||
parqet.enter_portfolio_id=Portfolio ID (muss auf öffentlich stehen!) | ||
pq.portfolio=Portfolio | ||
pq.total=G E S A M T | ||
pq.cnf.portfolio_id=Portfolio-ID (muss auf öffentlich stehen!) | ||
pq.cnf.mode=Standardzeitraum (Zeitraum kann durch mittellanges Drücken des mittleren Buttons geändert werden) | ||
pq.cnf.clock=Uhr auf dem ersten Bildschirm anzeigen | ||
pq.cnf.totals=Gesamtübersicht anzeigen | ||
pq.cnf.total_val=Gesamtwert des Portfolios anzeigen | ||
pq.cnf.values=Preis oder Wert der Aktien anzeigen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
parqet.name=Parqet | ||
parqet.enter_portfolio_id=Portfolio ID (must be set to public!) | ||
pq.portfolio=Portfolio | ||
pq.total=T O T A L | ||
pq.cnf.portfolio_id=Portfolio ID (must be set to public!) | ||
pq.cnf.mode=Default timeframe (you can change timeframes by medium pressing the middle button) | ||
pq.cnf.clock=Show clock on first screen | ||
pq.cnf.totals=Show totals screen | ||
pq.cnf.total_val=Show total portfolio value | ||
pq.cnf.values=Show price or value for stocks |