mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
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:
@@ -533,7 +533,7 @@ exports.set_up = function () {
|
||||
$("#user-avatar-source").hide();
|
||||
|
||||
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({
|
||||
url: '/json/users/me/avatar',
|
||||
|
||||
Reference in New Issue
Block a user