mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 10:49:04 +03:00
Extract string to get translated
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
b3b1b8dbc0
commit
417365f7ea
2 changed files with 2 additions and 1 deletions
|
@ -310,7 +310,7 @@ public class ChooseRichDocumentsTemplateDialogFragment extends DialogFragment im
|
||||||
|
|
||||||
if (fragment != null && fragment.isAdded()) {
|
if (fragment != null && fragment.isAdded()) {
|
||||||
if (url.isEmpty()) {
|
if (url.isEmpty()) {
|
||||||
DisplayUtils.showSnackMessage(fragment.binding.list, "Error creating file from template");
|
DisplayUtils.showSnackMessage(fragment.binding.list, R.string.error_creating_file_from_template);
|
||||||
} else {
|
} else {
|
||||||
Intent collaboraWebViewIntent = new Intent(MainApp.getAppContext(), RichDocumentsEditorWebView.class);
|
Intent collaboraWebViewIntent = new Intent(MainApp.getAppContext(), RichDocumentsEditorWebView.class);
|
||||||
collaboraWebViewIntent.putExtra(ExternalSiteWebView.EXTRA_TITLE, "Collabora");
|
collaboraWebViewIntent.putExtra(ExternalSiteWebView.EXTRA_TITLE, "Collabora");
|
||||||
|
|
|
@ -1005,4 +1005,5 @@
|
||||||
<string name="load_more_results">Load more results</string>
|
<string name="load_more_results">Load more results</string>
|
||||||
<string name="file_management_permission">Permissions needed</string>
|
<string name="file_management_permission">Permissions needed</string>
|
||||||
<string name="file_management_permission_text">%1$s needs file management permissions to work properly. Please enable it in the following screen to continue.</string>
|
<string name="file_management_permission_text">%1$s needs file management permissions to work properly. Please enable it in the following screen to continue.</string>
|
||||||
|
<string name="error_creating_file_from_template">Error creating file from template</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue