diff --git a/res/values/strings.xml b/res/values/strings.xml index 04a88ad637..de6ca8d17b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -326,5 +326,6 @@ shared with you + %1$s %2$s >>%3$s<< %4$s diff --git a/src/com/owncloud/android/operations/CreateShareOperation.java b/src/com/owncloud/android/operations/CreateShareOperation.java index 72cbee4f2e..fc44f530b2 100644 --- a/src/com/owncloud/android/operations/CreateShareOperation.java +++ b/src/com/owncloud/android/operations/CreateShareOperation.java @@ -133,7 +133,7 @@ public class CreateShareOperation extends SyncOperation { OCFile file = getStorageManager().getFileByPath(mPath); if (file!=null) { mSendIntent.putExtra(Intent.EXTRA_TEXT, share.getShareLink()); - mSendIntent.putExtra(Intent.EXTRA_SUBJECT, String.format("%s %s >>%s<< %s", + mSendIntent.putExtra(Intent.EXTRA_SUBJECT, String.format(mContext.getString(R.string.subject_token), getClient().getCredentials().getUsername(), mContext.getString(R.string.shared_subject_header), file.getFileName(), mContext.getString(R.string.with_you_subject_header))); file.setPublicLink(share.getShareLink());