use our own strings for OK and Cancel
This commit is contained in:
parent
d9eb8fbbfb
commit
88092d8582
5 changed files with 16 additions and 8 deletions
|
@ -208,8 +208,8 @@ public class ItemsFragment extends android.support.v4.app.Fragment
|
|||
final AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
|
||||
builder.setTitle(getResources().getString(R.string.create_new));
|
||||
builder.setView(newItemView);
|
||||
builder.setPositiveButton(android.R.string.ok, null);
|
||||
builder.setNegativeButton(android.R.string.cancel, null);
|
||||
builder.setPositiveButton(R.string.ok, null);
|
||||
builder.setNegativeButton(R.string.cancel, null);
|
||||
|
||||
final AlertDialog alertDialog = builder.create();
|
||||
alertDialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
|
||||
|
@ -345,8 +345,8 @@ public class ItemsFragment extends android.support.v4.app.Fragment
|
|||
final AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
|
||||
builder.setTitle(getResources().getString(renameString));
|
||||
builder.setView(renameView);
|
||||
builder.setPositiveButton(android.R.string.ok, null);
|
||||
builder.setNegativeButton(android.R.string.cancel, null);
|
||||
builder.setPositiveButton(R.string.ok, null);
|
||||
builder.setNegativeButton(R.string.cancel, null);
|
||||
|
||||
final AlertDialog alertDialog = builder.create();
|
||||
alertDialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
|
||||
|
@ -394,8 +394,8 @@ public class ItemsFragment extends android.support.v4.app.Fragment
|
|||
final AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
|
||||
builder.setTitle(getResources().getString(copyString));
|
||||
builder.setView(copyView);
|
||||
builder.setPositiveButton(android.R.string.ok, null);
|
||||
builder.setNegativeButton(android.R.string.cancel, null);
|
||||
builder.setPositiveButton(R.string.ok, null);
|
||||
builder.setNegativeButton(R.string.cancel, null);
|
||||
|
||||
mCopyDialog = builder.create();
|
||||
mCopyDialog.show();
|
||||
|
@ -510,8 +510,8 @@ public class ItemsFragment extends android.support.v4.app.Fragment
|
|||
final AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
|
||||
builder.setTitle(getResources().getString(R.string.select_destination));
|
||||
builder.setView(pickerView);
|
||||
builder.setPositiveButton(android.R.string.ok, null);
|
||||
builder.setNegativeButton(android.R.string.cancel, null);
|
||||
builder.setPositiveButton(R.string.ok, null);
|
||||
builder.setNegativeButton(R.string.cancel, null);
|
||||
|
||||
final AlertDialog alertDialog = builder.create();
|
||||
alertDialog.show();
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
<string name="copy_failed">Impossibile copiare i file</string>
|
||||
<string name="copying">Copia in corso</string>
|
||||
<string name="initial_breadcrumb">home</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
|
||||
<plurals name="items_deleted">
|
||||
<item quantity="one">1 elemento eliminato</item>
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
<string name="copy_failed">ファイルをコピーできませんでした</string>
|
||||
<string name="copying">コピー中</string>
|
||||
<string name="initial_breadcrumb">ホーム</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
|
||||
<plurals name="items_deleted">
|
||||
<item quantity="one">1 アイテムを削除しました</item>
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
<string name="copy_failed">Kunde inte kopiera filen</string>
|
||||
<string name="copying">Kopierar</string>
|
||||
<string name="initial_breadcrumb">home</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
|
||||
<plurals name="items_deleted">
|
||||
<item quantity="one">1 objekt borttagen</item>
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
<string name="copy_failed">Could not copy the files</string>
|
||||
<string name="copying">Copying</string>
|
||||
<string name="initial_breadcrumb">home</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
|
||||
<plurals name="items_deleted">
|
||||
<item quantity="one">1 item deleted</item>
|
||||
|
|
Loading…
Reference in a new issue