diff --git a/.gitignore b/.gitignore index adcf2f2..3168f64 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,9 @@ proguard/ # Android Studio .gradle +*.gradle +*.jks /local.properties /.idea/workspace.xml -.DS_Store \ No newline at end of file +.DS_Store +/Turbo Editor/build/ \ No newline at end of file diff --git a/Turbo Editor/.gitignore b/Turbo Editor/.gitignore deleted file mode 100644 index 796b96d..0000000 --- a/Turbo Editor/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/Turbo Editor/src/main/AndroidManifest.xml b/Turbo Editor/src/main/AndroidManifest.xml index b68514f..7fd3be3 100644 --- a/Turbo Editor/src/main/AndroidManifest.xml +++ b/Turbo Editor/src/main/AndroidManifest.xml @@ -20,16 +20,14 @@ - - parent, View view, int position, long id) { final String name = ((TextView) view.findViewById(android.R.id.title)).getText().toString(); if (name.equals("..")) { - vaiIndietro(); + if (currentFolder.equals("/")) { + new UpdateList().execute(PreferenceHelper.getLastNavigatedFolder(this)); + } else { + File tempFile = new File(currentFolder); + if (tempFile.isFile()) { + tempFile = tempFile.getParentFile() + .getParentFile(); + } else { + tempFile = tempFile.getParentFile(); + } + new UpdateList().execute(tempFile.getAbsolutePath()); + } return; } else if (name.equals(getString(R.string.home))) { - new UpdateList().execute(SD_CARD_ROOT); + new UpdateList().execute(PreferenceHelper.getLastNavigatedFolder(this)); return; } @@ -135,27 +148,30 @@ public boolean onOptionsItemSelected(MenuItem item) { } else if (wantAFile) { returnData(""); } + } else if (i == R.id.im_new_file) { + final EditDialogFragment dialogFrag = EditDialogFragment.newInstance(EditDialogFragment.Actions.NewLocalFile); + dialogFrag.show(getFragmentManager().beginTransaction(), "dialog"); } return super.onOptionsItemSelected(item); } - void vaiIndietro() { - if (currentFolder.equals("/")) { - new UpdateList().execute(SD_CARD_ROOT); - } else { - File tempFile = new File(currentFolder); - if (tempFile.isFile()) { - tempFile = tempFile.getParentFile() - .getParentFile(); - } else { - tempFile = tempFile.getParentFile(); + /** + * {@inheritDoc} + */ + @Override + public void onFinishEditDialog(final String inputText, final String hint, final EditDialogFragment.Actions actions) { + if(actions == EditDialogFragment.Actions.NewLocalFile){ + File file = new File(currentFolder, inputText); + try { + file.createNewFile(); + } catch (IOException e) { + Log.e(TAG, e.getMessage(), e); } - new UpdateList().execute(tempFile.getAbsolutePath()); + returnData(file.getAbsolutePath()); } } - private class UpdateList extends - AsyncTask> { + private class UpdateList extends AsyncTask> { /** * {@inheritDoc} diff --git a/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/fragment/EncodingDialogFragment.java b/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/fragment/EditDialogFragment.java similarity index 69% rename from Turbo Editor/src/main/java/com/vmihalachi/turboeditor/fragment/EncodingDialogFragment.java rename to Turbo Editor/src/main/java/com/vmihalachi/turboeditor/fragment/EditDialogFragment.java index d7c92df..bc22d85 100644 --- a/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/fragment/EncodingDialogFragment.java +++ b/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/fragment/EditDialogFragment.java @@ -35,28 +35,44 @@ import com.vmihalachi.turboeditor.R; // ... -public class EncodingDialogFragment extends DialogFragment implements TextView.OnEditorActionListener { +public class EditDialogFragment extends DialogFragment implements TextView.OnEditorActionListener { - private EditText mEditText; + EditText mEditText; + + public static EditDialogFragment newInstance(final Actions action) { + return EditDialogFragment.newInstance(action, ""); + } + + public static EditDialogFragment newInstance(final Actions action, final String hint) { + final EditDialogFragment f = new EditDialogFragment(); - public static EncodingDialogFragment newInstance(final String hint) { - final EncodingDialogFragment f = new EncodingDialogFragment(); // Supply num input as an argument. final Bundle args = new Bundle(); + args.putSerializable("action", action); args.putString("hint", hint); f.setArguments(args); + return f; } - /** - * {@inheritDoc} - */ @Override public View onCreateView(final LayoutInflater inflater, final ViewGroup container, final Bundle savedInstanceState) { final Dialog dialog = getDialog(); - final String title = getString(R.string.codifica); + final Actions action = (Actions) getArguments().getSerializable("action"); + final String title; + switch (action) { + case Encoding: + title = getString(R.string.codifica); + break; + case NewLocalFile: + title = getString(R.string.new_local_file); + break; + default: + title = null; + break; + } dialog.setTitle(title); final View view = inflater.inflate(R.layout.dialog_fragment_edittext, container); @@ -65,15 +81,11 @@ public View onCreateView(final LayoutInflater inflater, final ViewGroup containe // Show soft keyboard automatically this.mEditText.setText(getArguments().getString("hint")); this.mEditText.requestFocus(); - dialog.getWindow().setSoftInputMode( - WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE); + dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE); this.mEditText.setOnEditorActionListener(this); final Button button = (Button) view.findViewById(android.R.id.button1); button.setOnClickListener(new View.OnClickListener() { - /** - * {@inheritDoc} - */ @Override public void onClick(final View v) { returnData(); @@ -88,13 +100,11 @@ void returnData() { if (target == null) { target = (EditDialogListener) getActivity(); } - target.onFinishEditDialog(this.mEditText.getText().toString(), getArguments().getString("hint")); + target.onFinishEditDialog(this.mEditText.getText().toString(), getArguments().getString("hint"), + (Actions) getArguments().getSerializable("action")); this.dismiss(); } - /** - * {@inheritDoc} - */ @Override public boolean onEditorAction(final TextView v, final int actionId, final KeyEvent event) { if (EditorInfo.IME_ACTION_DONE == actionId) { @@ -104,9 +114,11 @@ public boolean onEditorAction(final TextView v, final int actionId, final KeyEve return false; } - public interface EditDialogListener { - void onFinishEditDialog(String inputText, String hint); + public enum Actions { + Encoding, NewLocalFile } -} - + public interface EditDialogListener { + void onFinishEditDialog(String inputText, String hint, Actions action); + } +} \ No newline at end of file diff --git a/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/fragment/EditorFragment.java b/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/fragment/EditorFragment.java index 318f1bc..9b1b1e3 100644 --- a/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/fragment/EditorFragment.java +++ b/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/fragment/EditorFragment.java @@ -23,6 +23,7 @@ import android.content.Context; import android.content.SharedPreferences; import android.graphics.Canvas; +import android.graphics.Typeface; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; @@ -68,7 +69,7 @@ import de.greenrobot.event.EventBus; -public class EditorFragment extends Fragment implements EncodingDialogFragment.EditDialogListener { +public class EditorFragment extends Fragment implements EditDialogFragment.EditDialogListener { private static final String TAG = "A0A"; private Editor mEditor; @@ -77,6 +78,7 @@ public class EditorFragment extends Fragment implements EncodingDialogFragment.E static boolean sWrapText; static boolean sColorSyntax; // + private boolean mUseMonospace; private String mCurrentEncoding; private static String sFilePath; @@ -122,6 +124,7 @@ public void onActivityCreated(Bundle savedInstanceState) { // this.sFilePath = getArguments().getString("filePath"); this.mCurrentEncoding = PreferenceHelper.getEncoding(getActivity()); + this.mUseMonospace = PreferenceHelper.getUseMonospace(getActivity()); this.sColorSyntax = PreferenceHelper.getSyntaxHiglight(getActivity()); this.sWrapText = PreferenceHelper.getWrapText(getActivity()); String fileName = FilenameUtils.getName(getArguments().getString("filePath")); @@ -151,6 +154,7 @@ public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.fragment_editor, menu); menu.findItem(R.id.im_wrap_text).setChecked(this.sWrapText); menu.findItem(R.id.im_syntax_highlight).setChecked(this.sColorSyntax); + menu.findItem(R.id.im_use_monospace).setChecked(this.mUseMonospace); super.onCreateOptionsMenu(menu, inflater); } @@ -179,12 +183,16 @@ public boolean onOptionsItemSelected(MenuItem item) { item.setChecked(!item.isChecked()); PreferenceHelper.setWrapText(getActivity(), item.isChecked()); updateTextEditor(); + } else if (i == R.id.im_use_monospace) { + item.setChecked(!item.isChecked()); + PreferenceHelper.setUseMonospace(getActivity(), item.isChecked()); + updateTextEditor(); } return super.onOptionsItemSelected(item); } private void showEncodingDialog() { - EncodingDialogFragment dialogFrag = EncodingDialogFragment.newInstance(this.mCurrentEncoding); + EditDialogFragment dialogFrag = EditDialogFragment.newInstance(EditDialogFragment.Actions.Encoding, this.mCurrentEncoding); dialogFrag.setTargetFragment(this, 0); dialogFrag.show(getFragmentManager().beginTransaction(), "encodingDialog"); } @@ -194,14 +202,17 @@ private void showEncodingDialog() { * {@inheritDoc} */ @Override - public void onFinishEditDialog(final String inputText, final String hint) { - PreferenceHelper.setEncoding(getActivity(), inputText); - updateTextEditor(); + public void onFinishEditDialog(final String inputText, final String hint, final EditDialogFragment.Actions actions) { + if(actions == EditDialogFragment.Actions.Encoding){ + PreferenceHelper.setEncoding(getActivity(), inputText); + updateTextEditor(); + } } private void updateTextEditor() { final boolean countLines = PreferenceHelper.getWrapText(getActivity()); final boolean syntaxHighlight = PreferenceHelper.getSyntaxHiglight(getActivity()); + final boolean useMonospace = PreferenceHelper.getUseMonospace(getActivity()); final String encoding = PreferenceHelper.getEncoding(getActivity()); if (this.sWrapText != countLines) { @@ -219,6 +230,14 @@ private void updateTextEditor() { this.mEditor.setText(s); } + if (this.mUseMonospace != useMonospace) { + this.mUseMonospace = useMonospace; + this.mEditor.setTypeface(Typeface.MONOSPACE); + //final String s = this.mEditor.getText().toString(); + //inflateOfWrapText(); + //this.mEditor.setText(s); + } + if (!this.mCurrentEncoding.equals(encoding)) { try { final byte[] oldText = this.mEditor.getText().toString().getBytes(this.mCurrentEncoding); @@ -238,6 +257,9 @@ private void configureEditText() { int paddingLeft = (int) PixelDipConverter.convertDpToPixel(5, getActivity()); mEditor.setPadding(paddingLeft, 0, 0, 0); } + if(this.mUseMonospace){ + this.mEditor.setTypeface(Typeface.MONOSPACE); + } } class SaveFile extends AsyncTask { diff --git a/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/helper/PreferenceHelper.java b/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/helper/PreferenceHelper.java index 854b559..7013ff0 100644 --- a/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/helper/PreferenceHelper.java +++ b/Turbo Editor/src/main/java/com/vmihalachi/turboeditor/helper/PreferenceHelper.java @@ -21,10 +21,13 @@ import android.content.Context; import android.content.SharedPreferences; +import android.os.Environment; import android.preference.PreferenceManager; public final class PreferenceHelper { + private static final String SD_CARD_ROOT = Environment.getExternalStorageDirectory().getAbsolutePath(); + private PreferenceHelper() { } @@ -38,6 +41,10 @@ public static SharedPreferences.Editor getEditor(Context context) { return getPrefs(context).edit(); } + public static boolean getUseMonospace(Context context) { + return getPrefs(context).getBoolean("use_monospace", false); + } + public static boolean getWrapText(Context context) { return getPrefs(context).getBoolean("editor_wrap_text", true); } @@ -50,12 +57,20 @@ public static String getEncoding(Context context) { return getPrefs(context).getString("editor_encoding", "UTF-8"); } + public static String getLastNavigatedFolder(Context context) { + return getPrefs(context).getString("last_navigated_folder", SD_CARD_ROOT); + } + public static String[] getSavedPaths(Context context) { return getPrefs(context).getString("savedPaths", "").split(","); } // Setter methods + public static void setUseMonospace(Context context, boolean value) { + getEditor(context).putBoolean("use_monospace", value).commit(); + } + public static void setWrapText(Context context, boolean value) { getEditor(context).putBoolean("editor_wrap_text", value).commit(); } @@ -68,6 +83,10 @@ public static void setEncoding(Context context, String value) { getEditor(context).putString("editor_encoding", value).commit(); } + public static void setLastNavigatedFolder(Context context, String value) { + getEditor(context).putString("last_navigated_folder", value).commit(); + } + public static void setSavedPaths(Context context, StringBuilder stringBuilder) { getEditor(context).putString("savedPaths", stringBuilder.toString()).commit(); } diff --git a/Turbo Editor/src/main/res/layout/activity_home.xml b/Turbo Editor/src/main/res/layout/activity_home.xml index 6dc4e35..dfc9d9a 100644 --- a/Turbo Editor/src/main/res/layout/activity_home.xml +++ b/Turbo Editor/src/main/res/layout/activity_home.xml @@ -20,6 +20,7 @@ @@ -33,7 +34,8 @@ android:layout_height="match_parent" android:name="com.vmihalachi.turboeditor.fragment.NavigationDrawerListFragment" android:id="@id/drawer_list" - android:layout_gravity="left"/> + android:layout_gravity="left" + tools:layout="@layout/fragment_navigation_drawer" /> diff --git a/Turbo Editor/src/main/res/layout/fragment_navigation_drawer.xml b/Turbo Editor/src/main/res/layout/fragment_navigation_drawer.xml index 29d15b8..de61683 100644 --- a/Turbo Editor/src/main/res/layout/fragment_navigation_drawer.xml +++ b/Turbo Editor/src/main/res/layout/fragment_navigation_drawer.xml @@ -33,6 +33,13 @@ android:choiceMode="multipleChoiceModal" android:cacheColorHint="@android:color/transparent"/> - + \ No newline at end of file diff --git a/Turbo Editor/src/main/res/layout/fragment_no_file_open.xml b/Turbo Editor/src/main/res/layout/fragment_no_file_open.xml index ead1b06..6e27f8e 100644 --- a/Turbo Editor/src/main/res/layout/fragment_no_file_open.xml +++ b/Turbo Editor/src/main/res/layout/fragment_no_file_open.xml @@ -25,4 +25,4 @@ android:textSize="@dimen/text_size_mega_title" android:fontFamily="sans-serif-light" android:text="@string/open_a_file" - android:clickable="true" /> + android:textColor="@android:color/secondary_text_dark"/> diff --git a/Turbo Editor/src/main/res/menu/activity_select_file.xml b/Turbo Editor/src/main/res/menu/activity_select_file.xml index 83373f6..a6bb6e0 100644 --- a/Turbo Editor/src/main/res/menu/activity_select_file.xml +++ b/Turbo Editor/src/main/res/menu/activity_select_file.xml @@ -19,6 +19,10 @@ --> + diff --git a/Turbo Editor/src/main/res/menu/fragment_editor.xml b/Turbo Editor/src/main/res/menu/fragment_editor.xml index 690ff79..69cd5d2 100644 --- a/Turbo Editor/src/main/res/menu/fragment_editor.xml +++ b/Turbo Editor/src/main/res/menu/fragment_editor.xml @@ -54,6 +54,11 @@ android:showAsAction="ifRoom" android:title="@string/menu_syntax_highlight" android:checkable="true"/> + diff --git a/Turbo Editor/src/main/res/raw/changelog.xml b/Turbo Editor/src/main/res/raw/changelog.xml index 71319e7..2bb9db2 100644 --- a/Turbo Editor/src/main/res/raw/changelog.xml +++ b/Turbo Editor/src/main/res/raw/changelog.xml @@ -1,7 +1,13 @@ - + + Now you can create new files (open -> create new file) + Added the monospace font (choose it in the preferences) + + + + Released on the Play Store Improved the about page diff --git a/Turbo Editor/src/main/res/values-de-rDE/strings.xml b/Turbo Editor/src/main/res/values-de-rDE/strings.xml index 7c0b1ff..96c2212 100644 --- a/Turbo Editor/src/main/res/values-de-rDE/strings.xml +++ b/Turbo Editor/src/main/res/values-de-rDE/strings.xml @@ -114,4 +114,9 @@ Show navigation breadcrumb Datei öffnen Nur dieses Mal öffnen + Are you missing Turbo Editor? + Der beste freie und Open Source Dateieditor! + Change the list type + Use monospace + Recent files diff --git a/Turbo Editor/src/main/res/values-el-rGR/strings.xml b/Turbo Editor/src/main/res/values-el-rGR/strings.xml index cacbcb7..bf92969 100644 --- a/Turbo Editor/src/main/res/values-el-rGR/strings.xml +++ b/Turbo Editor/src/main/res/values-el-rGR/strings.xml @@ -114,4 +114,9 @@ Εμφάνιση βοηθού πλοήγησης Άνοιγμα αρχείου Open this time only + Are you missing Turbo Editor? + The best free and open source file editor! + Change the list type + Use monospace + Recent files diff --git a/Turbo Editor/src/main/res/values-fr-rFR/strings.xml b/Turbo Editor/src/main/res/values-fr-rFR/strings.xml new file mode 100644 index 0000000..a86bff7 --- /dev/null +++ b/Turbo Editor/src/main/res/values-fr-rFR/strings.xml @@ -0,0 +1,122 @@ + + + + Nouveau compte + Actif + Supprimer + Suppression des fichiers… + Chargement… + Dossier local actuel + Clé privée + Clair + Encodage + Partager + Nouveau dossier local + Nouveau dossier distant + Déconnecter + Dossier local par défaut + Où télécharger? + Télécharger + Téléchargement terminé + Dupliquer + Terminé + Accueil + Hôte + Informations + Local + Connexion en cours… + Modifier + Déplacer + Masquer + Turbo Client + Turbo Editor + Nom dߣutilisateur + Passif + passphrase + Mot de passe + Laisser vide pour le renseigner à chaque fois + Port + Préférences + Distant + Pour modifier le thème, redémarrer l\'application + Renommer + Dossier + Sauver + Sombre + Sélectionner + Sélectionner un compte + Êtes-vous sûr ? + Quelque chose n\'a pas fonctionné + Ne pas télécharger un fichier identique + Thème de lߣapplication + Type de connexion + Type de protocole + Autre dossier + Utiliser une passphrase + Envoi + Téléchargement terminé + Que voulez-vous faire? + Retour à la ligne + Coloration syntaxique + Annuler + Rétablir + Synchronisation + Dossier distant à synchroniser + Dossier local à synchroniser + Noter + Impossible de contacter Google Play + Soutenir le développement d\'autres super fonctionnalités. + Mise à niveau vers Premium + Mise à niveau vers Premium et aide au développement de Turbo Client! + Télécharger la version déverrouillée + Quelle est la valeur Turbo Client pour vous? Fixez votre prix! + Mettre à niveau pour débloquer ces fonctionnalités: + Bouton Power pour ouvrir et modifier n\'importe quel type de fichier. + Service sécurisé de sauvegarde et restauration des données. + Déverrouiller les fonctionnalités Premium + J\'aime vraiment cette application! + J\'adore cette application! + Sauvegarder les comptes + Restauration des comptes + Sauvegarder et partager les comptes + Importation des comptes… + Exportation des comptes... + Pas de sauvegardes trouvées + Impossible d\'ouvrir le fichier + Le dossier temporaire n\'existe pas + Une erreur est survenue + Aspect + Dossier + Supprimer + Date de modification + Nom + Taille + Triller + Ouvrir + Le fichier %1$s a été modifié, souhaitez-vous le télécharger? + Le fichier %1$s a été enregistré avec succès! + %1$d sélectionné + Nouveau fichier distant + Nouveau fichier local + Créer un nouveau compte + Créer un nouveau compte pour commencer. + Type + Envoyez vos commentaires + Copier l\'URL + Couper + coller + Avancées + Automatique + Octets + Unité de mesure de la taille des fichiers + Licences Open Source + Voir les licences Open Source + Voir l\'historique de navigation + Ouvrir un fichier + Ouvrir cette fois-ci seulement + Turbo Editor vous manque? + Le meilleur éditeur de fichiers gratuit et open source ! + Modifier le type de liste + Use monospace + Recent files + diff --git a/Turbo Editor/src/main/res/values-fr-rFR/strings_aboutactivity.xml b/Turbo Editor/src/main/res/values-fr-rFR/strings_aboutactivity.xml new file mode 100644 index 0000000..063caf9 --- /dev/null +++ b/Turbo Editor/src/main/res/values-fr-rFR/strings_aboutactivity.xml @@ -0,0 +1,41 @@ + + + + Informations + Informations sur l\'application + Divers + Version %1$s + Auteur + Site de l\'auteur + Voir le site de l\'auteur + Courrier de l\'auteur + Envoyer un mail à l\'auteur + Twitter + Voir la page Twitter + Google+ + Voir la page Google+ + Devenir un bêta-testeur + Faire partie de la communauté pour recevoir des mises à jour bêta + Traduire l\'Application + Corriger certaines erreurs ou ajouter une nouvelle traduction + Lisez-moi + Lire le manuel + Questions Fréquentes + Voir les questions fréquentes + Historique des changements + Voir l\'historique des changements + Conditions d’utilisation + Lire les conditions d\'utilisation + Accepter + Refuser + Politique de confidentialité + Lire la politique de confidentialité + Liste des améliorations à apporter + Lire a liste des améliorations à apporter + Faire un don + Merci de me soutenir! + Play Store + Envoyer vos commentaires et notez-le! + Boutique de l\'auteur + Voir les autres applications de l\'auteur! + diff --git a/Turbo Editor/src/main/res/values-it-rIT/strings.xml b/Turbo Editor/src/main/res/values-it-rIT/strings.xml index b8e3fa4..4dfbb50 100644 --- a/Turbo Editor/src/main/res/values-it-rIT/strings.xml +++ b/Turbo Editor/src/main/res/values-it-rIT/strings.xml @@ -114,4 +114,9 @@ Visualizza navigazione breadcrumb Apri un file Apri solo questa volta + Ti manca Turbo Editor? + Il miglor editor di testi open source! + Cambia il tipo di lista + Monospace + File recenti diff --git a/Turbo Editor/src/main/res/values-ms-rMY/strings.xml b/Turbo Editor/src/main/res/values-ms-rMY/strings.xml index a3c23bd..fe0770c 100644 --- a/Turbo Editor/src/main/res/values-ms-rMY/strings.xml +++ b/Turbo Editor/src/main/res/values-ms-rMY/strings.xml @@ -114,4 +114,9 @@ Show navigation breadcrumb Open a file Open this time only + Are you missing Turbo Editor? + The best free and open source file editor! + Change the list type + Use monospace + Recent files diff --git a/Turbo Editor/src/main/res/values-nl-rNL/strings.xml b/Turbo Editor/src/main/res/values-nl-rNL/strings.xml index 296e202..666cc8c 100644 --- a/Turbo Editor/src/main/res/values-nl-rNL/strings.xml +++ b/Turbo Editor/src/main/res/values-nl-rNL/strings.xml @@ -114,4 +114,9 @@ Toon navigatie breadcrumb Open een bestand Alleen deze keer openen + Waar is Turbo Editor? + De beste gratis en open source file editor! + Wijzig het type lijst + Use monospace + Recent files diff --git a/Turbo Editor/src/main/res/values-pl-rPL/strings.xml b/Turbo Editor/src/main/res/values-pl-rPL/strings.xml index d40ca5a..309feb8 100644 --- a/Turbo Editor/src/main/res/values-pl-rPL/strings.xml +++ b/Turbo Editor/src/main/res/values-pl-rPL/strings.xml @@ -57,7 +57,7 @@ Przesyłanie zakończone Co chcesz zrobić? Zawijanie wyrazów - Syntax highlight + Podświetlenie składni Cofnij Powtórz Synchronizuj @@ -65,14 +65,14 @@ Synchronizuj folder lokalny Oceń Nie można połączyć się z Google Play - Support the development of other great features. + Wesprzyj rozwój innych świetnych funkcji. Zaktualizuj do wersji Premium Zaktualizuj do wersji Premium i wspieraj rozwój klienta Turbo! Pobierz odblokowaną wersję Jak oceniasz Turbo Client\'a? Wystaw ocenę! Zaktualizuj, aby odblokować te funkcje: Uprawnienia do otwierania i modyfikowania dowolnego typu pliku. - Backup service to backup and restore your data safely. + Usługa kopii zapasowej do bezpiecznego tworzenia i przywracania kopii Twoich danych. Odblokuj funkcje Premium Bardzo podoba mi się ta aplikacja! Kocham tę aplikację! @@ -93,9 +93,9 @@ Rozmiar Sortuj Otwórz - The file %1$s was modified, do you want to upload it? - The file %1$s was saved with success! - %1$d selected + Plik %1$s został zmodyfikowany, czy chcesz go wysłać? + Plik %1$s został pomyślnie zapisany! + %1$d wybranych Nowy plik zdalny Nowy plik lokalny Utwórz nowe konto @@ -103,15 +103,20 @@ Typ Prześlij sugestię Kopiuj adres URL - wytnij + Wytnij wklej Zaawansowane Automatyczna Bajty - Jednostka miary dla rozmiaru pliku + Jednostka rozmiaru dla pliku Licencje Open Source Pokaż licencje open source - Show navigation breadcrumb + Pokaż ścieżkę folderu nadrzędnego Otwórz plik - Open this time only + Otwórz tylko tym razem + Brakuje ci Turbo Editor? + Najlepszy, darmowy edytor plików na bazie open source! + Zmień typ listy + Use monospace + Recent files diff --git a/Turbo Editor/src/main/res/values-pl-rPL/strings_aboutactivity.xml b/Turbo Editor/src/main/res/values-pl-rPL/strings_aboutactivity.xml index 22cb718..d19f34b 100644 --- a/Turbo Editor/src/main/res/values-pl-rPL/strings_aboutactivity.xml +++ b/Turbo Editor/src/main/res/values-pl-rPL/strings_aboutactivity.xml @@ -19,7 +19,7 @@ Tłumaczenie aplikacji Popraw pewne błędy lub dodaj nowe tłumaczenie Read Me - Read the reference + Przeczytaj opinie FAQ Pokaż FAQ aplikacji Lista zmian diff --git a/Turbo Editor/src/main/res/values-pt-rBR/strings.xml b/Turbo Editor/src/main/res/values-pt-rBR/strings.xml new file mode 100644 index 0000000..9491555 --- /dev/null +++ b/Turbo Editor/src/main/res/values-pt-rBR/strings.xml @@ -0,0 +1,122 @@ + + + + Nova conta + Ativo + Deletar + Deletando arquivos… + Carregando… + Pasta local atual + Chave Privada + Claro + Codificação + Compartilhar + New local folder + New remote folder + Desconectar + Pasta local padrão + Onde baixar? + Baixar + Download concluído + Duplicar + Feito + Início + Host + Info + Local + Logando… + Edit + Mover + Hide + Turbo Client + Turbo Editor + Usuário + Passivo + Passphrase + Senha + Leave it empty to prompt for it every session + Porta + Preferências + Remote + To change the theme, restart the application + Renomear + Root + Salvar + Escuro + Selecionar + Selecione uma conta + Você tem certeza? + Something failed + Do not transfer same file + Tema + Tipo de conexão + Protocolo + Outra pasta + Use a passphrase + Upload + Upload concluído + What do you want todo? + Quebra de linha + Syntax highlight + Desfazer + Refazer + Sincronizar + Pasta remota para sincronizar + Pasta local para sincronizar + Avaliar + Cannot contact Google Play + Support the development of other great features. + Upgrade to Premium + Upgrade to Premium and support the development of Turbo Client! + Download unlocked version + What is Turbo Client worth to you? Set your price! + Upgrade to unlock this features: + Power to open and modify any type of file. + Backup service to backup and restore your data safely. + Unlock the Premium features + I really like this app! + I love this app! + Backup the accounts + Restore the accounts + Backup and share the accounts + Importing the accounts… + Exporting the accounts... + No backups found + Cannot open the file + Temporary folder does not exist + An error occurred + Ui + Folder + Remove + Modification date + Name + Size + Sort + Open + The file %1$s was modified, do you want to upload it? + The file %1$s was saved with success! + %1$d selected + New remote file + New local file + Create a new account + Create a new account to start. + Type + Send feedback + Copy URL + Cut + paste + Advanced + Auto + Bytes + Unit of measurement for file size + Open Source licenses + Show open source licenses + Show navigation breadcrumb + Open a file + Open this time only + Are you missing Turbo Editor? + The best free and open source file editor! + Change the list type + Use monospace + Recent files + diff --git a/Turbo Editor/src/main/res/values-pt-rBR/strings_aboutactivity.xml b/Turbo Editor/src/main/res/values-pt-rBR/strings_aboutactivity.xml new file mode 100644 index 0000000..8e8c131 --- /dev/null +++ b/Turbo Editor/src/main/res/values-pt-rBR/strings_aboutactivity.xml @@ -0,0 +1,41 @@ + + + + Info + Application Info + Miscellaneous + Version %1$s + Author + Author site + Show author site + Author mail + Send mail to author + Twitter + Show twitter page + Google Plus + Show Google Plus page + Become a beta tester + Be a part of the community to receive beta updates + Translate the Application + Correct some mistakes or add a new translation + Read Me + Read the reference + FAQ + Show app faq + ChangeLog + Show app changelog + Terms of service + Read the Terms of service + Accept + Refuse + Privacy policy + Read the Privacy policy + ToDo List + Read the todo list + Make a donation + Thank you for supporting me! + Play Store + Send feedback and rate it! + Author Store + Show author applications! + diff --git a/Turbo Editor/src/main/res/values-ru-rRU/strings.xml b/Turbo Editor/src/main/res/values-ru-rRU/strings.xml new file mode 100644 index 0000000..537dc90 --- /dev/null +++ b/Turbo Editor/src/main/res/values-ru-rRU/strings.xml @@ -0,0 +1,122 @@ + + + + Новый аккаунт + Действие + Удалить + Удалить файлы + Загрузка + локальная папка поумолчанию + Закрытый ключ + Светлая + Кодировка + Share + Новая локальная папка + Новая папка на сервере + Отключиться + локальный каталог по умолчанию + Where to download? + Скачать + Загрузка завершена + Duplicate + Готово + Home + Хост + Информация + Локальный + Логин в + Редактировать + Переместить + Скрыть + Turbo Client + Turbo Editor + Логин + Пассивный + Подсказка + Пароль + Leave it empty to prompt for it every session + Порт + Настройки + Удаленный + Для смены темы нужен перезапуск приложения + Переименовать + Удаленный каталог поумолчанию + Сохранить + Темный + Выбор + Выбор аккаунта + Вы уверены? + Что-то пошло не так + Do not transfer same file + Тема + Тип соединения + Тип протокола + Другая папка + Использовать подсказку + Закачка + Загрузка завершена + What do you want todo? + Перенос строк + Подсветка синтаксиса + Отменить + Повторить + Синхронизация + Удаленный каталог для синхронизации + Локальный каталог для синхронизации + Рейтинг + Cannot contact Google Play + Support the development of other great features. + апгрейд до премиума + Upgrade to Premium and support the development of Turbo Client! + Download unlocked version + What is Turbo Client worth to you? Set your price! + Upgrade to unlock this features: + Power to open and modify any type of file. + Backup service to backup and restore your data safely. + Разблокировать премиум функции + I really like this app! + I love this app! + Сохранить аккаунт + Восстановить аккаунт + Backup and share the accounts + Importing the accounts… + Exporting the accounts... + Резервные копии не найдены + Не удается открыть файл + Временная папка не существует + Произошла ошибка + Ui + Каталог + Удалить + дата изменения + имя + размер + сортировка + открыть + Файл %1$s был изменен, загрузить на сервер? + Файл %1$s успешно сохранен! + %1$d выделено + Новый файл на сервере + Новый локальный файл + Создать новый аккаунт + Создайте новый аккаунт для начала работы. + Тип + Оставить отзыв + Копировать URL-адрес + Вырезать + Вставить + Расширенные + Авто + Байт + Единица измерения размера файла + Open Source licenses + Show open source licenses + Показывать цепочку навигации + Открыть файл + Open this time only + Are you missing Turbo Editor? + The best free and open source file editor! + Внешний вид списка + Use monospace + Recent files + diff --git a/Turbo Editor/src/main/res/values-ru-rRU/strings_aboutactivity.xml b/Turbo Editor/src/main/res/values-ru-rRU/strings_aboutactivity.xml new file mode 100644 index 0000000..c86b30c --- /dev/null +++ b/Turbo Editor/src/main/res/values-ru-rRU/strings_aboutactivity.xml @@ -0,0 +1,41 @@ + + + + Информация + О приложении + Прочее + Версия %1$s + Автор + Сайт автора + Открыть сайт автора + Почта автора + Отправить письмо автору + Twitter + Открыть станицу в twitter + Google Plus + Открыть страницу в Google Plus + Стать beta-тестером + Стать частью сообщества, чтобы получать beta-обновления + Перевести приложение + Исправить ошибки или добавить новый перевод + Read Me + Читать справочную информацию + FAQ + Показать часто задаваемые вопросы + История изменений + Показать историю изменений + Пользовательское соглашение + Прочитать пользовательское соглашение + Принять + Отклонить + Политика конфиденциальности + Ознакомьтесь с политикой конфиденциальности + Список ToDo + Посмотреть, что планируется реализовать + Сделать пожертвование + Спасибо за поддержку! + Play Store + Оставить отзыв и оценить! + Автор в Google Play + Другие приложения автора! + diff --git a/Turbo Editor/src/main/res/values-sw600dp/dimens.xml b/Turbo Editor/src/main/res/values-sw600dp/dimens.xml index b477f14..67f7c0c 100644 --- a/Turbo Editor/src/main/res/values-sw600dp/dimens.xml +++ b/Turbo Editor/src/main/res/values-sw600dp/dimens.xml @@ -20,4 +20,5 @@ + 320dp diff --git a/Turbo Editor/src/main/res/values/ids.xml b/Turbo Editor/src/main/res/values/ids.xml index c97fead..3e4aec6 100644 --- a/Turbo Editor/src/main/res/values/ids.xml +++ b/Turbo Editor/src/main/res/values/ids.xml @@ -30,6 +30,8 @@ + + diff --git a/Turbo Editor/src/main/res/values/strings.xml b/Turbo Editor/src/main/res/values/strings.xml index 7ca430f..61bd421 100644 --- a/Turbo Editor/src/main/res/values/strings.xml +++ b/Turbo Editor/src/main/res/values/strings.xml @@ -1,117 +1,122 @@ - + - New account - Active - Delete - Deleting files… - Loading… - Current local folder - Private Key - Light - Encoding - Share - New local folder - New remote folder - Disconnect - Default local folder - Where to download? - Download - Download completed - Duplicate - Done - Home - Host - Info - Local - Logging in… - Edit - Move - Hide - Turbo Client - Turbo Editor - Username - Passive - Passphrase - Password - Leave it empty to prompt for it every session - Port - Preferences - Remote - To change the theme, restart the application - Rename - Default remote folder - Save - Dark - Select - Select an account - Are you sure? - Something failed - Do not transfer same file - App theme - Connection type - Protocol type - Another folder - Use a passphrase - Upload - Upload completed - What do you want todo? - Word wrap - Syntax highlight - Undo - Redo - Sync - Remote folder to sync - Local folder to sync - Rate - Cannot contact Google Play - Support the development of other great features. - Upgrade to Premium - Upgrade to Premium and support the development of Turbo Client! - Download unlocked version - What is Turbo Client worth to you? Set your price! - Upgrade to unlock this features: - Power to open and modify any type of file. - Backup service to backup and restore your data safely. - Unlock the Premium features - I really like this app! - I love this app! - Backup the accounts - Restore the accounts - Backup and share the accounts - Importing the accounts… - Exporting the accounts... - No backups found - Cannot open the file - Temporary folder does not exist - An error occurred - Ui - Folder - Remove - Modification date - Name - Size - Sort - Open - The file %1$s was modified, do you want to upload it? - The file %1$s was saved with success! - %1$d selected - New remote file - New local file - Create a new account - Create a new account to start. - Type - Send feedback - Copy URL - Cut - paste - Advanced - Auto - Bytes - Unit of measurement for file size - Open Source licenses - Show open source licenses - Show navigation breadcrumb - Open a file - Open this time only + New account + Active + Delete + Deleting files… + Loading… + Current local folder + Private Key + Light + Encoding + Share + New local folder + New remote folder + Disconnect + Default local folder + Where to download? + Download + Download completed + Duplicate + Done + Home + Host + Info + Local + Logging in… + Edit + Move + Hide + Turbo Client + Turbo Editor + Username + Passive + Passphrase + Password + Leave it empty to prompt for it every session + Port + Preferences + Remote + To change the theme, restart the application + Rename + Default remote folder + Save + Dark + Select + Select an account + Are you sure? + Something failed + Do not transfer same file + App theme + Connection type + Protocol type + Another folder + Use a passphrase + Upload + Upload completed + What do you want todo? + Word wrap + Syntax highlight + Undo + Redo + Sync + Remote folder to sync + Local folder to sync + Rate + Cannot contact Google Play + Support the development of other great features. + Upgrade to Premium + Upgrade to Premium and support the development of Turbo Client! + Download unlocked version + What is Turbo Client worth to you? Set your price! + Upgrade to unlock this features: + Power to open and modify any type of file. + Backup service to backup and restore your data safely. + Unlock the Premium features + I really like this app! + I love this app! + Backup the accounts + Restore the accounts + Backup and share the accounts + Importing the accounts… + Exporting the accounts... + No backups found + Cannot open the file + Temporary folder does not exist + An error occurred + Ui + Folder + Remove + Modification date + Name + Size + Sort + Open + The file %1$s was modified, do you want to upload it? + The file %1$s was saved with success! + %1$d selected + New remote file + New local file + Create a new account + Create a new account to start. + Type + Send feedback + Copy URL + Cut + paste + Advanced + Auto + Bytes + Unit of measurement for file size + Open Source licenses + Show open source licenses + Show navigation breadcrumb + Open a file + Open this time only + Are you missing Turbo Editor? + The best free and open source file editor! + Change the list type + Use monospace + Recent files diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e7a9d37..a80fe65 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,4 +1,4 @@ -#Thu Sep 26 13:46:28 CEST 2013 +#Sun Oct 06 11:27:48 CEST 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME