From f74642df1b4b6d824841a7f76246e96e15ba054d Mon Sep 17 00:00:00 2001 From: Sam McLeod Date: Sun, 7 Apr 2024 13:57:04 +1000 Subject: [PATCH 1/2] feat(i18n): add international English (en-GB) localisation --- src/lib/i18n/locales/en-GB/translation.json | 64 +++++++++++++++++++++ src/lib/i18n/locales/languages.json | 4 ++ 2 files changed, 68 insertions(+) create mode 100644 src/lib/i18n/locales/en-GB/translation.json diff --git a/src/lib/i18n/locales/en-GB/translation.json b/src/lib/i18n/locales/en-GB/translation.json new file mode 100644 index 000000000..acc85c238 --- /dev/null +++ b/src/lib/i18n/locales/en-GB/translation.json @@ -0,0 +1,64 @@ +{ + "analyze": "analyse", + "analyzed": "analysed", + "analyzes": "analyses", + "apologize": "apologise", + "apologized": "apologised", + "apologizes": "apologises", + "apologizing": "apologising", + "canceled": "cancelled", + "canceling": "cancelling", + "capitalize": "capitalise", + "capitalized": "capitalised", + "capitalizes": "capitalises", + "center": "centre", + "centered": "centred", + "color": "colour", + "colorize": "colourise", + "customize": "customise", + "customizes": "customises", + "defense": "defence", + "dialog": "dialogue", + "emphasize": "emphasise", + "emphasized": "emphasised", + "emphasizes": "emphasises", + "favor": "favour", + "favorable": "favourable", + "favorite": "favourite", + "favoritism": "favouritism", + "labor": "labour", + "labored": "laboured", + "laboring": "labouring", + "maximize": "maximise", + "maximizes": "maximises", + "minimize": "minimise", + "minimizes": "minimises", + "neighbor": "neighbour", + "neighborhood": "neighbourhood", + "offense": "offence", + "organize": "organise", + "organizes": "organises", + "personalize": "personalise", + "personalizes": "personalises", + "program": "programme", + "programmed": "programmed", + "programs": "programmes", + "quantization": "quantisation", + "quantize": "quantise", + "randomize": "randomise", + "randomizes": "randomises", + "realize": "realise", + "realizes": "realises", + "recognize": "recognise", + "recognizes": "recognises", + "summarize": "summarise", + "summarizes": "summarises", + "theater": "theatre", + "theaters": "theatres", + "toward": "towards", + "traveled": "travelled", + "traveler": "traveller", + "traveling": "travelling", + "utilize": "utilise", + "utilizes": "utilises" +} diff --git a/src/lib/i18n/locales/languages.json b/src/lib/i18n/locales/languages.json index 4c7128e4c..235a91903 100644 --- a/src/lib/i18n/locales/languages.json +++ b/src/lib/i18n/locales/languages.json @@ -1,4 +1,8 @@ [ + { + "code": "en-GB", + "title": "English (GB)" + }, { "code": "en-US", "title": "English (US)" From 0a403eb129404122fab349d8eab2399a42f88804 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 6 Apr 2024 22:43:48 -0700 Subject: [PATCH 2/2] Update languages.json --- src/lib/i18n/locales/languages.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/i18n/locales/languages.json b/src/lib/i18n/locales/languages.json index 235a91903..6984c0a77 100644 --- a/src/lib/i18n/locales/languages.json +++ b/src/lib/i18n/locales/languages.json @@ -1,8 +1,4 @@ [ - { - "code": "en-GB", - "title": "English (GB)" - }, { "code": "en-US", "title": "English (US)" @@ -19,6 +15,10 @@ "code": "de-DE", "title": "Deutsch" }, + { + "code": "en-GB", + "title": "English (GB)" + }, { "code": "es-ES", "title": "Spanish" @@ -83,4 +83,4 @@ "code": "zh-TW", "title": "Chinese (Traditional)" } -] +] \ No newline at end of file