use our own strings for OK and Cancel

This commit is contained in:
tibbi 2016-08-21 20:40:24 +02:00
parent 183ca057f4
commit be140f3ddc
5 changed files with 10 additions and 2 deletions

View File

@ -123,8 +123,8 @@ public class MainActivity extends SimpleActivity implements MyCanvas.PathsChange
fileNameET.setText(curFileName);
builder.setView(saveFileView);
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();

View File

@ -9,6 +9,8 @@
<string name="save_file">Salva file</string>
<string name="enter_file_name">Inserisci un nome per il file</string>
<string name="no_permissions">Impossibile salvare il file senza l\'accesso all\'archiviazione esterna</string>
<string name="ok">OK</string>
<string name="cancel">Cancel</string>
<!-- Settings -->
<string name="settings">Impostazioni</string>

View File

@ -9,6 +9,8 @@
<string name="save_file">ファイルを保存</string>
<string name="enter_file_name">ファイル名を入力してください</string>
<string name="no_permissions">外部ストレージにアクセスできないためファイルを保存できませんでした</string>
<string name="ok">OK</string>
<string name="cancel">Cancel</string>
<!-- Settings -->
<string name="settings">設定</string>

View File

@ -9,6 +9,8 @@
<string name="save_file">Spara fil</string>
<string name="enter_file_name">Ange ett filnamn</string>
<string name="no_permissions">Kunde inte spara filen utan tillgång till extern lagringsutrymme</string>
<string name="ok">OK</string>
<string name="cancel">Cancel</string>
<!-- Settings -->
<string name="settings">Inställningar</string>

View File

@ -9,6 +9,8 @@
<string name="save_file">Save file</string>
<string name="enter_file_name">Please enter a file name</string>
<string name="no_permissions">Could not save the file without accessing the external storage</string>
<string name="ok">OK</string>
<string name="cancel">Cancel</string>
<!-- Settings -->
<string name="settings">Settings</string>