Browse Source

fix URI shortener caption localization

readme-update
Simon Grim 8 years ago
parent
commit
61d37b0431
  1. 2
      home.html
  2. 4
      js/interface_common.js
  3. 1
      js/interface_localization.js

2
home.html

@ -49,7 +49,7 @@ @@ -49,7 +49,7 @@
<a href="#" class="mini-profile-name">Fulano da Silva</a>
<span class="mini-profile-view">View</span>
</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="network.html">Network config</a>
<a class="dropdown-menu-item" href="profile-edit.html">Setup account</a>

4
js/interface_common.js

@ -1038,7 +1038,7 @@ function openRequestShortURIForm(event) { @@ -1038,7 +1038,7 @@ function openRequestShortURIForm(event) {
function showURIPair(uriLong, uriShort) { // FIXME req
if (uriShort)
alertPopup({
txtTitle: 'URI shortener',
txtTitle: polyglot.t('URI_shortener'),
txtMessage: uriLong + ' — `' + uriShort + '`'
});
else
@ -1047,7 +1047,7 @@ function showURIPair(uriLong, uriShort) { // FIXME req @@ -1047,7 +1047,7 @@ function showURIPair(uriLong, uriShort) { // FIXME req
function showURIShortenerErrorRPC(ret) {
alertPopup({
txtTitle: 'URI shortener',
txtTitle: polyglot.t('URI_shortener'),
txtMessage: 'something went wrong. RPC error message:\n' + (ret && ret.message ? ret.message : ret)
});
}

1
js/interface_localization.js

@ -3869,7 +3869,6 @@ if(preferredLanguage == "pt-BR"){ @@ -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_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
"URI_shortener_caption": "URI Shortener",
'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'
+ 'Your secret key is: *%{secretKey}*\n\n'

Loading…
Cancel
Save