Skip to content

Commit

Permalink
[i18n] Add en-GB and Romanian translation to UI (#11577)
Browse files Browse the repository at this point in the history
* Add en_GB translation to UI

Follow-up to koreader/koreader-translations#167

* Uncomment Romanian
  • Loading branch information
Frenzie committed Mar 20, 2024
1 parent f4a8514 commit ca8e935
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/ui/language.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ local Language = {
language_names = {
C = "English",
en = "English",
en_GB = "English (United Kingdom)",
ca = "Catalá",
cs = "Čeština",
da = "Dansk",
Expand Down Expand Up @@ -118,6 +119,7 @@ function Language:getLangMenuTable()
-- NOTE: language with no translation are commented out for now
sub_item_table = {
self:genLanguageSubItem("C"),
self:genLanguageSubItem("en_GB"),
self:genLanguageSubItem("ca"),
self:genLanguageSubItem("cs"),
self:genLanguageSubItem("de"),
Expand All @@ -138,7 +140,7 @@ function Language:getLangMenuTable()
--self:genLanguageSubItem("pl_PL"),
self:genLanguageSubItem("pt_PT"),
self:genLanguageSubItem("pt_BR"),
--self:genLanguageSubItem("ro"),
self:genLanguageSubItem("ro"),
self:genLanguageSubItem("ro_MD"),
self:genLanguageSubItem("sk"),
self:genLanguageSubItem("sv"),
Expand Down

0 comments on commit ca8e935

Please sign in to comment.