Skip to content

Commit 3983b1f

Browse files
committed
add translations
1 parent 07c4555 commit 3983b1f

5 files changed

+14
-12
lines changed

assets_js_bitrequest_coin_settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ function key_management() {
11951195
all_pinpanel({
11961196
"func": phrase_info_pu,
11971197
"args": thiscurrency
1198-
}, true);
1198+
}, true, true);
11991199
return
12001200
}
12011201
}

assets_js_bitrequest_core.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ function enterapp(pinval) {
736736
canceloptions(true);
737737
} else if (pinfloat.hasClass("reset")) {
738738
br_set_local("locktime", _now);
739-
$("#pintext").text("Enter new pin");
739+
$("#pintext").text(translate("enternewpin"));
740740
pinfloat.addClass("p_admin").removeClass("pinwall reset");
741741
playsound(glob_waterdrop);
742742
setTimeout(function() {
@@ -1873,11 +1873,10 @@ function payment_lookup(request_dat) {
18731873
content = "<div class='formbox'>\
18741874
<h2 class='icon-warning'><span class='icon-qrcode'/>" + translate("nodetection") + "</h2>\
18751875
<div id='ad_info_wrap'>\
1876-
<p><strong>" + translate("lookuppayment", {
1877-
"bu_url": bu_url,
1878-
"currency": currency,
1879-
"blockexplorer": blockexplorer
1880-
}) + "</strong></p>\
1876+
<p><strong><a href='" + bu_url + "' target='_blank' class='ref check_recent'>" + translate("lookuppayment", {
1877+
"currency": currency,
1878+
"blockexplorer": blockexplorer
1879+
}) + " <span class='icon-new-tab'></span></a></strong></p>\
18811880
<div class='pk_wrap noselect'>\
18821881
<div id='dontshowwrap' class='cb_wrap' data-checked='false'><span class='checkbox'></span></div>\
18831882
<span>" + translate("dontshowagain") + "</span>\
@@ -3180,7 +3179,7 @@ function show_pk() {
31803179
all_pinpanel({
31813180
"func": show_pk_cb,
31823181
"args": privkey
3183-
}, true)
3182+
}, true, true)
31843183
})
31853184
}
31863185

@@ -3234,7 +3233,7 @@ function show_vk() {
32343233
all_pinpanel({
32353234
"func": show_vk_cb,
32363235
"args": x_ko
3237-
}, true)
3236+
}, true, true)
32383237
})
32393238
}
32403239

assets_js_bitrequest_lang_en.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function lang_en(id, data) {
153153
"send": "Send",
154154
"to": "to",
155155
"nodetection": "No payment detected",
156-
"lookuppayment": "<a href='" + data.bu_url + "' target='_blank' class='ref check_recent'>Look for recent incoming " + data.currency + " payments on " + data.blockexplorer + " <span class='icon-new-tab'></a>",
156+
"lookuppayment": "Look for recent incoming " + data.currency + " payments on " + data.blockexplorer,
157157
"dontshowagain": "Don't show again",
158158
"dismiss": "dismiss",
159159
"activateintegrated": "Activate integrated addresses",
@@ -483,6 +483,7 @@ function lang_en(id, data) {
483483
"createpin": "Create a 4-digit pin",
484484
"locktime": "Lock time",
485485
"resetpin": "Reset pin",
486+
"enternewpin": "Enter new pin",
486487
"minute": "minute",
487488
"minutes": "minutes",
488489
"never": "never",

assets_js_bitrequest_lang_fr.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function lang_fr(id, data) {
153153
"send": "Envoyer",
154154
"to": "à",
155155
"nodetection": "Aucun paiement détecté",
156-
"lookuppayment": "<a href='" + data.bu_url + "' target='_blank' class='ref check_recent'>Vérifiez pour des paiements " + data.currency + " récents sur " + data.blockexplorer + " <span class='icon-new-tab'></a>",
156+
"lookuppayment": "Vérifiez pour des paiements " + data.currency + " récents sur " + data.blockexplorer,
157157
"dontshowagain": "Ne plus afficher",
158158
"dismiss": "rejeter",
159159
"activateintegrated": "Activer les adresses intégrées",
@@ -483,6 +483,7 @@ function lang_fr(id, data) {
483483
"createpin": "Créer un code PIN à 4 chiffres",
484484
"locktime": "Temps de verrouillage",
485485
"resetpin": "Réinitialiser le code PIN",
486+
"enternewpin": "Entrez un nouveau code PIN",
486487
"minute": "minute",
487488
"minutes": "minutes",
488489
"never": "jamais",

assets_js_bitrequest_lang_nl.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function lang_nl(id, data) {
153153
"send": "Verstuur",
154154
"to": "naar",
155155
"nodetection": "Geen betaling gedetecteerd",
156-
"lookuppayment": "<a href='" + data.bu_url + "' target='_blank' class='ref check_recent'>Kijk voor recente inkomende " + data.currency + " betalingen op " + data.blockexplorer + " <span class='icon-new-tab'></a>",
156+
"lookuppayment": "Kijk voor recente inkomende " + data.currency + " betalingen op " + data.blockexplorer,
157157
"dontshowagain": "Toon deze melding niet meer",
158158
"dismiss": "negeer",
159159
"activateintegrated": "Activate geïntegreerde adressen",
@@ -483,6 +483,7 @@ function lang_nl(id, data) {
483483
"createpin": "Kies een 4 cijferige pincode",
484484
"locktime": "Vergrendel tijd",
485485
"resetpin": "Herstel pin",
486+
"enternewpin": "Voer een nieuwe pincode in",
486487
"minute": "minuut",
487488
"minutes": "minuten",
488489
"never": "nooit",

0 commit comments

Comments
 (0)