1
0
mirror of https://github.com/areteruhiro/LIME-beta-hiro.git synced 2025-02-06 13:31:37 +09:00

Update string resources

This commit is contained in:
Chippppp 2024-01-27 17:13:16 +09:00
parent d93758896d
commit 1f1e857e19
3 changed files with 9 additions and 3 deletions

View File

@ -158,7 +158,7 @@ public class Main implements IXposedHookLoadPackage, IXposedHookInitPackageResou
@Override
public void onClick(View view) {
AlertDialog.Builder builder = new AlertDialog.Builder(context)
.setTitle("Options")
.setTitle(moduleContext.getString(R.string.option))
.setCancelable(false);
LinearLayout layout = new LinearLayout(context);
layout.setLayoutParams(new LinearLayout.LayoutParams(
@ -189,10 +189,10 @@ public class Main implements IXposedHookLoadPackage, IXposedHookInitPackageResou
builder.setView(layout);
builder.setPositiveButton("OK", new DialogInterface.OnClickListener() {
builder.setPositiveButton(moduleContext.getString(R.string.ok), new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
Toast.makeText(context.getApplicationContext(), "You need to restart the app", Toast.LENGTH_SHORT).show();
Toast.makeText(context.getApplicationContext(), moduleContext.getString(R.string.need_restart), Toast.LENGTH_SHORT).show();
}
});

View File

@ -7,6 +7,9 @@
<string name="xposed_desc">LINE をクリーンに。</string>
<!-- SettingsActivity -->
<string name="option">設定</string>
<string name="ok">OK</string>
<string name="need_restart">アプリの再起動が必要です</string>
<string name="switch_delete_voom">VOOM アイコンを削除</string>
<string name="switch_delete_wallet">ウォレットアイコンを削除</string>
<string name="switch_distribute_evenly">アイコンを均等に配置</string>

View File

@ -7,6 +7,9 @@
<string name="xposed_desc">Clean LINE.</string>
<!-- SettingsActivity -->
<string name="option">Options</string>
<string name="ok">OK</string>
<string name="need_restart">You need to restart the app</string>
<string name="switch_delete_voom">Delete the VOOM icon</string>
<string name="switch_delete_wallet">Delete the Wallet icon</string>
<string name="switch_distribute_evenly">Distribute the icons evenly</string>