From 3d123098a99ea636143d9f773100e4988cfd9646 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 16 Oct 2016 21:49:54 +0200 Subject: [PATCH] simplify the properties dialog title by always saying "Properties" --- .../simplemobiletools/filemanager/dialogs/PropertiesDialog.kt | 3 +-- app/src/main/res/values-de/strings.xml | 2 -- app/src/main/res/values-it/strings.xml | 2 -- app/src/main/res/values-ja/strings.xml | 2 -- app/src/main/res/values-pt-rPT/strings.xml | 2 -- app/src/main/res/values-sv/strings.xml | 2 -- app/src/main/res/values/strings.xml | 2 -- 7 files changed, 1 insertion(+), 14 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/dialogs/PropertiesDialog.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/dialogs/PropertiesDialog.kt index 1ef3a74f..e57f8571 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/dialogs/PropertiesDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/dialogs/PropertiesDialog.kt @@ -28,7 +28,6 @@ class PropertiesDialog() { mResources = mContext.resources val file = File(path) - val title = if (file.isDirectory) R.string.directory_properties else R.string.file_properties mPropertyView = mInflater.inflate(R.layout.item_properties, null) as ViewGroup addProperty(R.string.name, file.name) @@ -48,7 +47,7 @@ class PropertiesDialog() { } AlertDialog.Builder(context) - .setTitle(mResources.getString(title)) + .setTitle(mResources.getString(R.string.properties)) .setView(mPropertyView) .setPositiveButton(R.string.ok, null) .create() diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index ce8c43d6..84e9349a 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -37,8 +37,6 @@ Press back again to exit - File properties - Directory properties Name Path Size diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 2dad4b69..e47d4f5d 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -37,8 +37,6 @@ Press back again to exit - Proprietà file - Proprietà cartella Nome Percorso Dimensione diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 3a1d13c2..289e7bbc 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -37,8 +37,6 @@ Press back again to exit - File properties - Directory properties Name Path Size diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 29d27a2b..1d825d4b 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -37,8 +37,6 @@ Press back again to exit - Propriedades do ficheiro - Propriedades da pasta Nome Caminho Tamanho diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index a563c7f0..4dea09c3 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -37,8 +37,6 @@ Press back again to exit - File properties - Directory properties Name Path Size diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 10e1ac3d..99a3ffb8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -37,8 +37,6 @@ Press back again to exit - File properties - Directory properties Name Path Size