Add missing translation and update the Hungarian translate (#2017)

* Add missing translation

* Update the Hungarian translate

* Open the author's website in a new window

* Minor typo

* Minor change
This commit is contained in:
Szabó Gergő 2016-05-23 22:04:57 +02:00 committed by Samuel Georges
parent 8caba09993
commit 6d86e44279
8 changed files with 58 additions and 57 deletions

View File

@ -136,10 +136,11 @@ return [
'refresh' => 'Refresh',
'updating' => 'Updating...',
'loading' => 'Loading...',
'setup_title' => 'List Setup',
'setup_title' => 'List setup',
'setup_help' => 'Use checkboxes to select columns you want to see in the list. You can change position of columns by dragging them up or down.',
'records_per_page' => 'Records per page',
'records_per_page_help' => 'Select the number of records per page to display. Please note that high number of records on a single page can reduce performance.',
'check' => 'Check',
'delete_selected' => 'Delete selected',
'delete_selected_empty' => 'There are no selected records to delete.',
'delete_selected_confirm' => 'Delete the selected records?',
@ -253,7 +254,7 @@ return [
],
'reorder' => [
'default_title' => 'Reorder records',
'no_records' => 'There are no records available to sort.',
'no_records' => 'There are no records available to sort.'
],
'model' => [
'name' => 'Model',
@ -328,7 +329,7 @@ return [
'menu_mode' => 'Menu style',
'menu_mode_inline' => 'Inline',
'menu_mode_tile' => 'Tiles',
'menu_mode_collapsed' => 'Collapsed',
'menu_mode_collapsed' => 'Collapsed'
],
'backend_preferences' => [
'menu_label' => 'Back-end preferences',
@ -354,7 +355,7 @@ return [
'filter' => [
'all' => 'all',
'options_method_not_exists' => "The model class :model must define a method :method() returning options for the ':filter' filter.",
'date_all' => 'all period',
'date_all' => 'all period'
],
'import_export' => [
'upload_csv_file' => '1. Upload a CSV file',
@ -426,6 +427,6 @@ return [
'iso_8859_15' => 'ISO-8859-15 (Latin-9, Western European revision with euro sign)',
'windows_1251' => 'Windows-1251 (CP1251)',
'windows_1252' => 'Windows-1252 (CP1252)'
],
],
]
]
];

View File

@ -124,7 +124,7 @@ return [
'search_prompt' => 'Keresés...',
'no_records' => 'Nincs megjeleníthető tartalom.',
'missing_model' => 'Nincs modell definiálva a(z) :class osztályban használt lista viselkedéshez.',
'missing_column' => 'Nincsenek oszlopdefiníciók a(z) :columns oszlopok számára.',
'missing_column' => 'Nincsenek oszlop definíciók a(z) :columns oszlopok számára.',
'missing_columns' => 'A(z) :class osztályban használt listának nincsenek definiált lista oszlopai.',
'missing_definition' => "A lista viselkedés nem tartalmaz oszlopot a(z) ':field' mező számára.",
'missing_parent_definition' => "A lista viselkedés nem tartalmaz definiciót az alábbihoz: ':definition'.",
@ -136,10 +136,11 @@ return [
'refresh' => 'Frissítés',
'updating' => 'Feltöltés...',
'loading' => 'Betöltés...',
'setup_title' => 'Lista beállítása',
'setup_title' => 'Lista testreszabása',
'setup_help' => 'A jelölőnégyzetek használatával válassza ki azokat az oszlopokat, melyeket látni szeretne a listában. Az oszlopok pozícióját felfelé vagy lefelé húzással módosíthatja.',
'records_per_page' => 'Listázás',
'records_per_page_help' => 'Adja meg az elemek laponként megjelenítendő számát. Minél nagyobbat választ, annál több időbe kerül a lista frissítése. Az ajánlott érték 20 és 40 közötti.',
'check' => 'Bejelöl',
'delete_selected' => 'Kiválasztottak törlése',
'delete_selected_empty' => 'A törléshez előbb ki kell választani elemet.',
'delete_selected_confirm' => 'Töröljük a kiválasztott elemeket?',
@ -328,7 +329,7 @@ return [
'menu_mode' => 'Menü stílusa',
'menu_mode_inline' => 'Egysoros',
'menu_mode_tile' => 'Csempés',
'menu_mode_collapsed' => 'Összezárt',
'menu_mode_collapsed' => 'Összezárt'
],
'backend_preferences' => [
'menu_label' => 'Admin felület',
@ -353,7 +354,8 @@ return [
],
'filter' => [
'all' => 'mind',
'options_method_not_exists' => "The model class :model must define a method :method() returning options for the ':filter' filter."
'options_method_not_exists' => "The model class :model must define a method :method() returning options for the ':filter' filter.",
'date_all' => 'minden időszak'
],
'import_export' => [
'upload_csv_file' => '1. CSV fájl feltöltése',
@ -383,7 +385,7 @@ return [
'warnings' => 'Figyelmeztetések',
'errors' => 'Hibák',
'skipped_rows' => 'Kihagyott sorok',
'import_progress' => 'Importálás folyamatban',
'import_progress' => 'Importálás folyamatban...',
'processing' => 'Folyamatban',
'import_error' => 'Importálási hiba',
'upload_valid_csv' => 'Kérjük töltsön fel érvényes CSV fájlt.',
@ -395,11 +397,11 @@ return [
'export_error' => 'Exportálási hiba',
'column_preview' => 'Oszlop előnézete',
'file_not_found_error' => 'A fájl nem található',
'empty_error' => 'There was no data supplied to export',
'empty_import_columns_error' => 'Please specify some columns to import.',
'match_some_column_error' => 'Please match some columns first.',
'empty_error' => 'Nincs adat az exportáláshoz.',
'empty_import_columns_error' => 'Kérjük adjon meg néhány oszlopot az importáláshoz.',
'match_some_column_error' => 'Kérjük elsőként párosítson össze oszlopokat.',
'required_match_column_error' => 'Please specify a match for the required field :label.',
'empty_export_columns_error' => 'Please specify some columns to export.',
'empty_export_columns_error' => 'Kérjük adjon meg néhány oszlopot az exportáláshoz.',
'behavior_missing_uselist_error' => 'You must implement the controller behavior ListController with the export "useList" option enabled.',
'missing_model_class_error' => 'Please specify the modelClass property for :type',
'missing_column_id_error' => 'Hiányzó oszlop azonosító',

View File

@ -5,6 +5,6 @@
name="checked[]"
id="<?= $this->getId('checkbox-' . $record->getKey()) ?>"
value="<?= $record->getKey() ?>" />
<label for="<?= $this->getId('checkbox-' . $record->getKey()) ?>">Check</label>
<label for="<?= $this->getId('checkbox-' . $record->getKey()) ?>"><?= e(trans('backend::lang.list.check')) ?></label>
</div>
</td>
</td>

View File

@ -41,7 +41,7 @@
<?php if ($showSetup): ?>
<th class="list-setup">
<a href="javascript:;"
title="List setup"
title="<?= e(trans('backend::lang.list.setup_title')) ?>"
data-control="popup"
data-handler="<?= $this->getEventHandler('onLoadSetup') ?>"></a>
</th>

View File

@ -1,9 +1,8 @@
/* ========================================================================
* October CMS: front-end JavaScript extras
* OctoberCMS: front-end JavaScript extras
* http://octobercms.com
* ========================================================================
* Copyright 2014 Alexey Bobkov, Samuel Georges
*
* Copyright 2016 Alexey Bobkov, Samuel Georges
* ======================================================================== */
/*
@ -23,7 +22,7 @@
if ($.oc === undefined)
$.oc = {}
var StripeLoadIndicator = function () {
var StripeLoadIndicator = function() {
var self = this
this.counter = 0
this.indicator = $('<div/>').addClass('stripe-loading-indicator loaded')
@ -31,7 +30,7 @@
.append($('<div />').addClass('stripe-loaded'))
this.stripe = this.indicator.find('.stripe')
$(document).ready(function(){
$(document).ready(function() {
$(document.body).append(self.indicator)
})
}
@ -76,7 +75,7 @@
// This code will cover instances where the element has been removed
// from the DOM, making the resolution event below an orphan.
var $el = $(this)
$(window).one('ajaxUpdateComplete', function(){
$(window).one('ajaxUpdateComplete', function() {
if ($el.closest('html').length === 0)
$.oc.stripeLoadIndicator.hide()
})
@ -85,4 +84,4 @@
$.oc.stripeLoadIndicator.hide()
})
}(window.jQuery);
}(window.jQuery);

View File

@ -1,13 +1,12 @@
/* ========================================================================
* October CMS: front-end JavaScript framework
* OctoberCMS: front-end JavaScript framework
* http://octobercms.com
* ========================================================================
* Copyright 2016 Alexey Bobkov, Samuel Georges
*
* ======================================================================== */
if (window.jQuery === undefined)
throw new Error('The jQuery library is not loaded. The October CMS framework cannot be initialized.');
throw new Error('The jQuery library is not loaded. The OctoberCMS framework cannot be initialized.');
+function ($) { "use strict";
@ -33,7 +32,7 @@ if (window.jQuery === undefined)
_event.promise = $.Deferred()
if ($(window).triggerHandler(_event, [message]) !== undefined) {
_event.promise.done(function(){
_event.promise.done(function() {
options.confirm = null
new Request(element, handler, options)
})
@ -68,7 +67,7 @@ if (window.jQuery === undefined)
var data = [$form.serialize()]
$.each($el.parents('[data-request-data]').toArray().reverse(), function extendRequest(){
$.each($el.parents('[data-request-data]').toArray().reverse(), function extendRequest() {
data.push($.param(paramToObj('data-request-data', $(this).data('request-data'))))
})
@ -106,7 +105,7 @@ if (window.jQuery === undefined)
*/
var updatePromise = requestOptions.handleUpdateResponse(data, textStatus, jqXHR)
updatePromise.done(function(){
updatePromise.done(function() {
$triggerEl.trigger('ajaxSuccess', [context, data, textStatus, jqXHR])
options.evalSuccess && eval('(function($el, context, data, textStatus, jqXHR) {'+options.evalSuccess+'}.call($el.get(0), $el, context, data, textStatus, jqXHR))')
})
@ -142,7 +141,7 @@ if (window.jQuery === undefined)
updatePromise.resolve()
}
updatePromise.done(function(){
updatePromise.done(function() {
$el.data('error-message', errorMsg)
/*
@ -187,7 +186,7 @@ if (window.jQuery === undefined)
/*
* Update partials and finish request
*/
var updatePromise = $.Deferred().done(function(){
var updatePromise = $.Deferred().done(function() {
for (var partial in data) {
/*
* If a partial has been supplied on the client side that matches the server supplied key, look up
@ -207,7 +206,7 @@ if (window.jQuery === undefined)
/*
* Wait for .html() method to finish rendering from partial updates
*/
setTimeout(function(){
setTimeout(function() {
$(window)
.trigger('ajaxUpdateComplete', [context, data, textStatus, jqXHR])
.trigger('resize')
@ -230,7 +229,7 @@ if (window.jQuery === undefined)
*/
if (data['X_OCTOBER_ERROR_FIELDS']) {
var isFirstInvalidField = true
$.each(data['X_OCTOBER_ERROR_FIELDS'], function focusErrorField(fieldName, fieldMessages){
$.each(data['X_OCTOBER_ERROR_FIELDS'], function focusErrorField(fieldName, fieldMessages) {
var fieldElement = $form.find('[name="'+fieldName+'"], [name="'+fieldName+'[]"], [name$="['+fieldName+']"], [name$="['+fieldName+'][]"]').filter(':enabled').first()
if (fieldElement.length > 0) {
@ -273,19 +272,19 @@ if (window.jQuery === undefined)
$(window).trigger('ajaxBeforeSend', [context])
$el.trigger('ajaxPromise', [context])
return $.ajax(requestOptions)
.fail(function(jqXHR, textStatus, errorThrown){
.fail(function(jqXHR, textStatus, errorThrown) {
if (!isRedirect) {
$el.trigger('ajaxFail', [context, textStatus, jqXHR])
if (loading) loading.hide()
}
})
.done(function(data, textStatus, jqXHR){
.done(function(data, textStatus, jqXHR) {
if (!isRedirect) {
$el.trigger('ajaxDone', [context, data, textStatus, jqXHR])
if (loading) loading.hide()
}
})
.always(function(dataOrXhr, textStatus, xhrOrError){
.always(function(dataOrXhr, textStatus, xhrOrError) {
$el.trigger('ajaxAlways', [context, dataOrXhr, textStatus, xhrOrError])
})
}
@ -317,7 +316,7 @@ if (window.jQuery === undefined)
var old = $.fn.request
$.fn.request = function (handler, option) {
$.fn.request = function(handler, option) {
var args = arguments
var $this = $(this).first()
@ -339,14 +338,14 @@ if (window.jQuery === undefined)
$.fn.request.Constructor = Request
$.request = function (handler, option) {
$.request = function(handler, option) {
return $('<form />').request(handler, option)
}
// REQUEST NO CONFLICT
// =================
$.fn.request.noConflict = function () {
$.fn.request.noConflict = function() {
$.fn.request = old
return this
}
@ -366,16 +365,16 @@ if (window.jQuery === undefined)
}
}
$(document).on('change', 'select[data-request], input[type=radio][data-request], input[type=checkbox][data-request]', function documentOnChange(){
$(document).on('change', 'select[data-request], input[type=radio][data-request], input[type=checkbox][data-request]', function documentOnChange() {
$(this).request()
})
$(document).on('click', 'a[data-request], button[data-request], input[type=button][data-request], input[type=submit][data-request]', function documentOnClick(){
$(document).on('click', 'a[data-request], button[data-request], input[type=button][data-request], input[type=submit][data-request]', function documentOnClick() {
$(this).request()
return false
})
$(document).on('keydown', 'input[type=text][data-request], input[type=submit][data-request], input[type=password][data-request]', function documentOnKeydown(e){
$(document).on('keydown', 'input[type=text][data-request], input[type=submit][data-request], input[type=password][data-request]', function documentOnKeydown(e) {
if (e.keyCode == 13) {
if (this.dataTrackInputTimer !== undefined)
window.clearTimeout(this.dataTrackInputTimer)
@ -385,7 +384,7 @@ if (window.jQuery === undefined)
}
})
$(document).on('keyup', 'input[data-request][data-track-input]', function documentOnKeyup(e){
$(document).on('keyup', 'input[data-request][data-track-input]', function documentOnKeyup(e) {
if (!$(this).is('[type=email],[type=number],[type=password],[type=search],[type=text]')) return
var
@ -405,12 +404,12 @@ if (window.jQuery === undefined)
interval = 300
var self = this
this.dataTrackInputTimer = window.setTimeout(function(){
this.dataTrackInputTimer = window.setTimeout(function() {
$(self).request()
}, interval)
})
$(document).on('submit', '[data-request]', function documentOnSubmit(){
$(document).on('submit', '[data-request]', function documentOnSubmit() {
$(this).request()
return false
})
@ -423,10 +422,10 @@ if (window.jQuery === undefined)
* Invent our own event that unifies document.ready with window.ajaxUpdateComplete
*
* $(document).render(function() { })
* $(document).on('render', function(){ })
* $(document).on('render', function() { })
*/
$(document).ready(function triggerRenderOnReady(){
$(document).ready(function triggerRenderOnReady() {
$(document).trigger('render')
})

View File

@ -14,7 +14,7 @@
<p class="oc-<?= $pluginIcon ?>"><?= e(trans($pluginName)) ?></p>
<?php if ($pluginHomepage): ?>
<p class="description">
<a href="<?= e($pluginHomepage) ?>">
<a href="<?= e($pluginHomepage) ?>" target="_blank">
<?= e(trans('system::lang.updates.details_view_homepage')) ?>
</a>
</p>

View File

@ -74,7 +74,7 @@ return [
'install' => 'Téma telepítése',
'search' => 'Keresés...',
'installed' => 'Telepítve',
'no_themes' => 'Egy téma sincs telepítve a piactérről.',
'no_themes' => 'A piactérről nem lett telepítve téma.',
'recommended' => 'Ajánlott',
'remove_confirm' => 'Valóban törölni akarja ezt a témát?'
],
@ -88,17 +88,17 @@ return [
],
'plugins' => [
'manage' => 'Bővítmények kezelése',
'enable_or_disable' => 'Engedélyezés vagy letiltás',
'enable_or_disable_title' => 'Bővítmények engedélyezése vagy letiltása',
'enable_or_disable' => 'Műveletek',
'enable_or_disable_title' => 'Engedélyezés vagy letiltás',
'install' => 'Bővítmény telepítése',
'install_products' => 'Kiegészítők telepítése',
'search' => 'Keresés...',
'installed' => 'Telepítve',
'no_plugins' => 'Valóban törölni akarja ezt a bővítményt?',
'no_plugins' => 'A piactérről nem lett telepítve bővítmény.',
'recommended' => 'Ajánlott',
'remove' => 'Eltávolítás',
'refresh' => 'Frissítés',
'disabled_label' => 'Letiltva',
'disabled_label' => 'Működés letiltása',
'disabled_help' => 'A kiválasztott bővítményeket a weboldal figyelmen kívül hagyja.',
'frozen_label' => 'Frissítés letiltása',
'frozen_help' => 'A kiválasztott bővítmények nem lesznek frissítve a későbbiekben.',
@ -157,7 +157,7 @@ return [
'smtp_encryption_ssl' => 'SSL',
'sendmail' => 'Sendmail',
'sendmail_path' => 'Sendmail elérési útja',
'sendmail_path_comment' => 'Adja meg a Sendmail program elérési útját.',
'sendmail_path_comment' => 'Adja meg a Sendmail elérési útját.',
'mailgun' => 'Mailgun',
'mailgun_domain' => 'Mailgun tartomány',
'mailgun_domain_comment' => 'Adja meg a Mailgun tartománynevét.',
@ -251,7 +251,7 @@ return [
'update_label' => 'Honlap frissítése',
'update_completing' => 'Frissítési folyamat befejezése',
'update_loading' => 'Elérhető frissítések betöltése...',
'update_success' => 'A frissítési sikeresen végrehajtásra került.',
'update_success' => 'A frissítés sikeresen megtörtént.',
'update_failed_label' => 'A frissítés nem sikerült.',
'force_label' => 'Frissítés kényszerítése',
'found' => [