From 8daac61f3a30a14f3d5b456f1fad54619c7acb37 Mon Sep 17 00:00:00 2001 From: WeiguangTWK Date: Sun, 10 Dec 2023 15:56:07 +0800 Subject: [PATCH 1/8] Added Chinese-Simplified --- app/src/main/res/values-zh-rCN/strings.xml | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 app/src/main/res/values-zh-rCN/strings.xml diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml new file mode 100644 index 0000000..ecd003c --- /dev/null +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -0,0 +1,37 @@ + + + SSTV编码器 + 选择照片 + 拍摄照片 + 保存为波形(.wav)文件 + 停止 + 播放 + 更改图片 + 旋转 + 重置 + 完成 + 编码模式 + 隐私政策 + \n SSTV编码器可以将图片转换为音频\n \n\n为实现转换功能,图像会被暂时载入内存.\n \n\n图像可以被缩放或者选择. 别担心,此软件内对于图像的更改不会被保存. 最后一次使用的图片的路径会保存在软件的本地存储.\n \n\n此外你还可以在图片上附加文字信息. 它也会保存在软件的本地存储.\n \n\n附加的文字信息也会在用户选择的模式下编码入音频中. 选中的模式也会存储在软件中.\n \n\n生成的音频不仅可以在软件内通过按下“播放”按钮进行播放,还可以按下“保存”按钮存储在手机的存储空间. + 关于SSTV编码器 + "\n SSTV Encoder %1$s\n版权所有 2017 Olga Miller\n \n\nSSTV 编码器通过慢扫描电视/Slow Scan Television (SSTV)发送图片.\n \n\n要获取详细信息,请参阅本软件源码: \nhttps://github.com/olgamiller/SSTVEncoder2\n \n\nDISCLAIMER:\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n " + 加载图像时出错 + 定位图像时出错 + 不受支持的内容 + 先前所使用的图像未能被加载 + 这个设备没有摄像头╮(╯-╰)╭ + 未能解析另一个活动 + 另一个活动未能被启动 + 发送邮件 + 好的 + SSTV编码器 - BUG反馈 + 发送BUG反馈 + 粗体 + 斜体 + 下划线 + 字体颜色 + 下划线颜色 + 字体大小 + 字体 + 文本 + \ No newline at end of file From f9a48b5274ca0d66de7cb84b21db06d4728b3411 Mon Sep 17 00:00:00 2001 From: WeiguangTWK Date: Sun, 10 Dec 2023 15:56:28 +0800 Subject: [PATCH 2/8] Check some untranslatable strings --- app/src/main/res/values/strings.xml | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f5bbf7e..c56af1f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -11,21 +11,21 @@ Reset Done Modes - Martin 1 - Martin 2 - PD 50 - PD 90 - PD 120 - PD 160 - PD 180 - PD 240 - PD 290 - Scottie 1 - Scottie 2 - Scottie DX - Robot 36 - Robot 72 - Wraase SC2 180 + Martin 1 + Martin 2 + PD 50 + PD 90 + PD 120 + PD 160 + PD 180 + PD 240 + PD 290 + Scottie 1 + Scottie 2 + Scottie DX + Robot 36 + Robot 72 + Wraase SC2 180 Privacy Policy SSTV Encoder converts images to audio. From 8f0bf4c3ca67f68f6391aa2ce5bfd305333fa6eb Mon Sep 17 00:00:00 2001 From: Weiguangtwk <41853928+WeiguangTWK@users.noreply.github.com> Date: Sun, 10 Dec 2023 18:24:46 +0800 Subject: [PATCH 3/8] Update strings.xml according to comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit App name translation is removed, translation about 'outline' is corrected ps: “轮廓线” means same as “描边” so I choose easy understanding “描边” --- app/src/main/res/values-zh-rCN/strings.xml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index ecd003c..2bdd78e 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -1,6 +1,5 @@ - SSTV编码器 选择照片 拍摄照片 保存为波形(.wav)文件 @@ -12,26 +11,26 @@ 完成 编码模式 隐私政策 - \n SSTV编码器可以将图片转换为音频\n \n\n为实现转换功能,图像会被暂时载入内存.\n \n\n图像可以被缩放或者选择. 别担心,此软件内对于图像的更改不会被保存. 最后一次使用的图片的路径会保存在软件的本地存储.\n \n\n此外你还可以在图片上附加文字信息. 它也会保存在软件的本地存储.\n \n\n附加的文字信息也会在用户选择的模式下编码入音频中. 选中的模式也会存储在软件中.\n \n\n生成的音频不仅可以在软件内通过按下“播放”按钮进行播放,还可以按下“保存”按钮存储在手机的存储空间. - 关于SSTV编码器 - "\n SSTV Encoder %1$s\n版权所有 2017 Olga Miller\n \n\nSSTV 编码器通过慢扫描电视/Slow Scan Television (SSTV)发送图片.\n \n\n要获取详细信息,请参阅本软件源码: \nhttps://github.com/olgamiller/SSTVEncoder2\n \n\nDISCLAIMER:\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n " + \n SSTV Encoder可以将图片转换为音频\n \n\n为实现转换功能,图像会被暂时载入内存.\n \n\n图像可以被缩放或者选择. 别担心,此软件内对于图像的更改不会被保存. 最后一次使用的图片的路径会保存在软件的本地存储.\n \n\n此外你还可以在图片上附加文字信息. 它也会保存在软件的本地存储.\n \n\n附加的文字信息也会在用户选择的模式下编码入音频中. 选中的模式也会存储在软件中.\n \n\n生成的音频不仅可以在软件内通过按下“播放”按钮进行播放,还可以按下“保存”按钮存储在手机的存储空间. + 关于SSTV Encoder + "\n SSTV Encoder %1$s\n版权所有 2017 Olga Miller\n \n\nSSTV Encoder通过慢扫描电视/Slow Scan Television (SSTV)发送图片.\n \n\n要获取详细信息,请参阅本软件源码: \nhttps://github.com/olgamiller/SSTVEncoder2\n \n\nDISCLAIMER:\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n " 加载图像时出错 定位图像时出错 不受支持的内容 先前所使用的图像未能被加载 - 这个设备没有摄像头╮(╯-╰)╭ + 这个设备没有摄像头 未能解析另一个活动 另一个活动未能被启动 发送邮件 好的 - SSTV编码器 - BUG反馈 + SSTV Encoder - BUG反馈 发送BUG反馈 粗体 斜体 - 下划线 + 描边 字体颜色 - 下划线颜色 + 描边颜色 字体大小 字体 文本 - \ No newline at end of file + From b21f5ba89f05b7f2e3ee9512f74399fa087f9c07 Mon Sep 17 00:00:00 2001 From: Weiguangtwk <41853928+WeiguangTWK@users.noreply.github.com> Date: Sun, 10 Dec 2023 18:27:48 +0800 Subject: [PATCH 4/8] Update strings.xml 2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove unnecessary string “别担心” --- app/src/main/res/values-zh-rCN/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 2bdd78e..e66b6bc 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -11,7 +11,7 @@ 完成 编码模式 隐私政策 - \n SSTV Encoder可以将图片转换为音频\n \n\n为实现转换功能,图像会被暂时载入内存.\n \n\n图像可以被缩放或者选择. 别担心,此软件内对于图像的更改不会被保存. 最后一次使用的图片的路径会保存在软件的本地存储.\n \n\n此外你还可以在图片上附加文字信息. 它也会保存在软件的本地存储.\n \n\n附加的文字信息也会在用户选择的模式下编码入音频中. 选中的模式也会存储在软件中.\n \n\n生成的音频不仅可以在软件内通过按下“播放”按钮进行播放,还可以按下“保存”按钮存储在手机的存储空间. + \n SSTV Encoder可以将图片转换为音频\n \n\n为实现转换功能,图像会被暂时载入内存.\n \n\n图像可以被缩放或者选择. 此软件内对于图像的更改不会被保存. 最后一次使用的图片的路径会保存在软件的本地存储.\n \n\n此外你还可以在图片上附加文字信息. 它也会保存在软件的本地存储.\n \n\n附加的文字信息也会在用户选择的模式下编码入音频中. 选中的模式也会存储在软件中.\n \n\n生成的音频不仅可以在软件内通过按下“播放”按钮进行播放,还可以按下“保存”按钮存储在手机的存储空间. 关于SSTV Encoder "\n SSTV Encoder %1$s\n版权所有 2017 Olga Miller\n \n\nSSTV Encoder通过慢扫描电视/Slow Scan Television (SSTV)发送图片.\n \n\n要获取详细信息,请参阅本软件源码: \nhttps://github.com/olgamiller/SSTVEncoder2\n \n\nDISCLAIMER:\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n " 加载图像时出错 From aeebe14341abb15ac3ba7adf2dd8713960ef9e81 Mon Sep 17 00:00:00 2001 From: WeiguangTWK Date: Sat, 16 Dec 2023 20:44:45 +0800 Subject: [PATCH 5/8] Fix: app_name is not translatable --- app/src/main/res/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c56af1f..fb82229 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,6 +1,6 @@ - SSTV Encoder + SSTV Encoder Pick Picture Take Picture Save as WAVE File From 39c69a35ba98b9a713af775739ab03a9cabee792 Mon Sep 17 00:00:00 2001 From: WeiguangTWK Date: Mon, 18 Dec 2023 07:04:47 +0800 Subject: [PATCH 6/8] Update translation --- app/src/main/res/values-zh-rCN/strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index e66b6bc..49cbcc9 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -28,9 +28,9 @@ 粗体 斜体 描边 - 字体颜色 + 颜色 描边颜色 - 字体大小 + 大小 字体 文本 From 1617ec117e255579e740cc36740400bff070d041 Mon Sep 17 00:00:00 2001 From: WeiguangTWK Date: Mon, 18 Dec 2023 07:17:02 +0800 Subject: [PATCH 7/8] Update translation and add new string --- app/src/main/res/values-zh-rCN/strings.xml | 1 + app/src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 49cbcc9..072c642 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -33,4 +33,5 @@ 大小 字体 文本 + 描边大小 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index fb82229..2b3d86a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -61,4 +61,5 @@ Size Font Text + Outline size \ No newline at end of file From 12b17a5276e89e5ccbeaea02b082def696deef39 Mon Sep 17 00:00:00 2001 From: WeiguangTWK Date: Mon, 18 Dec 2023 07:17:25 +0800 Subject: [PATCH 8/8] Apply new string to Edit_text site --- app/src/main/res/layout/activity_edit_text.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/activity_edit_text.xml b/app/src/main/res/layout/activity_edit_text.xml index 07259bd..46d45e9 100644 --- a/app/src/main/res/layout/activity_edit_text.xml +++ b/app/src/main/res/layout/activity_edit_text.xml @@ -91,7 +91,7 @@ + android:text="@string/outline_size" /> + android:text="@string/outline_color" />