mirror of https://github.com/zulip/zulip.git
settings: use i18n.t on profile picture upload message.
This fixes a small bug where the text previously was not being looked up for translation.
This commit is contained in:
parent
d526ff00f2
commit
243be91a9b
|
@ -533,7 +533,7 @@ exports.set_up = function () {
|
||||||
$("#user-avatar-source").hide();
|
$("#user-avatar-source").hide();
|
||||||
|
|
||||||
var spinner = $("#upload_avatar_spinner").expectOne();
|
var spinner = $("#upload_avatar_spinner").expectOne();
|
||||||
loading.make_indicator(spinner, {text: 'Uploading profile picture.'});
|
loading.make_indicator(spinner, {text: i18n.t('Uploading profile picture.')});
|
||||||
|
|
||||||
channel.post({
|
channel.post({
|
||||||
url: '/json/users/me/avatar',
|
url: '/json/users/me/avatar',
|
||||||
|
|
Loading…
Reference in New Issue