-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b23f56
commit e2e7028
Showing
6 changed files
with
249 additions
and
80 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
body[lang=en] [lang]:not([lang*=en]) { | ||
display: none; | ||
} | ||
|
||
body[lang=so] [lang]:not([lang*=so]) { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
const languages = { | ||
'en': { | ||
'converted': 'Converted', | ||
'sun': 'Sun', | ||
'mon': 'Mon', | ||
'tue': 'Tue', | ||
'wed': 'Wed', | ||
'thu': 'Thu', | ||
'fri': 'Fri', | ||
'sat': 'Sat', | ||
'month_names': [ | ||
"Muḥarram", | ||
"Safar", | ||
"Rabī' Ul-Awwal", | ||
"Rabī' Uth-Thānī", | ||
"Jumāda Al-Ūlā", | ||
"Jumāda Ath-Thānī", | ||
"Rajab", | ||
"Sha'bān", | ||
"Ramaḍan", | ||
"Shawwāl", | ||
"Dhul Qa'dah", | ||
"Dhul Ḥijjah" | ||
], | ||
'greg_months': [ | ||
'Jan', | ||
'Feb', | ||
'Mar', | ||
'Apr', | ||
'May', | ||
'Jun', | ||
'Jul', | ||
'Aug', | ||
'Sep', | ||
'Oct', | ||
'Nov', | ||
'Dec' | ||
], | ||
'greg_months_full': [ | ||
'January', | ||
'February', | ||
'March', | ||
'April', | ||
'May', | ||
'June', | ||
'July', | ||
'August', | ||
'September', | ||
'October', | ||
'November', | ||
'December' | ||
] | ||
}, | ||
'so': { | ||
'converted': 'Badalan', | ||
'sun': 'Axa', | ||
'mon': 'Isn', | ||
'tue': 'Tal', | ||
'wed': 'Arb', | ||
'thu': 'Kha', | ||
'fri': 'Jam', | ||
'sat': 'Sab', | ||
'month_names': [ | ||
"Muxarram", | ||
"Safar", | ||
"Rabiicul Awwal", | ||
"Rabiicu Thaani", | ||
"Jumaadal Awwal", | ||
"Jumaada As-Saani", | ||
"Rajab", | ||
"Shacbaan", | ||
"Ramadaan", | ||
"Shawwaal", | ||
"Dul Qacda", | ||
"Dul Xijjo" | ||
], | ||
'greg_months': [ | ||
'Jan', | ||
'Feb', | ||
'Maa', | ||
'Abr', | ||
'Maay', | ||
'Jun', | ||
'Luu', | ||
'Ago', | ||
'Sit', | ||
'Okt', | ||
'Nof', | ||
'Dis' | ||
], | ||
'greg_months_full': [ | ||
'Janaayo', | ||
'Febraayo', | ||
'Maarso', | ||
'Abriil', | ||
'Maayo', | ||
'Juunyo', | ||
'Luulyo', | ||
'Agoosto', | ||
'Siteember', | ||
'Oktoobar', | ||
'Nofeembar', | ||
'Diseembar' | ||
] | ||
} | ||
}; | ||
|
||
function getTranslated(lang, key) { | ||
return languages[lang][key]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.