Skip to content

Commit

Permalink
update translations part2
Browse files Browse the repository at this point in the history
  • Loading branch information
marguerite committed Jul 3, 2012
1 parent 3f875c7 commit 0d66a1a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion data/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,10 @@ along with this program. If not, see <a target=\"_blank\" href=\"http://www.gnu.
"message": "Write down description here",
"description": "data/index.html"
},
"basic_auth_not_supported": {
"message": "Basic Auth is not supported, Please use OAuth to upload images.",
"description": "data/js/ui.statusbox.js"
},
"profile": {
"message": "Profile",
"description": "data/index.html"
Expand Down Expand Up @@ -1406,4 +1410,4 @@ along with this program. If not, see <a target=\"_blank\" href=\"http://www.gnu.
"message": "Send Request",
"description": "data/js/ui.template.js"
}
}
}
4 changes: 4 additions & 0 deletions data/_locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,10 @@
"message": "输入相片描述么么哒",
"description": "data/index.html"
},
"basic_auth_not_supported": {
"message": "Basic Auth 不支持图片上传,请使用 OAuth。",
"description": "data/js/ui.statusbox.js"
},
"profile": {
"message": "账户",
"description": "data/index.html"
Expand Down
2 changes: 1 addition & 1 deletion data/js/ui.status_box.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function init () {
ui.ImageUploader.show();
} else {
title = 'Error !'
content = '<p>Basic Auth is not supported, Please use OAuth to upload images.</p>'
content = '<p data-i18n-text="basic_auth_not_supported">Basic Auth is not supported, Please use OAuth to upload images.</p>'
widget.DialogManager.alert(title, content);
}
return false;
Expand Down

0 comments on commit 0d66a1a

Please sign in to comment.