Skip to content

Commit

Permalink
other: localize some strings for a custom build (WPB-11703) (#3534)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohassine authored and github-actions[bot] committed Oct 21, 2024
1 parent 8ecd559 commit 9ad851e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ object ReportBugDestination : IntentDirection {
val dir = LogFileWriter.logsDirectory(context)
val logsUris = context.getUrisOfFilesInDirectory(dir)
val intent = context.multipleFileSharingIntent(logsUris)
intent.putExtra(Intent.EXTRA_EMAIL, arrayOf("[email protected]"))
intent.putExtra(Intent.EXTRA_SUBJECT, "Bug Report - Wire Beta")
intent.putExtra(Intent.EXTRA_EMAIL, arrayOf(context.getString(R.string.send_bug_report_email)))
intent.putExtra(Intent.EXTRA_SUBJECT, context.getString(R.string.send_bug_report_subject))
intent.putExtra(
Intent.EXTRA_TEXT,
EmailComposer.reportBugEmailTemplate(
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,12 @@ In group conversations, the group admin can overwrite this setting.</string>
<string name="backup_dialog_choose_backup_file_option">Choose Backup File</string>
<string name="backup_label_enter_password">Enter password</string>
<string name="backup_dialog_restore_backup_password_message">This backup is password protected.</string>

<!-- report bug-->
<string name="send_feedback_choose_email">\"Select email provider:\"</string>
<string name="send_bug_report_subject">Bug Report</string>
<string name="send_bug_report_email" translatable="false" >[email protected]</string>

<string name="backup_dialog_create_backup_save">Save File</string>
<string name="backup_dialog_create_backup_share">Share File</string>
<string name="backup_dialog_restore_incompatible_version_error_title">Incompatible backup</string>
Expand Down

0 comments on commit 9ad851e

Please sign in to comment.