Skip to content

Commit a72a0c5

Browse files
use placeholder for string
Signed-off-by: tobiasKaminsky <[email protected]>
1 parent dabafca commit a72a0c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/owncloud/android/files/FileMenuFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ private void filterOpenAsRichDocument(List<Integer> toShow,
260260
MenuItem item = menu.findItem(R.id.action_open_file_as_richdocument);
261261

262262
if (item != null) {
263-
item.setTitle(openWith + " " + productName);
263+
item.setTitle(String.format(openWith, productName));
264264
}
265265

266266
toShow.add(R.id.action_open_file_as_richdocument);

src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@
793793
<string name="stream_not_possible_headline">Internal streaming not possible</string>
794794
<string name="stream_not_possible_message">Please download media instead or use external app.</string>
795795
<string name="folder_already_exists">Folder already exists</string>
796-
<string name="actionbar_open_as_richdocument">Open with</string>
796+
<string name="actionbar_open_as_richdocument">Open with %1$s</string>
797797
<string name="notification_icon">Notification icon</string>
798798
<string name="folder_confirm_create">Create</string>
799799
<string name="file_delete">Delete</string>

0 commit comments

Comments
 (0)