FIX: download archive confirm message was broken for non-staff users
This commit is contained in:
parent
b18439a1e2
commit
b7532b5247
|
@ -23,7 +23,7 @@ export default Ember.Controller.extend({
|
||||||
actions: {
|
actions: {
|
||||||
exportUserArchive() {
|
exportUserArchive() {
|
||||||
bootbox.confirm(
|
bootbox.confirm(
|
||||||
I18n.t("admin.export_csv.user_archive_confirm"),
|
I18n.t("user.download_archive_confirm"),
|
||||||
I18n.t("no_value"),
|
I18n.t("no_value"),
|
||||||
I18n.t("yes_value"),
|
I18n.t("yes_value"),
|
||||||
function(confirmed) {
|
function(confirmed) {
|
||||||
|
|
|
@ -488,6 +488,7 @@ en:
|
||||||
mute: "Mute"
|
mute: "Mute"
|
||||||
edit: "Edit Preferences"
|
edit: "Edit Preferences"
|
||||||
download_archive: "Download My Posts"
|
download_archive: "Download My Posts"
|
||||||
|
download_archive_confirm: "Are you sure you want to download your posts?"
|
||||||
new_private_message: "New Message"
|
new_private_message: "New Message"
|
||||||
private_message: "Message"
|
private_message: "Message"
|
||||||
private_messages: "Messages"
|
private_messages: "Messages"
|
||||||
|
@ -2621,7 +2622,6 @@ en:
|
||||||
confirm: "Are you sure you want to rollback the database to the previous working state?"
|
confirm: "Are you sure you want to rollback the database to the previous working state?"
|
||||||
|
|
||||||
export_csv:
|
export_csv:
|
||||||
user_archive_confirm: "Are you sure you want to download your posts?"
|
|
||||||
success: "Export initiated, you will be notified via message when the process is complete."
|
success: "Export initiated, you will be notified via message when the process is complete."
|
||||||
failed: "Export failed. Please check the logs."
|
failed: "Export failed. Please check the logs."
|
||||||
rate_limit_error: "Posts can be downloaded once per day, please try again tomorrow."
|
rate_limit_error: "Posts can be downloaded once per day, please try again tomorrow."
|
||||||
|
@ -3302,5 +3302,3 @@ en:
|
||||||
admin: "Admin"
|
admin: "Admin"
|
||||||
moderator: "Moderator"
|
moderator: "Moderator"
|
||||||
regular: "Regular User"
|
regular: "Regular User"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue