simplify the properties dialog title by always saying "Properties"
This commit is contained in:
parent
5cbc13885a
commit
3d123098a9
|
@ -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()
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
<string name="press_back_again">Press back again to exit</string>
|
||||
|
||||
<!-- File and directory properties -->
|
||||
<string name="file_properties">File properties</string>
|
||||
<string name="directory_properties">Directory properties</string>
|
||||
<string name="name">Name</string>
|
||||
<string name="path">Path</string>
|
||||
<string name="size">Size</string>
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
<string name="press_back_again">Press back again to exit</string>
|
||||
|
||||
<!-- File and directory properties -->
|
||||
<string name="file_properties">Proprietà file</string>
|
||||
<string name="directory_properties">Proprietà cartella</string>
|
||||
<string name="name">Nome</string>
|
||||
<string name="path">Percorso</string>
|
||||
<string name="size">Dimensione</string>
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
<string name="press_back_again">Press back again to exit</string>
|
||||
|
||||
<!-- File and directory properties -->
|
||||
<string name="file_properties">File properties</string>
|
||||
<string name="directory_properties">Directory properties</string>
|
||||
<string name="name">Name</string>
|
||||
<string name="path">Path</string>
|
||||
<string name="size">Size</string>
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
<string name="press_back_again">Press back again to exit</string>
|
||||
|
||||
<!-- File and directory properties -->
|
||||
<string name="file_properties">Propriedades do ficheiro</string>
|
||||
<string name="directory_properties">Propriedades da pasta</string>
|
||||
<string name="name">Nome</string>
|
||||
<string name="path">Caminho</string>
|
||||
<string name="size">Tamanho</string>
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
<string name="press_back_again">Press back again to exit</string>
|
||||
|
||||
<!-- File and directory properties -->
|
||||
<string name="file_properties">File properties</string>
|
||||
<string name="directory_properties">Directory properties</string>
|
||||
<string name="name">Name</string>
|
||||
<string name="path">Path</string>
|
||||
<string name="size">Size</string>
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
<string name="press_back_again">Press back again to exit</string>
|
||||
|
||||
<!-- File and directory properties -->
|
||||
<string name="file_properties">File properties</string>
|
||||
<string name="directory_properties">Directory properties</string>
|
||||
<string name="name">Name</string>
|
||||
<string name="path">Path</string>
|
||||
<string name="size">Size</string>
|
||||
|
|
Loading…
Reference in New Issue