Re-introduce some strings that were in the removed turbo-client strings list.

This commit is contained in:
Adrian Malacoda 2016-09-25 05:35:04 -05:00
parent 79d6cb6172
commit b7f84409db
2 changed files with 7 additions and 24 deletions

View File

@ -27,14 +27,11 @@ import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;
import it.gmariotti.changelibs.library.view.ChangeLogListView;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.util.Build;
public class ChangelogDialog extends DialogFragment {
@ -66,25 +63,6 @@ public class ChangelogDialog extends DialogFragment {
}
}
)
.setPositiveButton(R.string.vota, new DialogInterface.OnClickListener() {
/**
* {@inheritDoc}
*/
@Override
public void onClick(final DialogInterface dialog, final int which) {
try {
if (Build.FOR_AMAZON) {
String url = "amzn://apps/android?p=com.maskyn.fileeditor";
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
} else {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=com.maskyn.fileeditor"))
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
}
} catch (Exception e) {
}
}
})
.create();
}

View File

@ -65,9 +65,11 @@
<string name="preferenze">Preferences</string>
<string name="salva">Save</string>
<string name="save_as">Save as</string>
<string name="rinomina">Rename</string>
<string name="menu_syntax_highlight">Syntax highlight</string>
<string name="testo_indietro">Undo</string>
<string name="testo_rifai">Redo</string>
<string name="seleziona">Select</string>
<string name="open">Open</string>
<string name="file_saved_with_success">The file %1$s was saved with success!</string>
<string name="open_a_file">Open a file</string>
@ -83,7 +85,10 @@
<string name="accessory_view">Accessory view</string>
<string name="file_cannot_be_renamed">The file cannot be renamed</string>
<string name="use_storage_access_framework">Use the "Storage Access Framework"</string>
<string name="split_by_line">Split By Line</string>
<string name="name">Name</string>
<string name="size">Size</string>
<string name="modification_date">Modification date</string>
<string name="home">Home</string>
<string name="err_occured">An error occurred</string>
</resources>