Adds last translations, updates README with percentages

This commit is contained in:
Matteo Guglielmetti 2019-10-21 09:02:20 +02:00
parent bab917f1be
commit ddf05d7b36
3 changed files with 15 additions and 10 deletions

5
README.md vendored
View File

@ -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:

View File

@ -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',

View File

@ -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);