typora / Typora-i18n

Translating resources for Typora
171 stars 179 forks source link

it-IT: add missing resources as of June 2022, change some existing ones #341

Closed BrainCrumbz closed 2 years ago

BrainCrumbz commented 2 years ago

Hi all.
We wanted to add translations of some untranslated items we noticed in Export menu.
Then we understood (see #337 #338) that Base resources had new keys that italian resources were missing. So we bit the bullet and decided to add all missing keys with their translations.
In the process we also changed a couple of existing resources as well, but that was accidental.

HTH

BrainCrumbz commented 2 years ago

Not sure this can help others, or maybe written in some docs:

in order to find out which resource keys changed between a base resource file and a (stale) translated one, we ran the following AWK unix shell commands, e.g. for Welcome resources:

gawk 'BEGIN { FS=" = " } { print $1 }' Base.lproj/Welcome.strings > base-keys
gawk 'BEGIN { FS=" = " } { print $1 }' it-IT.lproj/Welcome.strings > it-keys

and then compared/diff'ed those two files.