Skip to content

Commit

Permalink
japanese translation by copilot, reordering of language list
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalmi committed Feb 5, 2023
1 parent 6143b54 commit 05196e9
Show file tree
Hide file tree
Showing 17 changed files with 190 additions and 42 deletions.
3 changes: 2 additions & 1 deletion scripts/CsvToTranslations.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ let csv = fs.readFileSync('translations.csv', 'utf8');
let lines = parse(csv, {
trim: true,
quote: '"',
relax_column_count: true,
});

// Get the list of available languages
let languages = lines[0].map((l) => l.trim());
let languages = lines[0];
languages.shift();

// Create an object to store the translations
Expand Down
15 changes: 8 additions & 7 deletions src/js/translations/Translation.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@ import React from "react";

const AVAILABLE_LANGUAGES = {
en: 'English',
'zh-cn': '简体中文',
es: 'Español',
fr: 'Français',
ru: 'Русский',
de: 'Deutsch',
fr: 'Français',
it: 'Italiano',
ru: 'Русский',
ja: '日本語',
ko: '한국어',
id: 'Indonesia',
'pt-BR': 'Português (Brasil)',
fi: 'Suomi',
ur: 'اردو',
'zh-cn': '简体中文',
ko: '한국어',
he: 'עברית',
fi: 'Suomi',
'cs-CZ': 'Čeština',
'lt': 'Lietuvių',
'bg': 'Български',
'id': 'Indonesia',
'lt': 'Lietuvių',
};

let AVAILABLE_LANGUAGE_KEYS = Object.keys(AVAILABLE_LANGUAGES);
Expand Down
43 changes: 42 additions & 1 deletion src/js/translations/bg.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ export default {
"connected_relays": "свързани релета",
"copied": "преписано",
"copy": "препиши",
"copy_ID": "копирай ID",
"copy_link": "копирай линк",
"copy_raw_data": "копирай сурови данни",
"copy_user_ID": "копирай потребителски ID",
"copy_your_invite_link": "копирай своят линк за покана",
"create": "създай",
"dark": "тъмно",
"delete": "изтрий",
Expand All @@ -28,12 +33,17 @@ export default {
"donate": "дари",
"edit_profile": "редактирай профил",
"enable": "активирай",
"enable_public_peer_discovery": "активирай общественото откриване",
"enable_webtorrent": "активирай webtorrent",
"everyone": "всички",
"follow_someone_info": "следи някого информация",
"followers": "последователи",
"following": "следя",
"follows": "следи",
"follows_you": "следи тебе",
"follow_btn": "следи",
"unfollow_btn": "прекрати да следиш",
"following_btn": "seka",
"friends_following": "приятели следят",
"from": "от",
"get_notified_new_messages": "получи известие нови съобщения",
Expand Down Expand Up @@ -90,5 +100,36 @@ export default {
"resend_to_relays": "препрати на релета",
"restore_defaults": "възстанови пъроначални настройки",
"save_backup_of_privkey_first": "запази резервно копие на тайния ключ първо",
"yesterday": "вчера"
"save_relays_publicly": "запази релета публично",
"scan_private_key_qr_code": "сканирай QR код на тайния ключ",
"scan_qr_code": "сканирай QR код",
"search": "търсене",
"send_message": "изпрати съобщение",
"settings": "настройки",
"show_attachment": "покажи прикачения файл",
"show_beta_features": "покажи бета функции",
"show_files": "покажи файлове",
"show_more": "покажи повече",
"show_new_messages": "покажи {n} нови съобщения",
"show_or_scan_QR_code": "покажи или сканирай QR код",
"show_qr_code": "покажи QR код",
"show_thread": "покажи нишка",
"switch_account": "превключи профил",
"system_default": "система по подразбиране",
"yesterday": "вчера",
"today": "днес",
"translate": "преведи",
"turn_on_desktop_notifications": "активирай десктоп уведомления",
"type_a_message": "пиши съобщение",
"typing": "писане...",
"use_picture": "използвай снимка",
"video_call": "видео обаждане",
"visibility": "видимост",
"webrtc_connection_options": "WebRTC връзка опции",
"whats_on_your_mind": "какво мислиш",
"whats_your_name": "как се казваш",
"write_your_reply": "напиши отговор",
"you": "ти",
"your_public_address": "твоят публичен адрес",
"your_qr_code": "твоят QR код"
};
2 changes: 0 additions & 2 deletions src/js/translations/cs-CZ.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ export default {
"scan_qr_code": "Skenuj QR kód",
"search": "Hledat",
"send_message": "Poslat zprávu",
"set_up_your_own_peer": "Nastav partnera",
"settings": "Vyhledávat",
"show_attachment": "Zobrazit přílohy",
"show_beta_features": "Zobrazit funkce Beta",
Expand All @@ -127,7 +126,6 @@ export default {
"video_call": "Video hovor",
"visibility": "Viditelnost",
"webrtc_connection_options": "Možnosti spojení WebRTC",
"webrtc_info": "Použít WebRTC, když jste za NATem.",
"whats_on_your_mind": "Na co myslíš?",
"whats_your_name": "Jak se jmenuješ?",
"write_your_reply": "Napiš svou odpověď",
Expand Down
3 changes: 0 additions & 3 deletions src/js/translations/de.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ export default {
"scan_private_key_qr_code": "Scan einen privaten Schlüssel QR code",
"scan_qr_code": "QR Code scannen",
"search": "Suchen",
"search_posts": "Beiträge suchen",
"send_message": "Nachricht senden",
"set_up_your_own_peer": "Eigenen Peer einrichten",
"settings": "Einstellungen",
"show_attachment": "Anhang anzeigen",
"show_beta_features": "Beta-Funktionen anzeigen",
Expand All @@ -129,7 +127,6 @@ export default {
"video_call": "Video Anruf",
"visibility": "Deine Beiträge, Antworten und Likes werden nur Ihren Followern und deren Netzwerk angezeigt.",
"webrtc_connection_options": "WebRTC Verbindungsoptionen",
"webrtc_info": "WebRTC ist für Videoanrufe benutzt. Wenn Sie hinter einem NAT sind",
"whats_on_your_mind": "Was gibt's Neues?",
"whats_your_name": "Wie heißt du?",
"write_your_reply": "Schreibe deine Antwort",
Expand Down
2 changes: 0 additions & 2 deletions src/js/translations/en.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ export default {
"scan_private_key_qr_code": "Scan private key QR code",
"scan_qr_code": "Scan QR code",
"search": "Search",
"search_posts": "Search posts",
"send_message": "Send message",
"set_up_your_own_peer": "Set up your own peer",
"settings": "Settings",
"show_attachment": "Show Attachment",
"show_beta_features": "Show Beta Features",
Expand Down
3 changes: 0 additions & 3 deletions src/js/translations/es.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ export default {
"scan_private_key_qr_code": "Escanee el código QR de clave privada",
"scan_qr_code": "Escanear código QR",
"search": "Buscar",
"search_posts": "Buscar publicación",
"send_message": "Enviar mensaje",
"set_up_your_own_peer": "Configura tu propio compañero",
"settings": "Configuraciones",
"show_attachment": "Mostrar adjuntos",
"show_beta_features": "Ver funcionalidades en beta",
Expand All @@ -125,7 +123,6 @@ export default {
"use_picture": "Usar foto",
"video_call": "Videollamada",
"webrtc_connection_options": "Opciones de conexión de WebRTC",
"webrtc_info": "Información webrtc",
"whats_on_your_mind": "¿Que hay en tu mente?",
"whats_your_name": "¿Cuál es tu nombre?",
"write_your_reply": "Escribe tu respuesta",
Expand Down
3 changes: 0 additions & 3 deletions src/js/translations/fi.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ export default {
"scan_private_key_qr_code": "Skannaa salaisen avaimen QR-koodi",
"scan_qr_code": "Skannaa QR-koodi",
"search": "Etsi",
"search_posts": "Etsi viestejä",
"send_message": "Lähetä viesti",
"set_up_your_own_peer": "Pystytä oma yhteyspisteesi",
"settings": "Asetukset",
"show_attachment": "Näytä liite",
"show_beta_features": "Näytä beta-ominaisuudet",
Expand All @@ -129,7 +127,6 @@ export default {
"video_call": "Videopuhelu",
"visibility": "Näkyvyys",
"webrtc_connection_options": "WebRTC-yhteysasetukset",
"webrtc_info": "WebRTC-info",
"whats_on_your_mind": "Mitä mietit?",
"whats_your_name": "Mikä on nimesi?",
"write_your_reply": "Kirjoita vastauksesi",
Expand Down
2 changes: 0 additions & 2 deletions src/js/translations/fr.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export default {
"scan_private_key_qr_code": "Scannez le code QR de la clé privée",
"search": "Recherche",
"send_message": "Envoyer un message",
"set_up_your_own_peer": "Paramétrez votre propre pair",
"settings": "Réglages",
"show_qr_code": "Voir Code QR",
"switch_account": "Changer de compte",
Expand All @@ -75,6 +74,5 @@ export default {
"use_picture": "Utiliser votre picture",
"video_call": "Appel vidéo",
"webrtc_connection_options": "Options de connection WebRTC",
"webrtc_info": "WebRTC is used for video calls. If you're behind a NAT",
"whats_your_name": "Quel est votre nom ?"
};
1 change: 0 additions & 1 deletion src/js/translations/it.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ export default {
"use_picture": "Usa foto",
"video_call": "Chiamata video",
"webrtc_connection_options": "Opzioni di connessione WebRTC",
"webrtc_info": "you might need to specify a TURN server here",
"whats_on_your_mind": "cosa stai pensando",
"whats_your_name": "Quale è il tuo nome??",
"write_your_reply": "scrivi la tua risposta",
Expand Down
135 changes: 135 additions & 0 deletions src/js/translations/ja.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
export default {
"about": "アプリについて",
"account": "アカウント",
"add": "追加",
"add_contact_or_create_group": "連絡先を追加またはグループを作成",
"all_messages": "すべてのメッセージ",
"alternatively": "代わりに",
"answer": "応答",
"appearance": "外観",
"application_security_warning": "アプリケーションのセキュリティ警告",
"autoplay_webtorrent_videos": "ウェブトレントビデオを自動再生",
"back": "戻る",
"blocked_users": "ブロックされたユーザー",
"call_ended": "通話終了",
"call_rejected": "通話拒否",
"calling": "通話中",
"cancel": "キャンセル",
"chat_settings": "チャット設定",
"color_scheme": "色調",
"connected_relays": "接続されたリレー",
"copied": "コピー済み",
"copy": "コピー",
"copy_ID": "コピーID",
"copy_link": "コピーリンク",
"copy_raw_data": "コピー元データ",
"copy_user_ID": "コピーユーザーID",
"copy_your_invite_link": "コピーあなたの招待リンク",
"create": "作成",
"dark": "ダーク",
"delete": "削除",
"delete_chat": "チャット削除",
"disable": "無効にする",
"donate": "寄付",
"edit_profile": "プロフィール編集",
"enable": "有効にする",
"enable_public_peer_discovery": "公開ピア検出を有効にする",
"enable_webtorrent": "Webtorrentを有効にする",
"everyone": "すべての人",
"follow_someone_info": "フォローすると、その人のネットワークからのコンテンツが表示されます!",
"followers": "フォロワー",
"following": "フォロー中",
"follows": "フォロー",
"follows_you": "フォローしている",
"follow_btn": "フォロー",
"unfollow_btn": "フォロー解除",
"following_btn": "следя",
"friends_following": "フォロー中の友達",
"from": "から",
"get_notified_new_messages": "新しいメッセージを受信する",
"give_your_profile_link_to_someone": "プロフィールリンクを共有する",
"global_feed": "グローバル",
"group_name": "グループ名",
"have_someones_invite_link": "あなたは誰かの招待リンクを持っていますか?",
"if_other_person_doesnt_see_message": "اگر دیگر شخص پیغام نہیں دیکھتا ہے",
"incoming_call": "着信",
"language": "言語",
"last_active": "最後にアクティブ",
"light": "明るい",
"likes": "いいね",
"log_out": "ログアウト",
"logout_confirmation_info": "ログアウト確認情報",
"looking_up_message": "メッセージを検索中...",
"maximum_number_of_peer_connections": "最大ピア接続数",
"messages": "メッセージ",
"mentions_only": "メンションのみ",
"new_chat": "新しいチャット",
"new_group": "新しいグループ",
"new_relay_url": "新しいリレーURL",
"new_user_go": "新しいユーザーに進む",
"no_contacts_in_list": "リストに連絡先がありません",
"no_followers_yet": "フォロワーがいません",
"no_followers_yet_info": "フォロワーがいません情報",
"no_notifications_yet": "通知がまだありません",
"none": "なし",
"nostr_extension_login": "ブラウザ拡張機能でログイン",
"note_to_self": "自分用のノート",
"nothing": "何もない",
"notifications": "通知",
"now": "今すぐ",
"on_call_with": "通話中",
"online": "オンライン",
"otherwise_cant_log_in_again": "そうでないと、このアカウントにログインできなくなります",
"participant_list": "参加者リスト",
"paste_private_key": "秘密鍵を貼り付け",
"paste_their_invite_link": "招待リンクを貼り付け",
"peers": "ピア",
"post": "投稿",
"posts": "投稿",
"private_key_login": "秘密鍵でログイン",
"private_key_warning": "秘密鍵を使用すると、<b>あなたのアカウントにアクセスできます</b>。秘密鍵を<b>他の人に渡したり表示しないでください</b>!",
"profile": "プロフィール",
"public": "公開",
"reject": "拒否",
"remove": "削除",
"remove_attachment": "添付ファイルを削除",
"replies": "返信",
"replying_to": "返信先",
"report (public)": "公開報告",
"reposted": "再投稿",
"resend_to_relays": "リレーに再送信",
"restore_defaults": "デフォルト設定に戻す",
"save_backup_of_privkey_first": "プライベートキーのバックアップを保存してください!",
"save_relays_publicly": "リレーを公開保存",
"scan_private_key_qr_code": "プライベートキーのQRコードをスキャン",
"scan_qr_code": "QRコードをスキャン",
"search": "検索",
"send_message": "メッセージを送信",
"settings": "設定",
"show_attachment": "添付ファイルを表示",
"show_beta_features": "ベータ版の機能を表示",
"show_files": "ファイルを表示",
"show_more": "もっと表示",
"show_new_messages": "新しいメッセージを表示",
"show_or_scan_QR_code": "QRコードを表示またはスキャン",
"show_qr_code": "QRコードを表示",
"show_thread": "スレッドを表示",
"switch_account": "アカウントを切り替え",
"system_default": "システムデフォルト",
"yesterday": "昨日",
"today": "今日",
"translate": "翻訳",
"turn_on_desktop_notifications": "デスクトップ通知をオンにする",
"type_a_message": "メッセージを入力",
"typing": "タイピング中...",
"use_picture": "写真を使用",
"video_call": "ビデオ通話",
"visibility": "可視性",
"webrtc_connection_options": "WebRTC接続オプション",
"whats_on_your_mind": "何を考えているのですか",
"whats_your_name": "あなたの名前は何ですか",
"write_your_reply": "あなたの返信を書いてください",
"you": "あなた",
"your_public_address": "あなたの公開アドレス",
"your_qr_code": "あなたのQRコード"
};
3 changes: 0 additions & 3 deletions src/js/translations/ko.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ export default {
"scan_private_key_qr_code": "프라이빗 키 스캔 QR 코드",
"scan_qr_code": "큐알코드 스캔",
"search": "검색",
"search_posts": "포스트된 글 찾기",
"send_message": "메시지 전송",
"set_up_your_own_peer": "당신의 자체 친구 설정",
"settings": "설정",
"show_attachment": "유첨 보기",
"show_beta_features": "베타 기능 보기",
Expand All @@ -126,7 +124,6 @@ export default {
"use_picture": "사진 사용",
"video_call": "화상채팅",
"webrtc_connection_options": "웹 알티씨 연결 선택사항",
"webrtc_info": "웹 알티씨 정보",
"whats_on_your_mind": "무슨 생각 중이신가요?",
"whats_your_name": "이름?",
"write_your_reply": "댓글달기",
Expand Down
8 changes: 3 additions & 5 deletions src/js/translations/lt.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export default {
"scan_qr_code": "skanuoti QR kodą",
"search": "ieškoti",
"send_message": "siųsti žinutę",
"set_up_your_own_peer": "sukurti nuosavą [peer]",
"settings": "nustatymai",
"show_attachment": "pridėti prisegtuką",
"show_beta_features": "rodyti beta funkcionalumą",
Expand All @@ -120,15 +119,14 @@ export default {
"translate": "išversti",
"turn_on_desktop_notifications": "įjungti naršyklės nustatymus",
"type_a_message": "rašyti žinutę",
"typing": "rašoma",
"typing": "rašoma...",
"use_picture": "naudoti nuotrauką",
"video_call": "video skambutis",
"visibility": "matomumas",
"webrtc_connection_options": "webRTC ryšio nustatymai",
"webrtc_info": "webRTC informacija",
"whats_on_your_mind": "apie ką galvoji",
"whats_your_name": "koks tavo vardas",
"write_your_reply": "koks tavo atsakymas",
"whats_your_name": "koks tavo vardas?",
"write_your_reply": "koks tavo atsakymas?",
"you": "tuščia",
"your_public_address": "tavo viešas adresas",
"your_qr_code": "tavo QR kodas"
Expand Down
Loading

0 comments on commit 05196e9

Please sign in to comment.