mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-14 00:48:05 +00:00
fix URI shortener caption localization
This commit is contained in:
parent
b1646914cb
commit
61d37b0431
@ -49,7 +49,7 @@
|
|||||||
<a href="#" class="mini-profile-name">Fulano da Silva</a>
|
<a href="#" class="mini-profile-name">Fulano da Silva</a>
|
||||||
<span class="mini-profile-view">View</span>
|
<span class="mini-profile-view">View</span>
|
||||||
</div>
|
</div>
|
||||||
<a class="dropdown-menu-item uri-shortener">URI shortener</a>
|
<a class="dropdown-menu-item uri-shortener">URI_shortener</a>
|
||||||
<a class="dropdown-menu-item" href="options.html">Options</a>
|
<a class="dropdown-menu-item" href="options.html">Options</a>
|
||||||
<a class="dropdown-menu-item" href="network.html">Network config</a>
|
<a class="dropdown-menu-item" href="network.html">Network config</a>
|
||||||
<a class="dropdown-menu-item" href="profile-edit.html">Setup account</a>
|
<a class="dropdown-menu-item" href="profile-edit.html">Setup account</a>
|
||||||
|
@ -1038,7 +1038,7 @@ function openRequestShortURIForm(event) {
|
|||||||
function showURIPair(uriLong, uriShort) { // FIXME req
|
function showURIPair(uriLong, uriShort) { // FIXME req
|
||||||
if (uriShort)
|
if (uriShort)
|
||||||
alertPopup({
|
alertPopup({
|
||||||
txtTitle: 'URI shortener',
|
txtTitle: polyglot.t('URI_shortener'),
|
||||||
txtMessage: uriLong + ' — `' + uriShort + '`'
|
txtMessage: uriLong + ' — `' + uriShort + '`'
|
||||||
});
|
});
|
||||||
else
|
else
|
||||||
@ -1047,7 +1047,7 @@ function showURIPair(uriLong, uriShort) { // FIXME req
|
|||||||
|
|
||||||
function showURIShortenerErrorRPC(ret) {
|
function showURIShortenerErrorRPC(ret) {
|
||||||
alertPopup({
|
alertPopup({
|
||||||
txtTitle: 'URI shortener',
|
txtTitle: polyglot.t('URI_shortener'),
|
||||||
txtMessage: 'something went wrong. RPC error message:\n' + (ret && ret.message ? ret.message : ret)
|
txtMessage: 'something went wrong. RPC error message:\n' + (ret && ret.message ? ret.message : ret)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -3869,7 +3869,6 @@ if(preferredLanguage == "pt-BR"){
|
|||||||
'updates_checkout_diff_nfmt': 'Checkout the diff on GitHub to learn what is changed:\n %{link}',
|
'updates_checkout_diff_nfmt': 'Checkout the diff on GitHub to learn what is changed:\n %{link}',
|
||||||
'updates_upstream_isnt_changed': 'A corresponding branch of the source repository seems to have not changed.',
|
'updates_upstream_isnt_changed': 'A corresponding branch of the source repository seems to have not changed.',
|
||||||
"Updating status...": "Atualizando estado da Cadeia de Blocos...", // status of block chain
|
"Updating status...": "Atualizando estado da Cadeia de Blocos...", // status of block chain
|
||||||
"URI_shortener_caption": "URI Shortener",
|
|
||||||
'new_account_briefing': 'A new account was created and it is being propagated to the network. '
|
'new_account_briefing': 'A new account was created and it is being propagated to the network. '
|
||||||
+ 'Please do not close this window, this might take a few minutes.\n\n'
|
+ 'Please do not close this window, this might take a few minutes.\n\n'
|
||||||
+ 'Your secret key is: *%{secretKey}*\n\n'
|
+ 'Your secret key is: *%{secretKey}*\n\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user