Merge pull request #351 from trigras/master

some localization updates
This commit is contained in:
Hillel Coren 2015-07-28 10:47:53 +03:00
commit aa421b00ad
9 changed files with 165 additions and 1915 deletions

View File

@ -51,7 +51,17 @@ module.exports = function(grunt) {
'public/vendor/knockout-mapping/build/output/knockout.mapping-latest.js', 'public/vendor/knockout-mapping/build/output/knockout.mapping-latest.js',
'public/vendor/knockout-sortable/build/knockout-sortable.min.js', 'public/vendor/knockout-sortable/build/knockout-sortable.min.js',
'public/vendor/underscore/underscore.js', 'public/vendor/underscore/underscore.js',
'public/vendor/bootstrap-datepicker/dist/js/bootstrap-datepicker.js', 'public/vendor/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js',
'public/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.de.min.js',
'public/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.da.min.js',
'public/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.pt-BR.min.js',
'public/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.nl.min.js',
'public/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fr.min.js',
'public/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.it.min.js',
'public/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.lt.min.js',
'public/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.no.min.js',
'public/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.es.min.js',
'public/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sv.min.js',
'public/vendor/typeahead.js/dist/typeahead.min.js', 'public/vendor/typeahead.js/dist/typeahead.min.js',
'public/vendor/accounting/accounting.min.js', 'public/vendor/accounting/accounting.min.js',
'public/vendor/spectrum/spectrum.js', 'public/vendor/spectrum/spectrum.js',

File diff suppressed because one or more lines are too long

View File

@ -1,20 +1,19 @@
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Pagination Language Lines | Puslapiavimo kalbos eilutės
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| The following language lines are used by the paginator library to build | Šios kalbos eilutės yra naudojamas puslapiavimo bibliotekos kurti
| the simple pagination links. You are free to change them to anything | paprastas puslapiavimo nuorodas. Jūs galite laisvai keisti jas
| you want to customize your views to better match your application. | į bet kokias kitas labiau tinkančias Jūsų programai.
| |
*/ */
'previous' => '&laquo; Previous', 'previous' => '&laquo; Ankstesnis',
'next' => 'Sekantis &raquo;',
'next' => 'Next &raquo;', ];
);

View File

@ -1,24 +1,21 @@
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Password Reminder Language Lines | Slaptažodžio priminimo kalbos eilutės
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| The following language lines are the default lines which match reasons | Sekančios kalbos eilutės yra numatytos elutės, atitinkančios priežastims,
| that are given by the password broker for a password update attempt | pateikiamoms slatažodžių tarpininko, kai nepavyksta slaptažodžio atnaujinimo
| has failed, such as for an invalid token or invalid new password. | bandymas, tokioms kaip negaliojanti žymė ar neteisingas naujas slaptažodis..
| |
*/ */
"password" => "Passwords must be at least six characters and match the confirmation.", "password" => "Slaptažodis turi būti bent šešių simbolių ir sutapti su patvirtinimu.",
"user" => "Vartotojas su tokiu el. pašu nerastas.",
"user" => "We can't find a user with that e-mail address.", "token" => "Šis slaptažodžio raktas yra neteisingas.",
"sent" => "Naujo slaptažodžio nustatymo nuoroda išsiųsta",
"token" => "This password reset token is invalid.", "reset" => "Nustatytas naujas slaptažodis!",
];
"sent" => "Password reminder sent!",
);

View File

@ -1,103 +1,108 @@
<?php <?php
return array( return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Validation Language Lines | Patvirtinimo kalbos eilutės
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| The following language lines contain the default error messages used by | Sekančios kalbos eilutėse yra numatyti klaidos pranešimai naudojami
| the validator class. Some of these rules have multiple versions such | patvirtinimo klasėje. Kai kurios šių eilučių turi keletą versijų
| such as the size rules. Feel free to tweak each of these messages. | tokių kaip dydžio taisyklės. Galite laisvai pataisyti bet kuriuos pranešimus.
| |
*/ */
"accepted" => "The :attribute must be accepted.", "accepted" => "Laukas :attribute turi būti priimtas.",
"active_url" => "The :attribute is not a valid URL.", "active_url" => "Laukas :attribute nėra galiojantis internetinis adresas.",
"after" => "The :attribute must be a date after :date.", "after" => "Laukelyje :attribute turi būti data po :date.",
"alpha" => "The :attribute may only contain letters.", "alpha" => "Laukas :attribute gali turėti tik raides.",
"alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.", "alpha_dash" => "Laukas :attribute gali turėti tik raides, skaičius ir brūkšnelius.",
"alpha_num" => "The :attribute may only contain letters and numbers.", "alpha_num" => "Laukas :attribute gali turėti tik raides ir skaičius.",
"array" => "The :attribute must be an array.", "array" => "Laukas :attribute turi būti masyvas.",
"before" => "The :attribute must be a date before :date.", "before" => "Laukas :attribute turi būti data prieš :date.",
"between" => array( "between" => [
"numeric" => "The :attribute must be between :min - :max.", "numeric" => "Lauko :attribute reikšmė turi būti tarp :min ir :max.",
"file" => "The :attribute must be between :min - :max kilobytes.", "file" => "Failo dydis lauke :attribute turi būti tarp :min ir :max kilobaitų.",
"string" => "The :attribute must be between :min - :max characters.", "string" => "Simbolių skaičius lauke :attribute turi būti tarp :min ir :max.",
"array" => "The :attribute must have between :min - :max items.", "array" => "Elementų skaičius lauke :attribute turi turėti nuo :min iki :max.",
), ],
"confirmed" => "The :attribute confirmation does not match.", "boolean" => "Lauko reikšmė :attribute turi būti 'taip' arba 'ne'.",
"date" => "The :attribute is not a valid date.", "confirmed" => "Lauko :attribute patvirtinimas nesutampa.",
"date_format" => "The :attribute does not match the format :format.", "date" => "Lauko :attribute reikšmė nėra galiojanti data.",
"different" => "The :attribute and :other must be different.", "date_format" => "Lauko :attribute reikšmė neatitinka formato :format.",
"digits" => "The :attribute must be :digits digits.", "different" => "Laukų :attribute ir :other reikšmės turi skirtis.",
"digits_between" => "The :attribute must be between :min and :max digits.", "digits" => "Laukas :attribute turi būti sudarytas iš :digits skaitmenų.",
"email" => "The :attribute format is invalid.", "digits_between" => "Laukas :attribute tuti turėti nuo :min iki :max skaitmenų.",
"exists" => "The selected :attribute is invalid.", "email" => "Lauko :attribute reikšmė turi būti galiojantis el. pašto adresas.",
"image" => "The :attribute must be an image.", "filled" => "Laukas :attribute turi būti užpildytas.",
"in" => "The selected :attribute is invalid.", "exists" => "Pasirinkta negaliojanti :attribute reikšmė.",
"integer" => "The :attribute must be an integer.", "image" => "Lauko :attribute reikšmė turi būti paveikslėlis.",
"ip" => "The :attribute must be a valid IP address.", "in" => "Pasirinkta negaliojanti :attribute reikšmė.",
"max" => array( "integer" => "Lauko :attribute reikšmė turi būti veikasis skaičius.",
"numeric" => "The :attribute may not be greater than :max.", "ip" => "Lauko :attribute reikšmė turi būti galiojantis IP adresas.",
"file" => "The :attribute may not be greater than :max kilobytes.", "max" => [
"string" => "The :attribute may not be greater than :max characters.", "numeric" => "Lauko :attribute reikšmė negali būti didesnė nei :max.",
"array" => "The :attribute may not have more than :max items.", "file" => "Failo dydis lauke :attribute reikšmė negali būti didesnė nei :max kilobaitų.",
), "string" => "Simbolių kiekis lauke :attribute reikšmė negali būti didesnė nei :max simbolių.",
"mimes" => "The :attribute must be a file of type: :values.", "array" => "Elementų kiekis lauke :attribute negali turėti daugiau nei :max elementų.",
"min" => array( ],
"numeric" => "The :attribute must be at least :min.", "mimes" => "Lauko reikšmė :attribute turi būti failas vieno iš sekančių tipų: :values.",
"file" => "The :attribute must be at least :min kilobytes.", "min" => [
"string" => "The :attribute must be at least :min characters.", "numeric" => "Lauko :attribute reikšmė turi būti ne mažesnė nei :min.",
"array" => "The :attribute must have at least :min items.", "file" => "Failo dydis lauke :attribute turi būti ne mažesnis nei :min kilobaitų.",
), "string" => "Simbolių kiekis lauke :attribute turi būti ne mažiau nei :min.",
"not_in" => "The selected :attribute is invalid.", "array" => "Elementų kiekis lauke :attribute turi būti ne mažiau nei :min.",
"numeric" => "The :attribute must be a number.", ],
"regex" => "The :attribute format is invalid.", "not_in" => "Pasirinkta negaliojanti reikšmė :attribute.",
"required" => "The :attribute field is required.", "numeric" => "Lauko :attribute reikšmė turi būti skaičius.",
"required_if" => "The :attribute field is required when :other is :value.", "regex" => "Negaliojantis lauko :attribute formatas.",
"required_with" => "The :attribute field is required when :values is present.", "required" => "Privaloma užpildyti lauką :attribute.",
"required_without" => "The :attribute field is required when :values is not present.", "required_if" => "Privaloma užpildyti lauką :attribute kai :other yra :value.",
"same" => "The :attribute and :other must match.", "required_with" => "Privaloma užpildyti lauką :attribute kai pateikta :values.",
"size" => array( "required_with_all" => "Privaloma užpildyti lauką :attribute kai pateikta :values.",
"numeric" => "The :attribute must be :size.", "required_without" => "Privaloma užpildyti lauką :attribute kai nepateikta :values.",
"file" => "The :attribute must be :size kilobytes.", "required_without_all" => "Privaloma užpildyti lauką :attribute kai nepateikta nei viena iš reikšmių :values.",
"string" => "The :attribute must be :size characters.", "same" => "Laukai :attribute ir :other turi sutapti.",
"array" => "The :attribute must contain :size items.", "size" => [
), "numeric" => "Lauko :attribute reikšmė turi būti :size.",
"unique" => "The :attribute has already been taken.", "file" => "Failo dydis lauke :attribute turi būti :size kilobaitai.",
"url" => "The :attribute format is invalid.", "string" => "Simbolių skaičius lauke :attribute turi būti :size.",
"array" => "Elementų kiekis lauke :attribute turi būti :size.",
"positive" => "The :attribute must be greater than zero.", ],
"has_credit" => "The client does not have enough credit.", "string" => "The :attribute must be a string.",
"notmasked" => "The values are masked", "timezone" => "Lauko :attribute reikšmė turi būti galiojanti laiko zona.",
"less_than" => 'The :attribute must be less than :value', "unique" => "Tokia :attribute reikšmė jau pasirinkta.",
"url" => "Negaliojantis lauko :attribute formatas.",
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => array(), /*
|--------------------------------------------------------------------------
| Pasirinktiniai patvirtinimo kalbos eilutės
|--------------------------------------------------------------------------
|
| Čia galite nurodyti pasirinktinius patvirtinimo pranešimus, naudodami
| konvenciją "attribute.rule" eilučių pavadinimams. Tai leidžia greitai
| nurodyti konkrečią pasirinktinę kalbos eilutę tam tikrai atributo taisyklei.
|
*/
/* 'custom' => [
|-------------------------------------------------------------------------- 'attribute-name' => [
| Custom Validation Attributes 'rule-name' => 'custom-message',
|-------------------------------------------------------------------------- ],
| ],
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => array(), /*
|--------------------------------------------------------------------------
| Pasirinktiniai patvirtinimo atributai
|--------------------------------------------------------------------------
|
| Sekančios kalbos eilutės naudojamos pakeisti vietos žymes
| kuo nors labiau priimtinu skaitytojui (pvz. "El.Pašto Adresas" vietoj
| "email". TTai tiesiog padeda mums padaryti žinutes truputi aiškesnėmis.
|
*/
); 'attributes' => [],
];

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en-US"> <html lang="{{App::getLocale()}}">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
</head> </head>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en-US"> <html lang="{{App::getLocale()}}">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
</head> </head>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="{{App::getLocale()}}">
<head> <head>
<title>{{ isset($title) ? ($title . ' | Invoice Ninja') : ('Invoice Ninja | ' . trans('texts.app_title')) }} | </title> <title>{{ isset($title) ? ($title . ' | Invoice Ninja') : ('Invoice Ninja | ' . trans('texts.app_title')) }} | </title>
<meta name="description" content="{{ isset($description) ? $description : trans('texts.app_description') }}" /> <meta name="description" content="{{ isset($description) ? $description : trans('texts.app_description') }}" />
@ -18,8 +18,8 @@
<meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="csrf-token" content="{{ csrf_token() }}">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="//fonts.googleapis.com/css?family=Roboto:400,700,900,100" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Roboto:400,700,900,100&subset=latin,latin-ext" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Roboto+Slab:400,300,700" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Roboto+Slab:400,300,700&subset=latin,latin-ext" rel="stylesheet" type="text/css">
<link href="{{ asset('favicon.png?test') }}" rel="shortcut icon"> <link href="{{ asset('favicon.png?test') }}" rel="shortcut icon">
<link rel="canonical" href="{{ NINJA_APP_URL }}/{{ Request::path() }}" /> <link rel="canonical" href="{{ NINJA_APP_URL }}/{{ Request::path() }}" />
@ -53,6 +53,10 @@
'sSearch': '' 'sSearch': ''
} }
} ); } );
$.extend( true, $.fn.datepicker.defaults, {
language:'{{App::getLocale()}}'
});
</script> </script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="{{App::getLocale()}}">
<head> <head>
<title>Invoice Ninja | Setup</title> <title>Invoice Ninja | Setup</title>
<meta charset="utf-8"> <meta charset="utf-8">