1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

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-sortable/build/knockout-sortable.min.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/accounting/accounting.min.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
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
/*
|--------------------------------------------------------------------------
| Puslapiavimo kalbos eilutės
|--------------------------------------------------------------------------
|
| Šios kalbos eilutės yra naudojamas puslapiavimo bibliotekos kurti
| paprastas puslapiavimo nuorodas. Jūs galite laisvai keisti jas
| į 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
return array(
return [
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
/*
|--------------------------------------------------------------------------
| Slaptažodžio priminimo kalbos eilutės
|--------------------------------------------------------------------------
|
| Sekančios kalbos eilutės yra numatytos elutės, atitinkančios priežastims,
| pateikiamoms slatažodžių tarpininko, kai nepavyksta slaptažodžio atnaujinimo
| bandymas, tokioms kaip negaliojanti žymė ar neteisingas naujas slaptažodis..
|
*/
"password" => "Passwords must be at least six characters and match the confirmation.",
"user" => "We can't find a user with that e-mail address.",
"token" => "This password reset token is invalid.",
"sent" => "Password reminder sent!",
);
"password" => "Slaptažodis turi būti bent šešių simbolių ir sutapti su patvirtinimu.",
"user" => "Vartotojas su tokiu el. pašu nerastas.",
"token" => "Šis slaptažodžio raktas yra neteisingas.",
"sent" => "Naujo slaptažodžio nustatymo nuoroda išsiųsta",
"reset" => "Nustatytas naujas slaptažodis!",
];

View File

@ -1,103 +1,108 @@
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| such as the size rules. Feel free to tweak each of these messages.
|
*/
/*
|--------------------------------------------------------------------------
| Patvirtinimo kalbos eilutės
|--------------------------------------------------------------------------
|
| Sekančios kalbos eilutėse yra numatyti klaidos pranešimai naudojami
| patvirtinimo klasėje. Kai kurios šių eilučių turi keletą versijų
| tokių kaip dydžio taisyklės. Galite laisvai pataisyti bet kuriuos pranešimus.
|
*/
"accepted" => "The :attribute must be accepted.",
"active_url" => "The :attribute is not a valid URL.",
"after" => "The :attribute must be a date after :date.",
"alpha" => "The :attribute may only contain letters.",
"alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.",
"alpha_num" => "The :attribute may only contain letters and numbers.",
"array" => "The :attribute must be an array.",
"before" => "The :attribute must be a date before :date.",
"between" => array(
"numeric" => "The :attribute must be between :min - :max.",
"file" => "The :attribute must be between :min - :max kilobytes.",
"string" => "The :attribute must be between :min - :max characters.",
"array" => "The :attribute must have between :min - :max items.",
),
"confirmed" => "The :attribute confirmation does not match.",
"date" => "The :attribute is not a valid date.",
"date_format" => "The :attribute does not match the format :format.",
"different" => "The :attribute and :other must be different.",
"digits" => "The :attribute must be :digits digits.",
"digits_between" => "The :attribute must be between :min and :max digits.",
"email" => "The :attribute format is invalid.",
"exists" => "The selected :attribute is invalid.",
"image" => "The :attribute must be an image.",
"in" => "The selected :attribute is invalid.",
"integer" => "The :attribute must be an integer.",
"ip" => "The :attribute must be a valid IP address.",
"max" => array(
"numeric" => "The :attribute may not be greater than :max.",
"file" => "The :attribute may not be greater than :max kilobytes.",
"string" => "The :attribute may not be greater than :max characters.",
"array" => "The :attribute may not have more than :max items.",
),
"mimes" => "The :attribute must be a file of type: :values.",
"min" => array(
"numeric" => "The :attribute must be at least :min.",
"file" => "The :attribute must be at least :min kilobytes.",
"string" => "The :attribute must be at least :min characters.",
"array" => "The :attribute must have at least :min items.",
),
"not_in" => "The selected :attribute is invalid.",
"numeric" => "The :attribute must be a number.",
"regex" => "The :attribute format is invalid.",
"required" => "The :attribute field is required.",
"required_if" => "The :attribute field is required when :other is :value.",
"required_with" => "The :attribute field is required when :values is present.",
"required_without" => "The :attribute field is required when :values is not present.",
"same" => "The :attribute and :other must match.",
"size" => array(
"numeric" => "The :attribute must be :size.",
"file" => "The :attribute must be :size kilobytes.",
"string" => "The :attribute must be :size characters.",
"array" => "The :attribute must contain :size items.",
),
"unique" => "The :attribute has already been taken.",
"url" => "The :attribute format is invalid.",
"positive" => "The :attribute must be greater than zero.",
"has_credit" => "The client does not have enough credit.",
"notmasked" => "The values are masked",
"less_than" => 'The :attribute must be less than :value',
/*
|--------------------------------------------------------------------------
| 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.
|
*/
"accepted" => "Laukas :attribute turi būti priimtas.",
"active_url" => "Laukas :attribute nėra galiojantis internetinis adresas.",
"after" => "Laukelyje :attribute turi būti data po :date.",
"alpha" => "Laukas :attribute gali turėti tik raides.",
"alpha_dash" => "Laukas :attribute gali turėti tik raides, skaičius ir brūkšnelius.",
"alpha_num" => "Laukas :attribute gali turėti tik raides ir skaičius.",
"array" => "Laukas :attribute turi būti masyvas.",
"before" => "Laukas :attribute turi būti data prieš :date.",
"between" => [
"numeric" => "Lauko :attribute reikšmė turi būti tarp :min ir :max.",
"file" => "Failo dydis lauke :attribute turi būti tarp :min ir :max kilobaitų.",
"string" => "Simbolių skaičius lauke :attribute turi būti tarp :min ir :max.",
"array" => "Elementų skaičius lauke :attribute turi turėti nuo :min iki :max.",
],
"boolean" => "Lauko reikšmė :attribute turi būti 'taip' arba 'ne'.",
"confirmed" => "Lauko :attribute patvirtinimas nesutampa.",
"date" => "Lauko :attribute reikšmė nėra galiojanti data.",
"date_format" => "Lauko :attribute reikšmė neatitinka formato :format.",
"different" => "Laukų :attribute ir :other reikšmės turi skirtis.",
"digits" => "Laukas :attribute turi būti sudarytas iš :digits skaitmenų.",
"digits_between" => "Laukas :attribute tuti turėti nuo :min iki :max skaitmenų.",
"email" => "Lauko :attribute reikšmė turi būti galiojantis el. pašto adresas.",
"filled" => "Laukas :attribute turi būti užpildytas.",
"exists" => "Pasirinkta negaliojanti :attribute reikšmė.",
"image" => "Lauko :attribute reikšmė turi būti paveikslėlis.",
"in" => "Pasirinkta negaliojanti :attribute reikšmė.",
"integer" => "Lauko :attribute reikšmė turi būti veikasis skaičius.",
"ip" => "Lauko :attribute reikšmė turi būti galiojantis IP adresas.",
"max" => [
"numeric" => "Lauko :attribute reikšmė negali būti didesnė nei :max.",
"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ų.",
"array" => "Elementų kiekis lauke :attribute negali turėti daugiau nei :max elementų.",
],
"mimes" => "Lauko reikšmė :attribute turi būti failas vieno iš sekančių tipų: :values.",
"min" => [
"numeric" => "Lauko :attribute reikšmė turi būti ne mažesnė nei :min.",
"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.",
"array" => "Elementų kiekis lauke :attribute turi būti ne mažiau nei :min.",
],
"not_in" => "Pasirinkta negaliojanti reikšmė :attribute.",
"numeric" => "Lauko :attribute reikšmė turi būti skaičius.",
"regex" => "Negaliojantis lauko :attribute formatas.",
"required" => "Privaloma užpildyti lauką :attribute.",
"required_if" => "Privaloma užpildyti lauką :attribute kai :other yra :value.",
"required_with" => "Privaloma užpildyti lauką :attribute kai pateikta :values.",
"required_with_all" => "Privaloma užpildyti lauką :attribute kai pateikta :values.",
"required_without" => "Privaloma užpildyti lauką :attribute kai nepateikta :values.",
"required_without_all" => "Privaloma užpildyti lauką :attribute kai nepateikta nei viena iš reikšmių :values.",
"same" => "Laukai :attribute ir :other turi sutapti.",
"size" => [
"numeric" => "Lauko :attribute reikšmė turi būti :size.",
"file" => "Failo dydis lauke :attribute turi būti :size kilobaitai.",
"string" => "Simbolių skaičius lauke :attribute turi būti :size.",
"array" => "Elementų kiekis lauke :attribute turi būti :size.",
],
"string" => "The :attribute must be a string.",
"timezone" => "Lauko :attribute reikšmė turi būti galiojanti laiko zona.",
"unique" => "Tokia :attribute reikšmė jau pasirinkta.",
"url" => "Negaliojantis lauko :attribute formatas.",
'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 Validation Attributes
|--------------------------------------------------------------------------
|
| 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.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
'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>
<html lang="en-US">
<html lang="{{App::getLocale()}}">
<head>
<meta charset="utf-8">
</head>

View File

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

View File

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

View File

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