Skip to content

Commit

Permalink
Don't attempt to translate variables
Browse files Browse the repository at this point in the history
* stings should be translated (if applicable) where they happen
* ChangePasswordController returns all its fixed strings already translated
* local user backend does not throw HintException at all

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz authored and MorrisJobke committed Nov 25, 2016
1 parent 5d4e064 commit 376d34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/js/users/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ $(document).ready(function () {
if(!_.isEmpty(result.data.hint)) {
message += "<br/>" + _.escape(result.data.hint);
}
OC.Notification.showTemporary(t('admin', message), {isHTML: true});
OC.Notification.showTemporary(message, {isHTML: true});
}
}
).fail(blurFunction);
Expand Down

0 comments on commit 376d34b

Please sign in to comment.