Skip to content

Commit

Permalink
Update string resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Chipppppppppp committed Jan 27, 2024
1 parent 0afb80e commit 3f4f072
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/io/github/chipppppppppp/lime/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
@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(
Expand Down Expand Up @@ -189,10 +189,10 @@ public void onClick(View view) {

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();
}
});

Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 3f4f072

Please sign in to comment.