Skip to content

Commit 4de8828

Browse files
authored
Fix renamer rule test (#4012)
1 parent ac5c4ff commit 4de8828

File tree

24 files changed

+64
-1
lines changed

24 files changed

+64
-1
lines changed

.github/copilot-instructions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,9 @@ When dealing with monetary values in PHP, it's crucial to handle them with preci
4949
we use the `moneyphp/money` library, which provides a robust way to manage monetary values and currencies.
5050

5151
Never use floats or doubles to represent monetary values. Instead, use integers to represent the smallest currency unit (e.g., cents for USD). This means that $10.99 should be stored as 1099 (cents).
52+
53+
# Translations
54+
55+
Translations files are located in the `resources/lang/` directory. Use snake_case for keys and group related translations in nested arrays.
56+
Ignore all the the `lang/*.json` files as they are auto generated
57+
and not tracked in git.

lang/ar/renamer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@
104104
'test_original' => 'Original',
105105
'test_result' => 'Result',
106106
'test_failed' => 'Failed to test renamer rules',
107+
'apply_photo_rules' => 'Apply photo rules',
108+
'apply_album_rules' => 'Apply album rules',
107109
];

lang/cz/renamer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@
104104
'test_original' => 'Original',
105105
'test_result' => 'Result',
106106
'test_failed' => 'Failed to test renamer rules',
107+
'apply_photo_rules' => 'Apply photo rules',
108+
'apply_album_rules' => 'Apply album rules',
107109
];

lang/de/renamer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@
104104
'test_original' => 'Original',
105105
'test_result' => 'Result',
106106
'test_failed' => 'Failed to test renamer rules',
107+
'apply_photo_rules' => 'Apply photo rules',
108+
'apply_album_rules' => 'Apply album rules',
107109
];

lang/el/renamer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@
104104
'test_original' => 'Original',
105105
'test_result' => 'Result',
106106
'test_failed' => 'Failed to test renamer rules',
107+
'apply_photo_rules' => 'Apply photo rules',
108+
'apply_album_rules' => 'Apply album rules',
107109
];

lang/en/renamer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@
104104
'test_original' => 'Original',
105105
'test_result' => 'Result',
106106
'test_failed' => 'Failed to test renamer rules',
107+
'apply_photo_rules' => 'Apply photo rules',
108+
'apply_album_rules' => 'Apply album rules',
107109
];

lang/es/renamer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@
104104
'test_original' => 'Original',
105105
'test_result' => 'Result',
106106
'test_failed' => 'Failed to test renamer rules',
107+
'apply_photo_rules' => 'Apply photo rules',
108+
'apply_album_rules' => 'Apply album rules',
107109
];

lang/fa/renamer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@
104104
'test_original' => 'اصلی',
105105
'test_result' => 'نتیجه',
106106
'test_failed' => 'آزمایش قوانین تغییر نام ناموفق بود',
107+
'apply_photo_rules' => 'Apply photo rules',
108+
'apply_album_rules' => 'Apply album rules',
107109
];

lang/fr/renamer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@
104104
'test_original' => 'Original',
105105
'test_result' => 'Result',
106106
'test_failed' => 'Failed to test renamer rules',
107+
'apply_photo_rules' => 'Apply photo rules',
108+
'apply_album_rules' => 'Apply album rules',
107109
];

lang/hu/renamer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@
104104
'test_original' => 'Original',
105105
'test_result' => 'Result',
106106
'test_failed' => 'Failed to test renamer rules',
107+
'apply_photo_rules' => 'Apply photo rules',
108+
'apply_album_rules' => 'Apply album rules',
107109
];

0 commit comments

Comments
 (0)