Skip to content

Commit

Permalink
Added Lithuanian localization.
Browse files Browse the repository at this point in the history
Added missing translatable variables.
  • Loading branch information
DonatasIk committed Aug 1, 2024
1 parent 6eaf30c commit 58a82e3
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 2 deletions.
34 changes: 34 additions & 0 deletions resources/lang/lt/forms.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php

return [
'sections' => [
'details' => 'Išsami informacija',
'exif' => 'Exif duomenys',
'file' => 'Failas',
'meta' => 'Meta duomenys',
'preview' => 'Peržiūra',
'upload_new' => 'Įkelti naują',
'upload_new_helper' => 'Jei turite šios medijos versijų, jas gali tekti sukurti iš naujo, nes tai neįvyks automatiškai',
'curation' => 'Versijos',
],
'fields' => [
'alt' => 'Alternatyvus tekstas',
'alt_hint' => 'Alt?',
'caption' => 'Aprašas',
'description' => 'Aprašymas',
'file' => 'Failas',
'title' => 'Antraštė',
'name' => 'Pavadinimas',
],
'notices' => [
'success' => 'Elementas sėkmingai atnaujintas.',
],
'curations' => [
'button_label' => 'Sukurti versiją',
],
'multi_upload' => [
'action_label' => 'Įkelti kelis',
'modal_heading' => 'Įkelti kelis failus',
'modal_file_label' => 'Failai',
],
];
8 changes: 8 additions & 0 deletions resources/lang/lt/notifications.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'update_success' => 'Įrašas sėkmingai atnaujintas.',
'update_error' => 'Atnaujinant įrašą įvyko klaida.',
'delete_success' => 'Įrašas sėkmingai pašalintas',
'delete_error' => 'Pašalinant įrašą įvyko klaida.',
];
16 changes: 16 additions & 0 deletions resources/lang/lt/tables.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

return [
'columns' => [
'url' => 'URL',
'name' => 'Pavadinimas',
'ext' => 'Plėtinys',
'disk' => 'Diskas',
'directory' => 'Katalogas',
'created_at' => 'Sukurta',
],
'actions' => [
'toggle_table_grid' => 'Tinklelio rodinys',
'toggle_table_list' => 'Sąrašo rodinys',
],
];
73 changes: 73 additions & 0 deletions resources/lang/lt/views.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?php

return [
'details' => [
'uploaded_on' => 'Įkelta',
'file_type' => 'Failo tipas',
'file_size' => 'Failo dydis',
'dimensions' => 'Matmenys',
'disk' => 'Diskas',
'directory' => 'Katalogas',
'file_url' => 'Failo nuoroda',
'file' => 'Failas',
'ext' => 'Plėt.',
'copy_url' => 'Kopijuoti nuorodą',
'url_copied' => 'Nukopijuota!',
],
'picker' => [
'button' => 'Pridėti mediją',
'reorder' => 'Eiliškumas',
'view' => 'Peržiūrėti',
'edit' => 'Redaguoti',
'download' => 'Atsisiųsti',
'remove' => 'Pašalinti',
'clear' => 'Pašalinti viską',
],
'panel' => [
'button' => 'Pridėti mediją',
'heading' => 'Medijos pasirinkimas',
'search_label' => 'Paieška',
'search_placeholder' => 'Ieškoti',
'upload_tab' => 'Įkelti mediją',
'media_library_tab' => 'Medijos biblioteka',
'deselect' => 'Atžymėti',
'load_more' => 'Įkelti daugiau',
'empty' => 'Bibliotekoje nėra failų arba nieko nerasta pagal jūsų paiešką.',
'edit_media' => 'Redaguoti mediją',
'edit_save' => 'Išsaugoti',
'edit_delete' => 'Pašalinti',
'edit_cancel' => 'Atšaukti',
'use_selected_image' => 'Įterpti',
'add_files' => 'Pridėti failų',
'view' => 'Peržiūrėti',
'edit' => 'Redaguoti',
'download' => 'Atsisiųsti',
'remove' => 'Pašalinti',
'deselect_all' => 'Atžymėti visus',
'add_multiple_file' => ':key + spustelėkite, jei norite pasirinkti kelis failus.',
],
'curation' => [
'heading' => 'Koreguojama',
'preset' => 'Nuostata',
'adjustments' => 'Koregavimai',
'cancel' => 'Atšaukti',
'custom' => 'Tinkintas',
'thumbnail' => 'Miniatiūra',
'key' => 'Raktas',
'key_helper' => 'Tai nuoroda, naudojama jūsų versijos failui gauti ir atvaizduoti.',
'zoom_in' => 'Padidinti',
'zoom_out' => 'Sumažinti',
'flip_horizontally' => 'Apversti horizontaliai',
'flip_vertically' => 'Apversti vertikaliai',
'drag_mode' => 'Vilkimo režimas',
'crop_mode' => 'Apkarpymo režimas',
'reset' => 'Atstatyti',
'save_curation' => 'Išsaugoti',
'height' => 'Aukštis',
'width' => 'Plotis',
'format' => 'Formatas',
'quality' => 'Kokybė',
'rotate' => 'Pasukti',
'rotate_deg' => 'laipn.',
],
];
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class="h-full w-auto"
<div class="flex-1 overflow-auto px-4 pb-4">
<div class="space-y-3">
<div x-show="presets" x-cloak>
<x-curator::curation-select prefix="Preset" name="preset" x-model="preset">
<x-curator::curation-select prefix="{{ trans('curator::views.curation.preset') }}" name="preset" x-model="preset">
<option value="custom">{{ trans('curator::views.curation.custom') }}</option>
<template x-for="preset in presets">
<option x-bind:value="preset.key" x-bind:key="preset.key" x-text="preset.label"></option>
Expand Down
2 changes: 1 addition & 1 deletion src/Curations/ThumbnailPreset.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function getKey(): string

public function getLabel(): string
{
return 'Thumbnail';
return trans('curator::views.curation.thumbnail');
}

public function getWidth(): int
Expand Down

0 comments on commit 58a82e3

Please sign in to comment.