Merge pull request #1734 from kiprasmel/lt-lang-upd-1

update lt-LT lang + create README how to update translations
This commit is contained in:
Mike Cao 2023-01-13 17:38:12 -08:00 committed by GitHub
commit 05c7196bc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

19
lang/README.md Normal file
View File

@ -0,0 +1,19 @@
### how to update
1. find missing keys:
```sh
MINE=<your-lang>.json
BASE=en-US.json
jq 'keys' < $BASE > base
jq 'keys' < $MINE > mine
diff -c2 base mine
# will print missing keys.
# add them to $MINE
```
2. for each key, search in your editor where it is used, and additionally visit the [live demo website](https://app.umami.is/share/8rmHaheU/umami.is), to better understand the usage context.
3. translate. though, if you don't fully understand the context of how a translation is used, note this in the PR review.

View File

@ -62,6 +62,7 @@
"label.username": "Vartotojo vardas",
"label.view-details": "Peržiūrėti detaliau",
"label.websites": "Svetainės",
"label.yesterday": "Vakar",
"message.active-users": "{x, plural, =0 {# aktyvių vartotojų} zero {# aktyvių vartotojų} one {# aktyvus vartotojas} other {# aktyvūs vartotojai}}",
"message.confirm-delete": "Ar esate tikri, jog norite ištrinti svetainę {target}?",
"message.confirm-reset": "Are esate tikri, jog norite atstatyti svetainės {target} statistikos duomenis?",