fix(i18n): address Turkish locale review feedback
Fix Copilot review issues in the tr locale: Korean string leaks,
placeholder order, stray quotes, broken {provider} tags, duplicate
English voice keys overriding translations, and remaining TODO strings.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c77936ff81
commit
6c811dcef5
2 files changed
+140
-136
No files matched your search
@@ -77,10 +77,11 @@ def locale_keys(src: str, locale_key: str) -> list[str]:
|
||||
|
||||
def test_turkish_locale_block_exists():
|
||||
src = read(REPO / "static" / "i18n.js")
|
||||
assert "\n tr: {" in src
|
||||
assert "_lang: 'tr'" in src
|
||||
assert "_label: 'Türkçe'" in src
|
||||
assert "_speech: 'tr-TR'" in src
|
||||
tr_block = extract_locale_block(src, "tr")
|
||||
assert tr_block
|
||||
assert "_lang: 'tr'" in tr_block
|
||||
assert "_label: 'Türkçe'" in tr_block
|
||||
assert "_speech: 'tr-TR'" in tr_block
|
||||
|
||||
|
||||
def test_turkish_locale_includes_representative_translations():
|
||||
|
||||
Reference in new issue
Block a user