From 585db491997209a4a63b8fe5da770af0a334af81 Mon Sep 17 00:00:00 2001 From: yousaf465 <83491212+yousaf465@users.noreply.github.com> Date: Wed, 22 May 2024 09:36:55 +0500 Subject: [PATCH 1/4] Create ur.json added Urdu translation --- src/assets/localization/languages/ur.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/assets/localization/languages/ur.json diff --git a/src/assets/localization/languages/ur.json b/src/assets/localization/languages/ur.json new file mode 100644 index 0000000..5a737cb --- /dev/null +++ b/src/assets/localization/languages/ur.json @@ -0,0 +1,11 @@ +{ + "azimuth": "سمت الراسی", + "dawn": "سویرا", + "dusk": "شام", + "elevation": "بلندی", + "moonrise": "طلوع قمر", + "moonset": "چاند کا غروب ھونا", + "noon": "دوپہر", + "sunrise": "طلوع آفتاب", + "sunset": "غروب آفتاب" +} From 16af21c43c4056f131f084a78b8f6866ad8d4dd4 Mon Sep 17 00:00:00 2001 From: yousaf465 <83491212+yousaf465@users.noreply.github.com> Date: Wed, 22 May 2024 09:47:18 +0500 Subject: [PATCH 2/4] Update ur.json updated urdu translation --- src/assets/localization/languages/ur.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/localization/languages/ur.json b/src/assets/localization/languages/ur.json index 5a737cb..31ed9b2 100644 --- a/src/assets/localization/languages/ur.json +++ b/src/assets/localization/languages/ur.json @@ -4,7 +4,7 @@ "dusk": "شام", "elevation": "بلندی", "moonrise": "طلوع قمر", - "moonset": "چاند کا غروب ھونا", + "moonset": "غروب قمر", "noon": "دوپہر", "sunrise": "طلوع آفتاب", "sunset": "غروب آفتاب" From e69f9d39640c501c2a24ae7ad234fd5c2c9b955c Mon Sep 17 00:00:00 2001 From: Thomas Dietrich Date: Tue, 29 Oct 2024 13:40:20 +0100 Subject: [PATCH 3/4] Update constants.ts --- src/constants.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/constants.ts b/src/constants.ts index 2fe134e..561d4bf 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -32,6 +32,7 @@ import sl from './assets/localization/languages/sl.json' import sv from './assets/localization/languages/sv.json' import tr from './assets/localization/languages/tr.json' import uk from './assets/localization/languages/uk.json' +import ur from './assets/localization/languages/ur.json' import zh_Hans from './assets/localization/languages/zh-Hans.json' import zh_Hant from './assets/localization/languages/zh-Hant.json' import { @@ -146,6 +147,6 @@ export class Constants { static readonly MOON_RADIUS = 14 static readonly LOCALIZATION_LANGUAGES: Record = { - bg, ca, cs, da, de, el, en, es, et, fi, fr, gl, he, hr, hu, is, it, ja, ko, lt, ms, nb, nl, nn, pl, pt, 'pt-BR': ptBR, ro, ru, sk, sl, sv, tr, uk, 'zh-Hans': zh_Hans, 'zh-Hant': zh_Hant + bg, ca, cs, da, de, el, en, es, et, fi, fr, gl, he, hr, hu, is, it, ja, ko, lt, ms, nb, nl, nn, pl, pt, 'pt-BR': ptBR, ro, ru, sk, sl, sv, tr, uk, ur, 'zh-Hans': zh_Hans, 'zh-Hant': zh_Hant } } From 7d06fe99176476a4b06e48aa5deb29a7004d608e Mon Sep 17 00:00:00 2001 From: Thomas Dietrich Date: Tue, 29 Oct 2024 13:40:50 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 40e2bf7..1966102 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,7 @@ Supported options for the `language` setting: - `sv` Swedish - `tr` Turkish - `uk` Ukrainian +- `ur` Urdu - `zh-Hans` Chinese, simplified - `zh-Hant` Chinese, traditional