-
Notifications
You must be signed in to change notification settings - Fork 89
Translations update from Hosted Weblate #377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
a7233d7
d4734a3
df8b3a3
a2eb5ee
aef520d
cfc28f1
667b3e3
453fb26
2e41da0
41e17e4
6867854
cab6a11
b812960
5b0c08b
de669d8
f508a46
0787c2f
4268acc
02d8b7d
ffe211a
439f307
502b94b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -151,7 +151,7 @@ | |
| "settings_pwa_watch": "Gledaj", | ||
| "settings_pwa_download": "Preuzimanje", | ||
| "settings_pwa_always_ask": "Uvijek pitajte", | ||
| "settings_quality_worst": "Biću manje pripremljena", | ||
| "settings_quality_worst": "Najgore", | ||
| "settings_quality_low": "Nisko", | ||
| "settings_quality_medium": "Umjereno", | ||
| "settings_quality_high": "Visoko", | ||
|
|
@@ -221,5 +221,6 @@ | |
| "library_import_songshift": "Uvezi playliste sa SongShift", | ||
| "library_about_ytify": "O ytify", | ||
| "nav_logout": "Odjavi se", | ||
| "player_video_resolution": "Odluka" | ||
| "player_video_resolution": "Odluka", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
On Line 224, 🤖 Prompt for AI Agents |
||
| "updating": "Ažuriranje u toku..." | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -151,7 +151,7 @@ | |||||||||
| "settings_pwa_watch": "Gledaj", | ||||||||||
| "settings_pwa_download": "Preuzimanje", | ||||||||||
| "settings_pwa_always_ask": "Uvijek pitajte", | ||||||||||
| "settings_quality_worst": "Biću manje pripremljena", | ||||||||||
| "settings_quality_worst": "Najgore", | ||||||||||
| "settings_quality_low": "Nisko", | ||||||||||
| "settings_quality_medium": "Umjereno", | ||||||||||
| "settings_quality_high": "Visoko", | ||||||||||
|
|
@@ -221,5 +221,6 @@ | |||||||||
| "library_import_songshift": "Uvezi playliste sa SongShift", | ||||||||||
| "library_about_ytify": "O ytify", | ||||||||||
| "nav_logout": "Odjavi se", | ||||||||||
| "player_video_resolution": "Odluka" | ||||||||||
| "player_video_resolution": "Odluka", | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||
| "updating": "Ažuriranje u toku..." | ||||||||||
|
Comment on lines
+224
to
+225
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix Line 224 uses Suggested patch- "player_video_resolution": "Odluka",
+ "player_video_resolution": "Rezolucija",📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
| } | ||||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -220,5 +220,6 @@ | |||||
| "library_import_songshift": "Importar listas de reproducción desde SongShift", | ||||||
| "library_about_ytify": "Acerca de ytify", | ||||||
| "nav_logout": "Cerrar sesión", | ||||||
| "player_video_resolution": "Resolución" | ||||||
| "player_video_resolution": "Resolución", | ||||||
| "queue_reload_notification": "" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Empty translation strings cause the UI to display nothing for that key. It is better to provide the translation: 'Los cambios aparecerán a partir de la próxima sesión'.
Suggested change
|
||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -220,5 +220,6 @@ | |
| "library_import_songshift": "SongShift से प्लेलिस्ट आयात करें", | ||
| "library_about_ytify": "ytify के बारे में", | ||
| "nav_logout": "लॉगआउट", | ||
| "player_video_resolution": "रेज़ोल्यूशन" | ||
| "player_video_resolution": "रेज़ोल्यूशन", | ||
| "queue_reload_notification": "" | ||
|
Comment on lines
+223
to
+224
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Description: Check i18n fallback configuration for empty strings
# Search for i18n initialization and fallback configuration
rg -n -C5 -g '*.{ts,tsx,js,jsx}' 'i18n|fallbackLng|fallback.*locale'
# Find usage of queue_reload_notification to understand display context
ast-grep --pattern 'queue_reload_notification'Repository: n-ce/ytify Length of output: 36 🏁 Script executed: # Check package.json for i18n dependencies
cat package.json | grep -i "i18n\|locale\|translation"Repository: n-ce/ytify Length of output: 36 🏁 Script executed: # Find all locale files to understand structure
fd -e json "locales" --type f | head -20Repository: n-ce/ytify Length of output: 36 🏁 Script executed: # Search for any i18n implementation more broadly (case-insensitive)
rg -i "queue_reload_notification" --type ts --type tsx --type js --type jsx -C 3Repository: n-ce/ytify Length of output: 81 🏁 Script executed: # Look for how locale files are loaded or used
rg -n "locales\|\.json" --type ts --type tsx --type js --type jsx | grep -i "locale\|translation\|i18n" | head -20Repository: n-ce/ytify Length of output: 81 🏁 Script executed: cat package.jsonRepository: n-ce/ytify Length of output: 952 🏁 Script executed: # Find all JSON locale files
fd "\.json$" src/locales/Repository: n-ce/ytify Length of output: 474 🏁 Script executed: # Look for Vue i18n implementation
rg -n "createI18n\|useI18n\|this.\$i18n" --type jsRepository: n-ce/ytify Length of output: 202 🏁 Script executed: # Search for how locale keys are referenced in Vue files
rg -n "queue_reload\|player_video" --type js | head -10Repository: n-ce/ytify Length of output: 202 🏁 Script executed: # Find TypeScript source files
fd "\.ts$" src/ | head -20Repository: n-ce/ytify Length of output: 631 🏁 Script executed: # Search for locale loading in TS files
rg -n "locales\|import.*locale" --type tsRepository: n-ce/ytify Length of output: 36 🏁 Script executed: # Look for translation function or key usage pattern
rg -n "\$t\(|i18n\(|getTranslation\(|t\(" --type ts | head -15Repository: n-ce/ytify Length of output: 1060 🏁 Script executed: # Check how locale files are loaded
rg -n "queue_reload\|player_video" -C 2Repository: n-ce/ytify Length of output: 36 🏁 Script executed: # Check vite config for any locale plugin
cat src/../vite.config.ts | head -50Repository: n-ce/ytify Length of output: 1780 🏁 Script executed: # Search for any imports of locale files
rg -n "from.*locales\|import.*locales" --type tsRepository: n-ce/ytify Length of output: 36 🏁 Script executed: # Look for JSON imports in general
rg -n "\.json" --type ts | grep -E "import|from" | head -20Repository: n-ce/ytify Length of output: 276 🏁 Script executed: # Check main app files (Solid.js entry point)
fd "^(index|main|app)\.(tsx?|jsx?)" src/Repository: n-ce/ytify Length of output: 392 🏁 Script executed: # Look at the structure of en.json to understand if queue_reload_notification exists there
rg "queue_reload_notification" src/locales/Repository: n-ce/ytify Length of output: 1602 🏁 Script executed: # Check the types definition for locales
cat src/types.d.tsRepository: n-ce/ytify Length of output: 2597 🏁 Script executed: # Search for where queue_reload_notification is actually used/displayed
rg "queue_reload_notification" -C 5Repository: n-ce/ytify Length of output: 11812 🏁 Script executed: # Check how translations are accessed in the app
rg -n "locales\[" --type ts --type tsxRepository: n-ce/ytify Length of output: 81 🏁 Script executed: # Look for how translations are accessed/displayed
rg -n "\[.*\]" src/lib/stores/app.ts | grep -i "json\|locale" | head -20Repository: n-ce/ytify Length of output: 36 🏁 Script executed: # Search for notification display code
rg -n "notification" --type js | head -20Repository: n-ce/ytify Length of output: 202 🏁 Script executed: # Check app.ts to see full locale loading logic
sed -n '30,50p' src/lib/stores/app.tsRepository: n-ce/ytify Length of output: 344 🏁 Script executed: # Search for where locales object/json is used
rg -n "locales\[|locales\(" --type jsRepository: n-ce/ytify Length of output: 202 🏁 Script executed: # Search for how translations are accessed in components (look for t() or similar pattern)
rg -n "store\.translations\|getTranslation" --type js | head -10Repository: n-ce/ytify Length of output: 202 🏁 Script executed: # Look for the translation function definition
cat src/lib/stores/app.ts | head -100Repository: n-ce/ytify Length of output: 1205 🏁 Script executed: # Search for notification display patterns
rg -n "Toast\|toast\|notify\|showNotification" --type js | head -15Repository: n-ce/ytify Length of output: 202 Empty translation will display as blank text for Hindi users. The 🤖 Prompt for AI Agents |
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -220,5 +220,6 @@ | |
| "library_import_songshift": "Импорт плейлистов из SongShift", | ||
| "library_about_ytify": "О ytify", | ||
| "nav_logout": "Выйти", | ||
| "player_video_resolution": "Разрешение" | ||
| "player_video_resolution": "Разрешение", | ||
| "queue_reload_notification": "" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty translation strings cause the UI to display nothing for that key. It is better to provide the translation: 'ستظهر التغييرات من الجلسة القادمة'.