Skip to content

Commit 0f05b74

Browse files
committed
translations
1 parent 01845fc commit 0f05b74

File tree

23 files changed

+279
-4
lines changed

23 files changed

+279
-4
lines changed

app/Models/Photo.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ public function ratings(): HasMany
250250
*/
251251
public function rating(): HasOne
252252
{
253+
/** @phpstan-ignore return.type (because of when() method used in the return statement) */
253254
return $this->hasOne(PhotoRating::class)
254255
->when(Auth::check(), fn ($query) => $query->where('user_id', '=', Auth::id()))
255256
->when(!Auth::check(), fn ($query) => $query->whereNull('user_id'));

lang/ar/gallery.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,19 @@
182182
'set_taken_at' => 'تعيين تاريخ الالتقاط',
183183
'set_taken_at_info' => 'عند التعيين، سيتم عرض نجمة %s للإشارة إلى أن هذا التاريخ ليس تاريخ EXIF الأصلي.<br>قم بإلغاء تحديد خانة الاختيار هذه واحفظ لت reset إلى التاريخ الأصلي.',
184184
],
185+
'rating' => [
186+
'header' => 'Rating',
187+
'rating' => 'rating',
188+
'ratings' => 'ratings',
189+
'your_rating' => 'Your rating',
190+
'saving' => 'Saving rating...',
191+
'removed' => 'Rating removed',
192+
'saved' => 'Rating saved',
193+
'error' => 'Failed to save rating',
194+
'error_unauthorized' => 'You must be logged in to rate photos',
195+
'error_forbidden' => 'You do not have permission to rate this photo',
196+
'error_not_found' => 'Photo not found',
197+
],
185198
],
186199
'nsfw' => [
187200
'header' => 'محتوى حساس',

lang/cz/gallery.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,19 @@
182182
'set_taken_at' => 'Set Taken Date',
183183
'set_taken_at_info' => 'When set, a star %s will be displayed to indicate that this date is not the original EXIF date.<br>Untick the checkbox and save to reset to the original date.',
184184
],
185+
'rating' => [
186+
'header' => 'Rating',
187+
'rating' => 'rating',
188+
'ratings' => 'ratings',
189+
'your_rating' => 'Your rating',
190+
'saving' => 'Saving rating...',
191+
'removed' => 'Rating removed',
192+
'saved' => 'Rating saved',
193+
'error' => 'Failed to save rating',
194+
'error_unauthorized' => 'You must be logged in to rate photos',
195+
'error_forbidden' => 'You do not have permission to rate this photo',
196+
'error_not_found' => 'Photo not found',
197+
],
185198
],
186199
'nsfw' => [
187200
'header' => 'Sensitive content',

lang/de/gallery.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,19 @@
181181
'set_taken_at' => 'Aufnahmedatum festlegen',
182182
'set_taken_at_info' => 'Wenn diese Option aktiviert ist, wird ein Sternchen %s angezeigt, um darauf hinzuweisen, dass es sich bei diesem Datum nicht um das ursprüngliche EXIF-Datum handelt.<br>Deaktivieren des Kontrollkästchens und speichern stellt das ursprüngliche Datum wieder her.',
183183
],
184+
'rating' => [
185+
'header' => 'Rating',
186+
'rating' => 'rating',
187+
'ratings' => 'ratings',
188+
'your_rating' => 'Your rating',
189+
'saving' => 'Saving rating...',
190+
'removed' => 'Rating removed',
191+
'saved' => 'Rating saved',
192+
'error' => 'Failed to save rating',
193+
'error_unauthorized' => 'You must be logged in to rate photos',
194+
'error_forbidden' => 'You do not have permission to rate this photo',
195+
'error_not_found' => 'Photo not found',
196+
],
184197
],
185198
'nsfw' => [
186199
'header' => 'Sensibler Inhalt',

lang/el/gallery.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,19 @@
182182
'set_taken_at' => 'Set Taken Date',
183183
'set_taken_at_info' => 'When set, a star %s will be displayed to indicate that this date is not the original EXIF date.<br>Untick the checkbox and save to reset to the original date.',
184184
],
185+
'rating' => [
186+
'header' => 'Rating',
187+
'rating' => 'rating',
188+
'ratings' => 'ratings',
189+
'your_rating' => 'Your rating',
190+
'saving' => 'Saving rating...',
191+
'removed' => 'Rating removed',
192+
'saved' => 'Rating saved',
193+
'error' => 'Failed to save rating',
194+
'error_unauthorized' => 'You must be logged in to rate photos',
195+
'error_forbidden' => 'You do not have permission to rate this photo',
196+
'error_not_found' => 'Photo not found',
197+
],
185198
],
186199
'nsfw' => [
187200
'header' => 'Sensitive content',

lang/en/gallery.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,19 @@
182182
'set_taken_at' => 'Set Taken Date',
183183
'set_taken_at_info' => 'When set, a star %s will be displayed to indicate that this date is not the original EXIF date.<br>Untick the checkbox and save to reset to the original date.',
184184
],
185+
'rating' => [
186+
'header' => 'Rating',
187+
'rating' => 'rating',
188+
'ratings' => 'ratings',
189+
'your_rating' => 'Your rating',
190+
'saving' => 'Saving rating...',
191+
'removed' => 'Rating removed',
192+
'saved' => 'Rating saved',
193+
'error' => 'Failed to save rating',
194+
'error_unauthorized' => 'You must be logged in to rate photos',
195+
'error_forbidden' => 'You do not have permission to rate this photo',
196+
'error_not_found' => 'Photo not found',
197+
],
185198
],
186199
'nsfw' => [
187200
'header' => 'Sensitive content',

lang/es/gallery.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,19 @@
182182
'set_taken_at' => 'Establecer fecha de toma',
183183
'set_taken_at_info' => 'Cuando se configura, se mostrará un asterisco %s para indicar que esta fecha no es la fecha EXIF original.<br>Desmarque la casilla de verificación y guarde para restablecer la fecha original.',
184184
],
185+
'rating' => [
186+
'header' => 'Rating',
187+
'rating' => 'rating',
188+
'ratings' => 'ratings',
189+
'your_rating' => 'Your rating',
190+
'saving' => 'Saving rating...',
191+
'removed' => 'Rating removed',
192+
'saved' => 'Rating saved',
193+
'error' => 'Failed to save rating',
194+
'error_unauthorized' => 'You must be logged in to rate photos',
195+
'error_forbidden' => 'You do not have permission to rate this photo',
196+
'error_not_found' => 'Photo not found',
197+
],
185198
],
186199
'nsfw' => [
187200
'header' => 'Contenido sensible',

lang/fa/gallery.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,19 @@
182182
'set_taken_at' => 'تنظیم تاریخ ثبت',
183183
'set_taken_at_info' => 'در صورت تنظیم، یک ستاره %s نمایش داده می‌شود تا نشان دهد این تاریخ، تاریخ اصلی EXIF نیست.<br>برای بازنشانی به تاریخ اصلی، تیک را بردارید و ذخیره کنید.',
184184
],
185+
'rating' => [
186+
'header' => 'Rating',
187+
'rating' => 'rating',
188+
'ratings' => 'ratings',
189+
'your_rating' => 'Your rating',
190+
'saving' => 'Saving rating...',
191+
'removed' => 'Rating removed',
192+
'saved' => 'Rating saved',
193+
'error' => 'Failed to save rating',
194+
'error_unauthorized' => 'You must be logged in to rate photos',
195+
'error_forbidden' => 'You do not have permission to rate this photo',
196+
'error_not_found' => 'Photo not found',
197+
],
185198
],
186199
'nsfw' => [
187200
'header' => 'محتوای حساس',

lang/fr/gallery.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,19 @@
182182
'set_taken_at' => 'Définir la date de prise de vue',
183183
'set_taken_at_info' => 'Une étoile %s sera affichée si cette date n’est pas la date EXIF d’origine.<br>Décochez la case et enregistrez pour revenir à la date d’origine.',
184184
],
185+
'rating' => [
186+
'header' => 'Rating',
187+
'rating' => 'rating',
188+
'ratings' => 'ratings',
189+
'your_rating' => 'Your rating',
190+
'saving' => 'Saving rating...',
191+
'removed' => 'Rating removed',
192+
'saved' => 'Rating saved',
193+
'error' => 'Failed to save rating',
194+
'error_unauthorized' => 'You must be logged in to rate photos',
195+
'error_forbidden' => 'You do not have permission to rate this photo',
196+
'error_not_found' => 'Photo not found',
197+
],
185198
],
186199
'nsfw' => [
187200
'header' => 'Contenu sensible',

lang/hu/gallery.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,19 @@
182182
'set_taken_at' => 'Set Taken Date',
183183
'set_taken_at_info' => 'When set, a star %s will be displayed to indicate that this date is not the original EXIF date.<br>Untick the checkbox and save to reset to the original date.',
184184
],
185+
'rating' => [
186+
'header' => 'Rating',
187+
'rating' => 'rating',
188+
'ratings' => 'ratings',
189+
'your_rating' => 'Your rating',
190+
'saving' => 'Saving rating...',
191+
'removed' => 'Rating removed',
192+
'saved' => 'Rating saved',
193+
'error' => 'Failed to save rating',
194+
'error_unauthorized' => 'You must be logged in to rate photos',
195+
'error_forbidden' => 'You do not have permission to rate this photo',
196+
'error_not_found' => 'Photo not found',
197+
],
185198
],
186199
'nsfw' => [
187200
'header' => 'Sensitive content',

0 commit comments

Comments
 (0)