From 85033d5d834763d89627ca726c59b8d513b78d96 Mon Sep 17 00:00:00 2001 From: geeksville Date: Fri, 29 May 2020 13:58:18 -0700 Subject: [PATCH] Thanks to @NEKLAN for Japanese translations! --- app/build.gradle | 6 +-- app/src/main/res/values-ja/strings.xml | 58 ++++++++++++++++++++++++++ build.gradle | 2 +- 3 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 app/src/main/res/values-ja/strings.xml diff --git a/app/build.gradle b/app/build.gradle index e46732bb0..aae0535a2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -35,7 +35,7 @@ android { defaultConfig { // We have to list all translated languages here, because some of our libs have bogus languages that google play // doesn't like and we need to strip them (gr) - resConfigs "en", "de", "es", "fi", "fr", "ga", "it", "nl", "ru", "sv", "zh" + resConfigs "en", "de", "es", "fi", "fr", "ga", "it", "ja", "nl", "ru", "sv", "zh" // Needed to make mapbox work inside the firebase testlab - FIXME, alas, still doesn't work ndk { @@ -91,7 +91,7 @@ dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.1.0' - implementation 'androidx.core:core-ktx:1.2.0' + implementation 'androidx.core:core-ktx:1.3.0' implementation "androidx.fragment:fragment-ktx:1.2.4" implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' @@ -118,7 +118,7 @@ dependencies { // For now I'm not using javalite, because I want JSON printing //implementation 'com.google.protobuf:protobuf-java:3.11.1' //implementation 'com.google.protobuf:protobuf-java-util:3.11.1' - implementation 'com.google.protobuf:protobuf-javalite:3.12.1' + implementation 'com.google.protobuf:protobuf-javalite:3.12.2' // mapbox implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:9.1.0' diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml new file mode 100644 index 000000000..701138484 --- /dev/null +++ b/app/src/main/res/values-ja/strings.xml @@ -0,0 +1,58 @@ + + + 設定 + チャンネル名 + チャンネルオプション + シェアボタン + QRコード + 削除 + 接続状態 + アプリアイコン + Nanashisan + プロフィール画像 + 拝啓 時下ますますのご清栄のこととお慶び申し上げます。 + メッセージを入力 + このスマートフォンはMeshtasticデバイスとペアリングされていません。デバイスとペアリングしてユーザー名を設定してください。\n\nこのオープンソースアプリケーションはアルファテスト中です。問題を発見した場合はBBSに書き込んでください。 meshtastic.discourse.group \n\n詳しくはWEBページをご覧ください。 www.meshtastic.org + ユーザー名削除 + ユーザー名 + 匿名の診断情報と不具合報告 + Meshtasticデバイスを検索中... + このアプリはBluetooth通信が必要です。無線とネットワーク設定によりBluetoothをオンにしてください。 + エラー - このアプリはBluetooth通信が必要です。 + ペアとして設定中 + ペアに設定できませんでした + メッシュネットワーク参加URL + OK + キャンセル + チャンネルの変更 + チャンネルを変更しますか?新しいチャンネル設定をシェアするまで他のノードとの通信はすべて停止します。 + 新しいチャンネルURLを受信しました + \'%s\チャンネルに変更しますか? + 解析がオフになっています。残念ながら地図プロバイダ(mapbox)は無料プランの場合、解析をオンにする必要があります。マップビューをオフにしました。\n\n + マップを表示したい場合は設定パネルで解析をオンにする必要があります(また当分の間アプリを強制的に再起動する必要があります)。\n\n + mapboxの有償プラン(または代替地図プロバイダ)を検討される方は meshtastic.discourse.group に書き込んでください。 + 必要なアクセス権限が拒否されているため、アプリが正常に動作しません。設定により権限を許可してください。 + Meshtasticデバイスはスリープ状態です。チャンネルを変更できませんでした。 + バグ報告 + バグの報告 + 不具合報告として診断情報を送信しますか?送信した場合は meshtastic.discourse.group に検証できる報告を書き込んでください。 + 報告 + Meshtasticデバイス選択 + Meshtasticデバイスとペアリングされています。%s + Meshtasticデバイスとペアリングされていません。 + Meshtasticデバイス変更 + MeshtasticデバイスをBluetooth設定によりペアリングしてください。 + ペアリングが完了しました。サービスを開始します。 + ペアに設定できませんでした。もう一度選択してください。 + 位置情報が無効なため、メッシュネットワークで現在地を特定できません。 + シェア + 切断 + スリープ + 接続済み:%s人中%sオンライン + ネットワーク内のノードリスト + ファームウェアアップデート + Meshtasticデバイスに接続しました。(%s) + 接続されていません。下記のMeshtasticデバイスを選択してください。 + 接続しましたが、Meshtasticデバイスはスリープ状態です。 + %s更新 + \ No newline at end of file diff --git a/build.gradle b/build.gradle index 98f3d8373..029306a0c 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:4.0.0-rc01' + classpath 'com.android.tools.build:gradle:4.0.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"