Commit 9f19757f authored by fallenstardust's avatar fallenstardust

strings

parent ebfa29eb
...@@ -22,6 +22,17 @@ ...@@ -22,6 +22,17 @@
<pre> <pre>
更新: 更新:
1.更新ygo内核; 1.更新ygo内核;
2.新卡SD35+18SP;
3.额外卡库脚本可开启优先使用;
4.2019.1禁卡表(OCG);
5.2018.12禁卡表(TCG);
优化:
1.完善机型适配;
2.完善权限申请提示;
3.改进屏幕校准;
新增:
1.崩溃产生日志在ygocore/log;
2.长按萌卡平台按钮可看到调试日志;
</pre> </pre>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR"/> <uses-permission android:name="android.permission.EXPAND_STATUS_BAR"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-sdk <uses-sdk
......
...@@ -9,6 +9,7 @@ import android.provider.Settings; ...@@ -9,6 +9,7 @@ import android.provider.Settings;
import android.support.v4.app.NotificationManagerCompat; import android.support.v4.app.NotificationManagerCompat;
import cn.garymb.ygomobile.App; import cn.garymb.ygomobile.App;
import cn.garymb.ygomobile.lite.R;
import cn.garymb.ygomobile.ui.plus.DialogPlus; import cn.garymb.ygomobile.ui.plus.DialogPlus;
public class PermissionUtil { public class PermissionUtil {
...@@ -21,10 +22,10 @@ public class PermissionUtil { ...@@ -21,10 +22,10 @@ public class PermissionUtil {
public static DialogPlus isNotificationPermission(Context context){ public static DialogPlus isNotificationPermission(Context context){
if(!isNotificationListenerEnabled(context)){ if(!isNotificationListenerEnabled(context)){
DialogPlus dialog = new DialogPlus(context); DialogPlus dialog = new DialogPlus(context);
dialog.setTitle("权限缺失提示"); dialog.setTitle(R.string.tip);
dialog.setMessage("喵没给通知权限呢~\n开启通知权限可以快速关闭决斗助手功能"); dialog.setMessage(R.string.EXPAND_STATUS_BAR);
dialog.setLeftButtonText("去开启"); dialog.setLeftButtonText(R.string.to_open);
dialog.setRightButtonText("取消"); dialog.setRightButtonText(R.string.Cancel);
dialog.setLeftButtonListener(new DialogInterface.OnClickListener() { dialog.setLeftButtonListener(new DialogInterface.OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialogInterface, int i) { public void onClick(DialogInterface dialogInterface, int i) {
...@@ -57,10 +58,10 @@ public class PermissionUtil { ...@@ -57,10 +58,10 @@ public class PermissionUtil {
if (!Settings.canDrawOverlays(context)) { if (!Settings.canDrawOverlays(context)) {
if (isIntentPermission) { if (isIntentPermission) {
DialogPlus dialog = new DialogPlus(context); DialogPlus dialog = new DialogPlus(context);
dialog.setTitle("权限缺失提示"); dialog.setTitle(R.string.tip);
dialog.setMessage("喵没给悬浮窗权限呢~\n开启悬浮窗权限可进行快速加入决斗房间"); dialog.setMessage(R.string.SYSTEM_ALERT_WINDOW);
dialog.setLeftButtonText("去开启"); dialog.setLeftButtonText(R.string.to_open);
dialog.setRightButtonText("取消"); dialog.setRightButtonText(R.string.Cancel);
dialog.setLeftButtonListener(new DialogInterface.OnClickListener() { dialog.setLeftButtonListener(new DialogInterface.OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialogInterface, int i) { public void onClick(DialogInterface dialogInterface, int i) {
......
...@@ -210,6 +210,9 @@ ...@@ -210,6 +210,9 @@
\n사용자 지역에 적합한 ping이 낮은 서버를 추가합니다. \n사용자 지역에 적합한 ping이 낮은 서버를 추가합니다.
\n아래의 버튼을 사용하여 "애플리케이션 관리"를 엽니다 \n아래의 버튼을 사용하여 "애플리케이션 관리"를 엽니다
\n그후 YGOMobile의 다른앱 표시 권한이 혀용되어 있는지 확인하십시오.</string> \n그후 YGOMobile의 다른앱 표시 권한이 혀용되어 있는지 확인하십시오.</string>
<string name="EXPAND_STATUS_BAR">알림을 켜려면 알림 권한이 필요합니다.
\n기능을 제대로 사용하려면 알림 권한이 필요합니다.</string>
<string name="SYSTEM_ALERT_WINDOW">다른 앱 위에 표시 권한이 필요합니다.\n기능을 제대로 사용하려면 다른 앱 위에 표시 권한이 필요합니다.</string>
<string name="OpenTIP">빠른 사용법</string> <string name="OpenTIP">빠른 사용법</string>
<string name="Open_Alert_Window">애플리케이션 관리</string> <string name="Open_Alert_Window">애플리케이션 관리</string>
<string name="Function_Menu">메뉴</string> <string name="Function_Menu">메뉴</string>
...@@ -235,4 +238,5 @@ ...@@ -235,4 +238,5 @@
<string name="masterrule">마스터즈 룰</string> <string name="masterrule">마스터즈 룰</string>
<string name="tutorial">가이드 북 보기</string> <string name="tutorial">가이드 북 보기</string>
<string name="about_help">원하는 내용을 클릭합니다.</string> <string name="about_help">원하는 내용을 클릭합니다.</string>
<string name="to_open">열기</string>
</resources> </resources>
...@@ -210,6 +210,8 @@ ...@@ -210,6 +210,8 @@
\n之后快捷加房时就会加入置顶的服务器 \n之后快捷加房时就会加入置顶的服务器
\n使用此功能须开启本软件悬浮窗 \n使用此功能须开启本软件悬浮窗
\n并确保本软件后台运行中</string> \n并确保本软件后台运行中</string>
<string name="EXPAND_STATUS_BAR">需要开启通知权限\n开启通知权限才能正常使用功能</string>
<string name="SYSTEM_ALERT_WINDOW">需要开启悬浮窗权限\n开启悬浮窗权限才能正常使用功能</string>
<string name="OpenTIP">快捷加房使用方法</string> <string name="OpenTIP">快捷加房使用方法</string>
<string name="Open_Alert_Window">去打开悬浮窗</string> <string name="Open_Alert_Window">去打开悬浮窗</string>
<string name="Function_Menu">功能菜单</string> <string name="Function_Menu">功能菜单</string>
...@@ -235,4 +237,5 @@ ...@@ -235,4 +237,5 @@
<string name="masterrule">学习大师规则</string> <string name="masterrule">学习大师规则</string>
<string name="tutorial">查看软件教程</string> <string name="tutorial">查看软件教程</string>
<string name="about_help">点击您想要了解的内容</string> <string name="about_help">点击您想要了解的内容</string>
<string name="to_open">去开启</string>
</resources> </resources>
...@@ -210,6 +210,8 @@ ...@@ -210,6 +210,8 @@
\nthen join helper will acquiescently start in it \nthen join helper will acquiescently start in it
\npls click to APP permission to find me and open the "Pop-ups" \npls click to APP permission to find me and open the "Pop-ups"
\nand keep the soft run in the background</string> \nand keep the soft run in the background</string>
<string name="EXPAND_STATUS_BAR">Apply expand status bar\n then soft will work normally</string>
<string name="SYSTEM_ALERT_WINDOW">Apply Display over other APPs\n then soft will work normally</string>
<string name="OpenTIP">about Quick Join in Game</string> <string name="OpenTIP">about Quick Join in Game</string>
<string name="Open_Alert_Window">To Open Pop-ups</string> <string name="Open_Alert_Window">To Open Pop-ups</string>
<string name="Function_Menu">MENU</string> <string name="Function_Menu">MENU</string>
...@@ -235,4 +237,5 @@ ...@@ -235,4 +237,5 @@
<string name="masterrule">Master Rule</string> <string name="masterrule">Master Rule</string>
<string name="tutorial">Soft Tutorial</string> <string name="tutorial">Soft Tutorial</string>
<string name="about_help">Click button which you want to know</string> <string name="about_help">Click button which you want to know</string>
<string name="to_open">to Open</string>
</resources> </resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment