Skip to content

Commit

Permalink
Add Urdu translation (#314)
Browse files Browse the repository at this point in the history
Co-authored-by: yousaf465 <[email protected]>
  • Loading branch information
pkissling and yousaf465 authored Jan 4, 2024
1 parent 3ccadf4 commit b5b0730
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ time_zone: null
## Footnotes

[^1]: Theme used: [lovelace-ios-themes](https://github.com/basnijholt/lovelace-ios-themes).
[^2]: Supported languages: `bg`, `ca`, `cs` `da`, `de`, `el`,`en`, `es`, `et`, `fi`, `fr`, `he`, `hu`, `is`, `it`, `ko`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sl`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`
[^2]: Supported languages: `bg`, `ca`, `cs` `da`, `de`, `el`,`en`, `es`, `et`, `fi`, `fr`, `he`, `hu`, `is`, `it`, `ko`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sl`, `sv`, `th`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-TW`
28 changes: 28 additions & 0 deletions src/localize/languages/ur.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"weather": {
"clear-night": "صاف",
"cloudy": "ابر آلود",
"fog": "دھند",
"hail": "اولے",
"lightning": "گرج چمک",
"lightning-rainy": "گرج چمک کے ساتھ بارش",
"partlycloudy": "جزوی طور پر ابر آلود",
"pouring": "موسلا دھار بارش",
"rainy": "بارش",
"snowy": "برفانی",
"snowy-rainy": "ژالہ باری",
"sunny": "دھوپ",
"windy": "آندھی",
"windy-variant": "تیز آندھی",
"exceptional": "غیر معمولی"
},
"day": {
"1": "پیر",
"2": "منگل",
"3": "بدھ",
"4": "جمعرات",
"5": "جمعہ",
"6": "ہفتہ",
"7": "اتوار"
}
}
2 changes: 2 additions & 0 deletions src/localize/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import * as sv from './languages/sv.json'
import * as th from './languages/th.json'
import * as tr from './languages/tr.json'
import * as uk from './languages/uk.json'
import * as ur from './languages/ur.json'
import * as vi from './languages/vi.json'
import * as zhcn from './languages/zh-cn.json'
import * as zhtw from './languages/zh-tw.json'
Expand Down Expand Up @@ -62,6 +63,7 @@ const languages: any = {
th,
tr,
uk,
ur,
vi,
zhcn,
zhtw
Expand Down

0 comments on commit b5b0730

Please sign in to comment.