Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions app/src/main/java/app/gamenative/utils/LocaleHelper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ object LocaleHelper {
"" to "System Default",
"da" to "Dansk (Danish)",
"en" to "English",
"it" to "Italiano",
"it" to "Italiano (Italian)",
"pt-BR" to "Português Brasileiro (Brazilian Portuguese)",
"uk" to "Українська",
"zh-TW" to "正體中文",
"zh-CN" to "简体中文",
"fr" to "Français",
"de" to "Deutsch"
"uk" to "Українська (Ukrainian)",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Inconsistent indentation: TAB used instead of spaces.

Line 24 uses a TAB character for indentation while the rest of the file uses spaces. This should be fixed for consistency.

🔧 Suggested fix
-		"uk" to "Українська (Ukrainian)",
+        "uk" to "Українська (Ukrainian)",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"uk" to "Українська (Ukrainian)",
"uk" to "Українська (Ukrainian)",
🤖 Prompt for AI Agents
In `@app/src/main/java/app/gamenative/utils/LocaleHelper.kt` at line 24, The line
containing the map entry `"uk" to "Українська (Ukrainian)"` in LocaleHelper.kt
uses a TAB for indentation; replace that TAB with the same number of spaces used
elsewhere in the file to match existing indentation style (e.g., convert the
leading TAB to spaces so the mapping aligns with other entries in the locale
map).

"zh-TW" to "正體中文 (Traditional Chinese)",
"zh-CN" to "简体中文 (Simplified Chinese)",
"fr" to "Français (French)",
"de" to "Deutsch (German)",
"ro" to "Română (Romanian)"
)

/**
Expand Down