Repository navigation
Conversation
…ogs with empty strings Empty strings fall back to the English catalog (MY_Language::getLine), so these entries render the same English text while showing up as untranslated in Weblate. Only values that are clearly untranslated are touched: multi-word phrases identical to the English value in any locale, and single Latin-script words identical to English in non-Latin-script locales. Single words in Latin-script locales, short acronym terms (SMTP Server, Sale ID), brands and placeholders are left for translators. Keys and English catalogs are unchanged. Refs opensourcepos#4783
Walkthrough
Merge Risk:
|
|
@coderabbitai Has this PR been fully superseded by the recent changes on |
|
Tip For best results, initiate chat on the files or code changes. Analysis chain
I compared all 4,146 changed entries across 204 files in
The two localized entries are
The comparison accounts for the I recommend closing You are interacting with an AI system. |
Refs #4783
This replaces English values that were copied into non-English language catalogs with
''.MY_Language::getLine()falls back to the English catalog when a value is'', so the UI still shows the same English text, but Weblate now lists these strings as untranslated instead of done.What counts as "confirmed English"
The issue warns that identical spelling alone is not enough, so I did not touch every value that matches English (5,698 matches across 44 locales). Only these were changed:
Show Suspended Sales,Are you sure you want to edit the selected Gift Card(s)?,Rewards Package.Supplierinbg,Reportsinta.Left as they are:
Total,Status,Email,Apriland similar are valid in many of these languages, so a native speaker should decide.SMTP Server,SMTP Port,Sale ID,CSV ExportandSend SMS(145 entries). They are often kept as-is.ID,VIP,HSN,UPI), brands (MailChimp,OSPOS), and values with no words (0,© 2010 - {0}).enanden-GB, and every key.As a spot check in a locale I speak,
id(Indonesian): onlysystem_info => 'System Info'changed.April,Total,Status,LogoandEmailare correct Indonesian and stay. Untranslated single words such asProtocolandnoneare left for Weblate under rule (2) above, which is why this PR says "Refs" rather than "Closes".Changes
204 files, 4,146 values. Lines are only modified, with no keys added or removed (4,146 insertions, 4,146 deletions).
tatlbglodazh-Hansde-CHhr-HRhumlurhykazh-Hantitnbelkmcsplhept-BRrode-DEfanl-NLnl-BEtrukbsfrthes-ESes-MXrusvsw-KEsw-TZar-EGar-LBviazckbidVerification
php -lpasses on all 204 changed files. This is whattests/LanguageFilesTest.phpchecks: each file parses and returns an array.''placeholder touched.app/Language/en/orapp/Language/en-GB/changed.The values were selected with a small script using the rules above. I'm happy to share it, or to narrow the rules if you'd rather keep any category (for example, the Tagalog loanwords).
Summary by CodeRabbit