From ddf05d7b36887e4327439f4dbdaa320d89d4800c Mon Sep 17 00:00:00 2001 From: Matteo Guglielmetti Date: Mon, 21 Oct 2019 09:02:20 +0200 Subject: [PATCH] Adds last translations, updates README with percentages --- README.md | 5 +++-- ui/src/translations/it.ts | 2 ++ ui/translation_report.ts | 18 ++++++++++-------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e8307a3a..a945a9d2 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ Lemmy is free, open-source software, meaning no advertising, monetizing, or vent If you'd like to add translations, take a look a look at the [English translation file](ui/src/translations/en.ts). -- Languages supported: English (`en`), Chinese (`zh`), Dutch (`nl`), Esperanto (`eo`), French (`fr`), Spanish (`es`), Swedish (`sv`), German (`de`), Russian (`ru`). +- Languages supported: English (`en`), Chinese (`zh`), Dutch (`nl`), Esperanto (`eo`), French (`fr`), Spanish (`es`), Swedish (`sv`), German (`de`), Russian (`ru`), Italian (`it`). lang | done | missing --- | --- | --- @@ -206,10 +206,11 @@ de | 81% | cross_posts,cross_post,users,number_of_communities,preview,upload_ima eo | 90% | number_of_communities,preview,upload_image,formatting_help,view_source,sticky,unsticky,stickied,delete_account,delete_account_confirm,banned,creator,number_online,replies,mentions,theme,are_you_sure,yes,no es | 99% | replies,mentions fr | 99% | replies,mentions +it | 100% | nl | 92% | preview,upload_image,formatting_help,view_source,sticky,unsticky,stickied,delete_account,delete_account_confirm,banned,creator,number_online,replies,mentions,theme ru | 86% | cross_posts,cross_post,number_of_communities,preview,upload_image,formatting_help,view_source,sticky,unsticky,stickied,delete_account,delete_account_confirm,banned,creator,number_online,replies,mentions,recent_comments,theme,monero,by,to,transfer_community,transfer_site,are_you_sure,yes,no sv | 99% | replies,mentions -zh | 83% | cross_posts,cross_post,users,number_of_communities,preview,upload_image,formatting_help,view_source,sticky,unsticky,settings,stickied,delete_account,delete_account_confirm,banned,creator,number_online,replies,mentions,recent_comments,nsfw,show_nsfw,theme,monero,by,to,transfer_community,transfer_site,are_you_sure,yes,no +zh | 83% | cross_posts,cross_post,users,number_of_communities,preview,upload_image,formatting_help,view_source,sticky,unsticky,settings,stickied,delete_account,delete_account_confirm,banned,creator,number_online,replies,mentions,recent_comments,nsfw,show_nsfw,theme,monero,by,to,transfer_community,transfer_site,are_you_sure,yes,noMenzioniMenzioni If you'd like to update this report, run: diff --git a/ui/src/translations/it.ts b/ui/src/translations/it.ts index 6c03c1fa..db22eeb4 100644 --- a/ui/src/translations/it.ts +++ b/ui/src/translations/it.ts @@ -100,6 +100,8 @@ export const it = { mark_all_as_read: 'segna tutti come letti', type: 'Tipo', unread: 'Non letti', + replies: 'Risposte', + mentions: 'Menzioni', reply_sent: 'Risposta inviata', search: 'Cerca', overview: 'Panoramica', diff --git a/ui/translation_report.ts b/ui/translation_report.ts index 8e579f27..da4cd3aa 100644 --- a/ui/translation_report.ts +++ b/ui/translation_report.ts @@ -7,16 +7,18 @@ import { fr } from './src/translations/fr'; import { sv } from './src/translations/sv'; import { ru } from './src/translations/ru'; import { nl } from './src/translations/nl'; +import { it } from './src/translations/it'; let files = [ - {t: de, n: 'de'}, - {t: eo, n: 'eo'}, - {t: es, n: 'es'}, - {t: fr, n: 'fr'}, - {t: nl, n: 'nl'}, - {t: ru, n: 'ru'}, - {t: sv, n: 'sv'}, - {t: zh, n: 'zh'}, + {t: de, n: 'de'}, + {t: eo, n: 'eo'}, + {t: es, n: 'es'}, + {t: fr, n: 'fr'}, + {t: it, n: 'it'}, + {t: nl, n: 'nl'}, + {t: ru, n: 'ru'}, + {t: sv, n: 'sv'}, + {t: zh, n: 'zh'}, ]; let masterKeys = Object.keys(en.translation); -- 2.44.1