瀏覽代碼

"Send" button now labeled "Create", fixes #946

El RIDO 2 年之前
父節點
當前提交
63b2526ee7
共有 40 個文件被更改,包括 42 次插入41 次删除
  1. 1 0
      CHANGELOG.md
  2. 1 1
      i18n/ar.json
  3. 1 1
      i18n/bg.json
  4. 1 1
      i18n/ca.json
  5. 1 1
      i18n/co.json
  6. 1 1
      i18n/cs.json
  7. 1 1
      i18n/de.json
  8. 1 1
      i18n/el.json
  9. 1 1
      i18n/en.json
  10. 1 1
      i18n/es.json
  11. 1 1
      i18n/et.json
  12. 1 1
      i18n/fi.json
  13. 1 1
      i18n/fr.json
  14. 1 1
      i18n/he.json
  15. 1 1
      i18n/hi.json
  16. 1 1
      i18n/hu.json
  17. 1 1
      i18n/id.json
  18. 1 1
      i18n/it.json
  19. 1 1
      i18n/ja.json
  20. 1 1
      i18n/jbo.json
  21. 1 1
      i18n/ku.json
  22. 1 1
      i18n/la.json
  23. 1 1
      i18n/lt.json
  24. 1 1
      i18n/nl.json
  25. 2 2
      i18n/no.json
  26. 1 1
      i18n/oc.json
  27. 1 1
      i18n/pl.json
  28. 1 1
      i18n/pt.json
  29. 1 1
      i18n/ro.json
  30. 1 1
      i18n/ru.json
  31. 1 1
      i18n/sk.json
  32. 1 1
      i18n/sl.json
  33. 1 1
      i18n/sv.json
  34. 1 1
      i18n/th.json
  35. 1 1
      i18n/tr.json
  36. 1 1
      i18n/uk.json
  37. 1 1
      i18n/zh.json
  38. 1 1
      js/test/TopNav.js
  39. 2 2
      tpl/bootstrap.php
  40. 1 1
      tpl/page.php

+ 1 - 0
CHANGELOG.md

@@ -1,6 +1,7 @@
 # PrivateBin version history
 
 ## 1.7.2 (not yet released)
+* CHANGED: "Send" button now labeled "Create" (#946)
 
 ## 1.7.1 (2024-02-11)
 * FIXED: zlib 1.3.1 wasm file reference

+ 1 - 1
i18n/ar.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "جافاسكرِبت (JavaScript) مطلوب %s للعمل. نأسف للإزعاج.",
     "%s requires a modern browser to work.": "%s يتطلب متصفحًا حديثًا للعمل.",
     "New": "جديد",
-    "Send": "إرسال",
+    "Create": "إرسال",
     "Clone": "استنساخ",
     "Raw text": "نص خام",
     "Expires": "تنتهي",

+ 1 - 1
i18n/bg.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "Услугата %s се нуждае от JavaScript, за да работи. Съжаляваме за неудобството.",
     "%s requires a modern browser to work.": "%s се нуждае от съвременен браузър за да работи.",
     "New": "Създаване",
-    "Send": "Изпрати",
+    "Create": "Изпрати",
     "Clone": "Дублирай",
     "Raw text": "Чист текст",
     "Expires": "Изтича",

+ 1 - 1
i18n/ca.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "Cal JavaScript perquè %s funcioni. Em sap greu les molèsties.",
     "%s requires a modern browser to work.": "%s requereix un navegador modern per funcionar.",
     "New": "Nou",
-    "Send": "Enviar",
+    "Create": "Enviar",
     "Clone": "Clona",
     "Raw text": "Text sense processar",
     "Expires": "Caducitat",

+ 1 - 1
i18n/co.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript hè richiestu per fà funziunà %s. Scusate per stu penseru.",
     "%s requires a modern browser to work.": "%s richiede un navigatore mudernu per funziunà.",
     "New": "Novu",
-    "Send": "Mandà",
+    "Create": "Mandà",
     "Clone": "Duppione",
     "Raw text": "Testu grossu",
     "Expires": "Scadenza",

+ 1 - 1
i18n/cs.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "Pro fungování %s je vyžadován JavaScript. Omlouváme se za nepříjemnosti.",
     "%s requires a modern browser to work.": "%%s requires a modern browser to work.",
     "New": "Nový",
-    "Send": "Odeslat",
+    "Create": "Odeslat",
     "Clone": "Klonovat",
     "Raw text": "Pouze Text",
     "Expires": "Expirace",

+ 1 - 1
i18n/de.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript ist eine Voraussetzung, um %s zu nutzen. Bitte entschuldige die Unannehmlichkeiten.",
     "%s requires a modern browser to work.": "%s setzt einen modernen Browser voraus, um funktionieren zu können.",
     "New": "Neu",
-    "Send": "Senden",
+    "Create": "Erstellen",
     "Clone": "Klonen",
     "Raw text": "Reiner Text",
     "Expires": "Ablaufzeit",

+ 1 - 1
i18n/el.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "Η JavaScript είναι απαραίτητη για να λειτουργήσει το %s. Συγγνώμη για την ταλαιπωρία.",
     "%s requires a modern browser to work.": "%s απαιτεί σύγχρονο φυλλομετρητή (browser) για να λειτουργήσει.",
     "New": "Νέο",
-    "Send": "Αποστολή",
+    "Create": "Αποστολή",
     "Clone": "Κλωνοποίηση",
     "Raw text": "Κείμενο",
     "Expires": "Λήγει",

+ 1 - 1
i18n/en.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript is required for %s to work. Sorry for the inconvenience.",
     "%s requires a modern browser to work.": "%s requires a modern browser to work.",
     "New": "New",
-    "Send": "Save",
+    "Create": "Save",
     "Clone": "Clone",
     "Raw text": "Raw text",
     "Expires": "Expires",

+ 1 - 1
i18n/es.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript es necesario para que %s funcione. Sentimos los inconvenientes ocasionados.",
     "%s requires a modern browser to work.": "%s requiere un navegador moderno para funcionar.",
     "New": "Nuevo",
-    "Send": "Enviar",
+    "Create": "Enviar",
     "Clone": "Clonar",
     "Raw text": "Texto sin formato",
     "Expires": "Caducar en",

+ 1 - 1
i18n/et.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript on vajalik %s'i töötamiseks. Vabandame ebamugavuste pärast.",
     "%s requires a modern browser to work.": "%s vajab töötamiseks kaasaegset brauserit.",
     "New": "Uus",
-    "Send": "Saada",
+    "Create": "Saada",
     "Clone": "Klooni",
     "Raw text": "Lähtetekst",
     "Expires": "Aegub",

+ 1 - 1
i18n/fi.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "%s vaatii JavaScriptiä toimiakseen. Anteeksi haitasta.",
     "%s requires a modern browser to work.": "%s vaatii modernin selaimen toimiakseen.",
     "New": "Uusi",
-    "Send": "Lähetä",
+    "Create": "Lähetä",
     "Clone": "Kloonaa",
     "Raw text": "Raaka teksti",
     "Expires": "Vanhenee",

+ 1 - 1
i18n/fr.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript est requis pour faire fonctionner %s. Désolé pour cet inconvénient.",
     "%s requires a modern browser to work.": "%s nécessite un navigateur moderne pour fonctionner.",
     "New": "Nouveau",
-    "Send": "Sauvegarder",
+    "Create": "Sauvegarder",
     "Clone": "Cloner",
     "Raw text": "Texte brut",
     "Expires": "Expire",

+ 1 - 1
i18n/he.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "צריך JavaScript כדי לאפשר ל־%s לפעול. סליחה על חוסר הנוחות.",
     "%s requires a modern browser to work.": "%s דורש דפדפן מודרני כדי לפעול.",
     "New": "חדש",
-    "Send": "שליחה",
+    "Create": "שליחה",
     "Clone": "שכפול",
     "Raw text": "טקסט גולמי",
     "Expires": "Expires",

+ 1 - 1
i18n/hi.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript is required for %s to work. Sorry for the inconvenience.",
     "%s requires a modern browser to work.": "%s requires a modern browser to work.",
     "New": "New",
-    "Send": "Send",
+    "Create": "Create",
     "Clone": "Clone",
     "Raw text": "Raw text",
     "Expires": "Expires",

+ 1 - 1
i18n/hu.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript szükséges a %s működéséhez. Elnézést a fennakadásért.",
     "%s requires a modern browser to work.": "A %s működéséhez a jelenleginél újabb böngészőre van szükség.",
     "New": "Új",
-    "Send": "Beküldöm!",
+    "Create": "Beküldöm!",
     "Clone": "Másol",
     "Raw text": "A nyers szöveg",
     "Expires": "Lejárati idő",

+ 1 - 1
i18n/id.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript diperlukan agar %s bekerja. Maaf untuk ketidaknyamanannya.",
     "%s requires a modern browser to work.": "%s memerlukan sebuah browser modern untuk bekerja.",
     "New": "Baru",
-    "Send": "Kirim",
+    "Create": "Kirim",
     "Clone": "Klon",
     "Raw text": "Teks mentah",
     "Expires": "Kadaluarsa",

+ 1 - 1
i18n/it.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "%s funziona solo con JavaScript attivo. Ci dispiace per l'inconveniente.",
     "%s requires a modern browser to work.": "%s richiede un browser moderno e aggiornato per funzionare.",
     "New": "Nuovo",
-    "Send": "Invia",
+    "Create": "Invia",
     "Clone": "Clona",
     "Raw text": "Testo Raw",
     "Expires": "Scade",

+ 1 - 1
i18n/ja.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "%s の動作にはJavaScriptが必要です。ご迷惑をおかけして申し訳ありません。",
     "%s requires a modern browser to work.": "%s の動作には最近のブラウザが必要です。",
     "New": "新規",
-    "Send": "送信",
+    "Create": "送信",
     "Clone": "複製",
     "Raw text": "未加工テキスト",
     "Expires": "有効期限",

+ 1 - 1
i18n/jbo.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript is required for %s to work. Sorry for the inconvenience.",
     "%s requires a modern browser to work.": "%s requires a modern browser to work.",
     "New": "cnino",
-    "Send": "benji",
+    "Create": "benji",
     "Clone": "fukpi",
     "Raw text": "vlapoi nalselrucyzu'e",
     "Expires": "vimcu",

+ 1 - 1
i18n/ku.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript is required for %s to work. Sorry for the inconvenience.",
     "%s requires a modern browser to work.": "%s requires a modern browser to work.",
     "New": "New",
-    "Send": "Send",
+    "Create": "Create",
     "Clone": "Clone",
     "Raw text": "Raw text",
     "Expires": "Expires",

+ 1 - 1
i18n/la.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript is required for %s to work. Sorry for the inconvenience.",
     "%s requires a modern browser to work.": "%s requires a modern browser to work.",
     "New": "New",
-    "Send": "Send",
+    "Create": "Create",
     "Clone": "Clone",
     "Raw text": "Raw text",
     "Expires": "Expires",

+ 1 - 1
i18n/lt.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "%s darbui reikalinga JavaScript. Atsiprašome už nepatogumus.",
     "%s requires a modern browser to work.": "%s savo darbui reikalauja šiuolaikinės naršyklės.",
     "New": "Naujas",
-    "Send": "Siųsti",
+    "Create": "Siųsti",
     "Clone": "Dubliuoti",
     "Raw text": "Neapdorotas tekstas",
     "Expires": "Baigs galioti po",

+ 1 - 1
i18n/nl.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript vereist om %s te laten werken. Sorry voor het ongemak.",
     "%s requires a modern browser to work.": "%s vereist een moderne browser om te kunnen werken.",
     "New": "Nieuw",
-    "Send": "Verzenden",
+    "Create": "Verzenden",
     "Clone": "Klonen",
     "Raw text": "Onbewerkte tekst",
     "Expires": "Verloopt",

+ 2 - 2
i18n/no.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "Javascript kreves for at %s skal fungere. Beklager.",
     "%s requires a modern browser to work.": "%s krever en moderne nettleser for å fungere.",
     "New": "Ny",
-    "Send": "Send",
+    "Create": "Create",
     "Clone": "Kopier",
     "Raw text": "Ren tekst",
     "Expires": "Utgår",
@@ -143,7 +143,7 @@
     "Avatar generated from IP address": "Anonym avatar generert med data fra IP adressen)",
     "Add comment": "Legg til kommentar",
     "Optional nickname…": "Valgfritt kallenavn…",
-    "Post comment": "Send kommentar",
+    "Post comment": "Create kommentar",
     "Sending comment…": "Sender Kommentar…",
     "Comment posted.": "Kommentar sendt.",
     "Could not refresh display: %s": "Kunne ikke oppdatere bildet: %s",

+ 1 - 1
i18n/oc.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript es requesit per far foncionar %s. O planhèm per l’inconvenient.",
     "%s requires a modern browser to work.": "%s requerís un navigator modèrn per foncionar.",
     "New": "Nòu",
-    "Send": "Mandar",
+    "Create": "Mandar",
     "Clone": "Clonar",
     "Raw text": "Tèxte brut",
     "Expires": "Expira",

+ 1 - 1
i18n/pl.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "Do działania %sa jest wymagany JavaScript. Przepraszamy za tę niedogodność.",
     "%s requires a modern browser to work.": "%s wymaga do działania nowoczesnej przeglądarki.",
     "New": "Nowa",
-    "Send": "Wyślij",
+    "Create": "Wyślij",
     "Clone": "Sklonuj",
     "Raw text": "Czysty tekst",
     "Expires": "Wygasa za",

+ 1 - 1
i18n/pt.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript é necessário para que %s funcione. Pedimos desculpas pela inconveniência.",
     "%s requires a modern browser to work.": "%s requer um navegador moderno para funcionar.",
     "New": "Novo",
-    "Send": "Enviar",
+    "Create": "Enviar",
     "Clone": "Clonar",
     "Raw text": "Texto sem formato",
     "Expires": "Expirar em",

+ 1 - 1
i18n/ro.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript este necesar pentru ca %s să funcționeze. Ne cerem scuze pentru neplăceri.",
     "%s requires a modern browser to work.": "%s necesită un browser modern pentru a funcționa.",
     "New": "Nou",
-    "Send": "Trimiteți",
+    "Create": "Trimiteți",
     "Clone": "Clonați",
     "Raw text": "Text brut",
     "Expires": "Expiră",

+ 1 - 1
i18n/ru.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "Для работы %s требуется включенный JavaScript. Приносим извинения за неудобства.",
     "%s requires a modern browser to work.": "Для работы %s требуется более современный браузер.",
     "New": "Новая запись",
-    "Send": "Отправить",
+    "Create": "Отправить",
     "Clone": "Дублировать",
     "Raw text": "Исходный текст",
     "Expires": "Удалить через",

+ 1 - 1
i18n/sk.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "Na fungovanie %s je potrebný JavaScript. Ospravedlňujeme sa za nepríjemnosti.",
     "%s requires a modern browser to work.": "%s vyžaduje na fungovanie moderný prehliadač.",
     "New": "Nový",
-    "Send": "Odoslať",
+    "Create": "Odoslať",
     "Clone": "Klonovať",
     "Raw text": "Surový text",
     "Expires": "Expirácia",

+ 1 - 1
i18n/sl.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "Da %s deluje, moraš vklopiti JavaScript. Oprosti za povročene nevšečnosti.",
     "%s requires a modern browser to work.": "%s za svoje delovanje potrebuje moderen brskalnik.",
     "New": "Nov prilepek",
-    "Send": "Pošlji",
+    "Create": "Pošlji",
     "Clone": "Kloniraj",
     "Raw text": "Surov tekst",
     "Expires": "Poteče",

+ 1 - 1
i18n/sv.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript is required for %s to work. Sorry for the inconvenience.",
     "%s requires a modern browser to work.": "%s requires a modern browser to work.",
     "New": "New",
-    "Send": "Send",
+    "Create": "Create",
     "Clone": "Clone",
     "Raw text": "Raw text",
     "Expires": "Expires",

+ 1 - 1
i18n/th.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "จำเป็นต้องใช้ JavaScript เพื่อให้ %s สามารถทำงานได้ ขออภัยในความไม่สะดวก",
     "%s requires a modern browser to work.": "%s ต้องใช้เบราว์เซอร์สมัยใหม่ถึงจะสามารถใช้งานได้",
     "New": "ใหม่",
-    "Send": "ส่ง",
+    "Create": "ส่ง",
     "Clone": "โคลน",
     "Raw text": "ข้อความล้วน",
     "Expires": "หมดอายุ",

+ 1 - 1
i18n/tr.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript %s 'in çalışması için gereklidir. Rahatsızlıktan dolayı özür dileriz.",
     "%s requires a modern browser to work.": "%s çalışmak için çağdaş bir tarayıcı gerektirir.",
     "New": "Yeni",
-    "Send": "Gönder",
+    "Create": "Gönder",
     "Clone": "Kopyala",
     "Raw text": "Açık yazı",
     "Expires": "Süre Sonu",

+ 1 - 1
i18n/uk.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "Для роботи %s потрібен увімкнутий JavaScript. Вибачте.",
     "%s requires a modern browser to work.": "Для роботи %s потрібен більш сучасний переглядач.",
     "New": "Новий допис",
-    "Send": "Відправити",
+    "Create": "Відправити",
     "Clone": "Дублювати",
     "Raw text": "Початковий текст",
     "Expires": "Вилучити через",

+ 1 - 1
i18n/zh.json

@@ -26,7 +26,7 @@
     "JavaScript is required for %s to work. Sorry for the inconvenience.": "%s 需要 JavaScript 来进行加解密。 给你带来的不便敬请谅解。",
     "%s requires a modern browser to work.": "%s 需要在现代浏览器上工作。",
     "New": "新建",
-    "Send": "送出",
+    "Create": "送出",
     "Clone": "复制",
     "Raw text": "纯文本",
     "Expires": "有效期",

+ 1 - 1
js/test/TopNav.js

@@ -77,7 +77,7 @@ describe('TopNav', function () {
                     '<li id="attach" class="hidden">Attach a file</li><li>' +
                     '<a id="formatter" href="#" class="hidden">Format</a>' +
                     '</li><li><button id="sendbutton" type="button" ' +
-                    'class="hidden">Send</button></li></ul></div></nav>'
+                    'class="hidden">Create</button></li></ul></div></nav>'
                 );
                 $.PrivateBin.TopNav.init();
                 results.push(

+ 2 - 2
tpl/bootstrap.php

@@ -209,7 +209,7 @@ endif;
 if ($isPage) :
 ?>
 						<button id="sendbutton" type="button" class="hidden btn btn-<?php echo $isDark ? 'warning' : 'primary'; ?> navbar-btn">
-							<span class="glyphicon glyphicon-upload" aria-hidden="true"></span> <?php echo I18n::_('Send'), PHP_EOL;
+							<span class="glyphicon glyphicon-upload" aria-hidden="true"></span> <?php echo I18n::_('Create'), PHP_EOL;
 else :
 ?>
 						<button id="newbutton" type="button" class="hidden btn btn-<?php echo $isDark ? 'warning' : 'default'; ?> navbar-btn">
@@ -561,7 +561,7 @@ if ($isPage) :
 else :
 ?>
 						<button id="sendbutton" type="button" class="hidden btn btn-<?php echo $isDark ? 'warning' : 'primary'; ?>">
-							<span class="glyphicon glyphicon-upload" aria-hidden="true"></span> <?php echo I18n::_('Send'), PHP_EOL;
+							<span class="glyphicon glyphicon-upload" aria-hidden="true"></span> <?php echo I18n::_('Create'), PHP_EOL;
 endif;
 ?>
 						</button>

+ 1 - 1
tpl/page.php

@@ -125,7 +125,7 @@ endif;
 				<div id="toolbar">
 					<button id="newbutton" class="reloadlink hidden"><img src="img/icon_new.png" width="11" height="15" alt="" /><?php echo I18n::_('New'); ?></button>
 					<button id="retrybutton" class="reloadlink hidden"><?php echo I18n::_('Retry'), PHP_EOL; ?></button>
-					<button id="sendbutton" class="hidden"><img src="img/icon_send.png" width="18" height="15" alt="" /><?php echo I18n::_('Send'); ?></button>
+					<button id="sendbutton" class="hidden"><img src="img/icon_send.png" width="18" height="15" alt="" /><?php echo I18n::_('Create'); ?></button>
 					<button id="clonebutton" class="hidden"><img src="img/icon_clone.png" width="15" height="17" alt="" /><?php echo I18n::_('Clone'); ?></button>
 					<button id="rawtextbutton" class="hidden"><img src="img/icon_raw.png" width="15" height="15" alt="" /><?php echo I18n::_('Raw text'); ?></button>
 					<button id="downloadtextbutton" class="hidden"><?php echo I18n::_('Save paste'), PHP_EOL; ?></button>