From d1268c9905db994197a31ece6acaf01e0050fdce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szab=C3=B3=20Gerg=C5=91?= Date: Wed, 9 Nov 2016 21:39:29 +0100 Subject: [PATCH] Translate the Page link popup (#2467) * Translate the Page link popup * Remove the unnecessary dot * Update the import/export Hungarian translation * Update the Froala Hungarian translation --- .../partials/_import_file_columns.htm | 2 +- modules/backend/formwidgets/RichEditor.php | 3 +- .../assets/vendor/froala/js/languages/hu.js | 34 +++++++++---------- .../richeditor/partials/_page_links_form.htm | 4 +-- modules/backend/lang/en/lang.php | 4 +++ modules/backend/lang/hu/lang.php | 28 ++++++++------- 6 files changed, 42 insertions(+), 33 deletions(-) diff --git a/modules/backend/behaviors/importexportcontroller/partials/_import_file_columns.htm b/modules/backend/behaviors/importexportcontroller/partials/_import_file_columns.htm index 7fc78f25c..867769977 100644 --- a/modules/backend/behaviors/importexportcontroller/partials/_import_file_columns.htm +++ b/modules/backend/behaviors/importexportcontroller/partials/_import_file_columns.htm @@ -34,7 +34,7 @@

- . +

diff --git a/modules/backend/formwidgets/RichEditor.php b/modules/backend/formwidgets/RichEditor.php index 17e7069b1..753d004b1 100644 --- a/modules/backend/formwidgets/RichEditor.php +++ b/modules/backend/formwidgets/RichEditor.php @@ -3,6 +3,7 @@ use App; use File; use Event; +use Lang; use Request; use Backend\Classes\FormWidgetBase; use Backend\Models\EditorSetting; @@ -196,7 +197,7 @@ class RichEditor extends FormWidgetBase $links = []; $types = $this->getPageLinkTypes(); - $links[] = ['name' => 'Select a page...', 'url' => false]; + $links[] = ['name' => Lang::get('backend::lang.pagelist.select_page'), 'url' => false]; $iterator = function($links, $level = 0) use (&$iterator) { $result = []; diff --git a/modules/backend/formwidgets/richeditor/assets/vendor/froala/js/languages/hu.js b/modules/backend/formwidgets/richeditor/assets/vendor/froala/js/languages/hu.js index d77661c27..f074ebaae 100644 --- a/modules/backend/formwidgets/richeditor/assets/vendor/froala/js/languages/hu.js +++ b/modules/backend/formwidgets/richeditor/assets/vendor/froala/js/languages/hu.js @@ -25,7 +25,7 @@ $.FE.LANGUAGE['hu'] = { "Cancel": "M\u00e9gse", "OK": "Rendben", "Back": "Vissza", - "Remove": "Elt\ u00e1vol\u00edt\u00e1s", + "Remove": "Elt\u00e1vol\u00edt\u00e1s", "More": "T\u00f6bb", "Update": "Friss\u00edt\u00e9s", "Style": "St\u00edlus", @@ -80,7 +80,7 @@ $.FE.LANGUAGE['hu'] = { "Insert Image": "K\u00e9p beilleszt\u00e9se", "Upload Image": "K\u00e9p felt\u00f6lt\u00e9se", "By URL": "Webc\u00edm megad\u00e1sa", - "Browse": "B\u00f6ng\u00e9sz\u00e9s", + "Browse": "B\u00f6ng\u00e9sz\u00e9s a M\u00e9di\u00e1ban", "Drop image": "H\u00fazza ide a k\u00e9pet", "or click": "vagy kattintson ide", "Manage Images": "K\u00e9pek kezel\u00e9se", @@ -88,14 +88,14 @@ $.FE.LANGUAGE['hu'] = { "Deleting": "T\u00f6rl\u00e9se", "Tags": "C\u00edmk\u00e9k", "Are you sure? Image will be deleted.": "Biztos benne? K\u00e9p t\u00f6rl\u00e9sre ker\u00fcl.", - "Replace": "Cser\u00e9je", + "Replace": "Csere", "Uploading": "Felt\u00f6lt\u00e9s", "Loading image": "K\u00e9pfelt\u00f6lt\u00e9s", "Display": "Kijelz\u0151", "Inline": "Sorban", - "Break Text": "T\u00f6r sz\u00f6veg", - "Alternate Text": "Alternat\u00edv sz\u00f6veget", - "Change Size": "M\u00e9ret\u00e9nek v\u00e1ltoz\u00e1sa", + "Break Text": "Sz\u00f6veg t\u00f6r\u00e9se", + "Alternate Text": "Alternat\u00edv sz\u00f6veg", + "Change Size": "M\u00e9ret m\u00f3dos\u00edt\u00e1sa", "Width": "Sz\u00e9less\u00e9g", "Height": "Magass\u00e1g", "Something went wrong. Please try again.": "Valami elromlott. K\u00e9rlek pr\u00f3b\u00e1ld \u00fajra.", @@ -143,25 +143,25 @@ $.FE.LANGUAGE['hu'] = { // Emoticons "Emoticons": "Hangulatjelek", "Grinning face": "Vigyorg\u00f3", - "Grinning face with smiling eyes": "Vigyorg\u00f3 arca mosolyg\u00f3 szemek", + "Grinning face with smiling eyes": "Vigyorg\u00f3 arc mosolyg\u00f3 szemekkel", "Face with tears of joy": "Arc \u00e1t az \u00f6r\u00f6m k\u00f6nnyei", "Smiling face with open mouth": "Mosolyg\u00f3 arc t\u00e1tott sz\u00e1jjal", "Smiling face with open mouth and smiling eyes": "Mosoly g\u00f3 arc t\u00e1tott sz\u00e1jjal \u00e9s mosolyg\u00f3 szemek", "Smiling face with open mouth and cold sweat": "Mosolyg\u00f3 arc t\u00e1tott sz\u00e1jjal \u00e9s hideg ver\u00edt\u00e9k", "Smiling face with open mouth and tightly-closed eyes": "Mosolyg\u00f3 arc t\u00e1tott sz\u00e1jjal \u00e9s szorosan lehunyt szemmel", - "Smiling face with halo": "Mosolyg\u00f3 arc halo", + "Smiling face with halo": "Mosolyg\u00f3 arc dicsf\u00e9nyben", "Smiling face with horns": "Mosolyg\u00f3 arc szarvakkal", "Winking face": "Kacsint\u00f3s arc", "Smiling face with smiling eyes": "Mosolyg\u00f3 arc mosolyg\u00f3 szemek", "Face savoring delicious food": "Arc \u00edzlelgette \u00edzletes \u00e9telek", - "Relieved face": "Megk\u00f6nnyebb\u00fclt arccal", - "Smiling face with heart-shaped eyes": "Mosolyg\u00f3 arc sz\u00edv alak\u00fa szemek", - "Smilin g face with sunglasses": "Mosolyg\u00f3 arc, napszem\u00fcveg", + "Relieved face": "Megk\u00f6nnyebb\u00fclt arc", + "Smiling face with heart-shaped eyes": "Mosolyg\u00f3 arc sz\u00edv alak\u00fa szemekkel", + "Smilin g face with sunglasses": "Mosolyg\u00f3 arc napszem\u00fcvegben", "Smirking face": "Vigyorg\u00f3 arca", "Neutral face": "Semleges arc", "Expressionless face": "Kifejez\u00e9stelen arc", "Unamused face": "Unott arc", - "Face with cold sweat": "Arc\u00e1n hideg verejt\u00e9k", + "Face with cold sweat": "Arc\u00e1n hideg verejt\u00e9kkel", "Pensive face": "T\u00f6preng\u0151 arc", "Confused face": "Zavaros arc", "Confounded face": "R\u00e1c\u00e1folt arc", @@ -188,15 +188,15 @@ $.FE.LANGUAGE['hu'] = { "Tired face": "F\u00e1radt arc", "Grimacing face": "Elfintorodott arc", "Loudly crying face": "Hangosan s\u00edr\u00f3 arc", - "Face with open mouth": "Arc t\u00e1tott sz\u00e1jjal", - "Hushed face": "Csit\u00edtotta arca", + "Face with open mouth": "Arc nyitott sz\u00e1jjal", + "Hushed face": "Csit\u00edtott arc", "Face with open mouth and cold sweat": "Arc t\u00e1tott sz\u00e1jjal \u00e9s hideg ver\u00edt\u00e9k", "Face screaming in fear": "Sikoltoz\u00f3 arc a f\u00e9lelemt\u0151l", "Astonished face": "Meglepett arc", "Flushed face": "Kipirult arc", - "Sleeping face": "Alv\u00f3 arc\u00e1t", - "Dizzy face": " Sz\u00e1d\u00fcl arca", - "Face without mouth": "Arc n\u00e9lkül sz\u00e1j", + "Sleeping face": "Alv\u00f3 arc", + "Dizzy face": " Sz\u00e1d\u00fcl\u0151 arc", + "Face without mouth": "Arc n\u00e9lküli sz\u00e1j", "Face with medical mask": "Arc\u00e1n orvosi maszk", // Line breaker diff --git a/modules/backend/formwidgets/richeditor/partials/_page_links_form.htm b/modules/backend/formwidgets/richeditor/partials/_page_links_form.htm index 5c7c1bd5b..3a61b9a88 100644 --- a/modules/backend/formwidgets/richeditor/partials/_page_links_form.htm +++ b/modules/backend/formwidgets/richeditor/partials/_page_links_form.htm @@ -1,7 +1,7 @@ 'pageLinksForm']) ?>