mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
i18n: add Swedish (sv)
Adds a complete Swedish catalog (2,961 messages) and registers sv in the locale list, catalogs, language picker and package boundaries. Browsers set to Swedish get it at once; ?lang=sv or the language picker choose it elsewhere. Numbers and dates come out Swedish from Intl. - docs/translations/sv.md: style (imperative without a pronoun, closed compounds, decimal comma, space before units and %) and the glossary. - Entries that stay identical to English on purpose (codes such as HDG and FOV, product, place and source names) are listed under sv in same-as-english.json. - The picker-order test places Svenska after Português. - docs/CURRENT-STATE.md and docs/TRANSLATORS.md list the new language. The translation comes from God's Eye View Sverige, a Swedish fork, and was brought up to date with main (wildlife sightings, event age filter, traffic styles and the rest). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
52187c91d1
commit
fbd74bb80a
9 files changed
+3492
-3
No files matched your search
@@ -26,6 +26,7 @@ import it from './locales/it.json' with { type: 'json' };
|
||||
import ja from './locales/ja.json' with { type: 'json' };
|
||||
import pt from './locales/pt.json' with { type: 'json' };
|
||||
import ru from './locales/ru.json' with { type: 'json' };
|
||||
import sv from './locales/sv.json' with { type: 'json' };
|
||||
import uk from './locales/uk.json' with { type: 'json' };
|
||||
import zhCN from './locales/zh-CN.json' with { type: 'json' };
|
||||
import zhHant from './locales/zh-Hant.json' with { type: 'json' };
|
||||
@@ -39,6 +40,7 @@ const CATALOGS = Object.freeze({
|
||||
ja,
|
||||
pt,
|
||||
ru,
|
||||
sv,
|
||||
uk,
|
||||
'zh-CN': zhCN,
|
||||
'zh-Hant': zhHant,
|
||||
|
||||
Reference in new issue
Block a user