Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
dissuade users from typing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault-bilibili committed Feb 14, 2022
1 parent 01897e4 commit f5d69c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<item>添加 2 个参数</item>
</string-array>
<string name="string_text_file_entries">附加文件</string>
<string name="string_text_desc">将会自动添加半角双引号(\"),无需手动添加。\n\"#SS_HOST\"与\"#SS_PORT\"将会被分别替换为Shadowsocks-Android中设置的\"服务器\"与\"远程端口\"。</string>
<string name="string_text_desc">请不要在命令行参数中加入双引号(\"),加了会让Gost无法启动。\n\"#SS_HOST\"与\"#SS_PORT\"将会被分别替换为Shadowsocks-Android中设置的\"服务器\"与\"远程端口\"。</string>
<string name="string_explain_local_encryption">Gost会在本地开一个Shadowsocks服务器,Shadowsocks-Android直接连的就是它。为了避免不必要的开销,一般而言,<b>Shadowsocks-Android</b>本身和<b>Gost的\"-L\"参数</b>都被设为<b>\"none\"无加密模式</b>(如果\"none\"不可用,则换用其他加密方法)——无论如何,<b>两者必须相符</b>才能正常工作。然后Gost会按照\"-F\"参数指定的加密方法来跟远程服务器建立真正的加密连接。</string>
<string name="string_text_files_reminder">必须添加对应的命令行参数(例如: -C config.json)才能让下面的文件内容生效!</string>
<string name="string_delete">删除</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<string name="confirm_del_arg_title">Delete an argument</string>
<string name="confirm_del_arg_msg">Are you sure to delete this argument?</string>
<string name="string_text_cmdargs">Command line arguments</string>
<string name="string_text_desc">You don\'t have to type quotes (\"), they will be added automatically.\n\"#SS_HOST\" and \"#SS_PORT\" will be replaced with \"Server\" and \"Remote port\" set in Shadowsocks-Android respectively.</string>
<string name="string_text_desc">Please don\'t include quotes (\") in the command line arguments, they will make Gost fail to start.\n\"#SS_HOST\" and \"#SS_PORT\" will be replaced with \"Server\" and \"Remote port\" set in Shadowsocks-Android respectively.</string>
<string name="string_explain_local_encryption">Gost sets up a local Shadowsocks server, which Shadowsocks-Android directly connects to. To avoid unnecessary overhead, generally, both <b>Shadowsocks-Android</b> itself and <b>Gost\'s \"-L\" parameter</b> are set to <b>\"none\" encryption</b> (or other encryption method if \"none\" is not available) - <b>anyway, it won\'t work if mismatch.</b> Then, Gost establishes actual encrypted connection to the remote server, the encryption method depends on \"-F\" parameter(s).</string>
<string name="example_cmdarg1" translatable="false">-L</string>
<string name="example_cmdarg2" translatable="false"><![CDATA[ss://none@#SS_LOCAL_HOST:#SS_LOCAL_PORT]]></string>
Expand Down

0 comments on commit f5d69c3

Please sign in to comment.