diff --git a/lang/auto_ar.utf8.po b/lang/auto_ar.utf8.po index ff32865..2174b78 100644 --- a/lang/auto_ar.utf8.po +++ b/lang/auto_ar.utf8.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: 2024-02-06 14:01+0000\n" "Last-Translator: ButterflyOfFire \n" "Language-Team: Arabic =11 ? 4 : 5;\n" "X-Generator: Weblate 5.4-dev\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." -msgstr "لم يتم إختيار اي مركبة، رجاء اختر اسم واحد على اقل." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +msgid "Cars preferences" +msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +msgid "Preferences have been successfully stored!" +msgstr "" + +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "ليس لديك امتيازات كافية." -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "لائحة السيارات" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "سياراتي" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "سيارات العضو" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "لائحة المركبات" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "لم يتم إختيار اي مركبة، رجاء اختر اسم واحد على اقل." + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." @@ -95,250 +103,76 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "قائمة الألوان" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "إضافة لون جديد" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "قائمة الحالات" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "إضافة حالة جديدة" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "جديد" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "- يجب عليك تقديم قيمة!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." +msgstr "" + +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format msgid "Show '%s' brand" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format msgid "Remove %1$s %2$s" msgstr "إزالة %1$s %2$s" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" -msgstr[5] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" -msgstr[5] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 -#, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" -msgstr[5] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" -msgstr[5] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" -msgstr[5] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" -msgstr[5] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "قائمة النماذج" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "تعديل النموذج ”%s“" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "نموذج جديد" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "أضيف النموذج الجديد!" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "تم حفظ النموذج!" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, php-format msgid "Remove %1$s model" msgid_plural "Remove %1$s models" @@ -350,165 +184,174 @@ msgstr[4] "" msgstr[5] "" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "" -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "الإسم" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "النموذج" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "لون" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "حالة" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "الانتقال" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "هيكل" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +msgid "- you cannot attach this car to this member" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "قائمة الألوان" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "إضافة لون جديد" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" @@ -519,7 +362,35 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" @@ -530,7 +401,35 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:59 #, fuzzy, php-format #| msgid "Transmission" msgid "%count transmission" @@ -542,7 +441,35 @@ msgstr[3] "الانتقال" msgstr[4] "الانتقال" msgstr[5] "الانتقال" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" @@ -553,7 +480,34 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "قائمة الحالات" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "إضافة حالة جديدة" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" @@ -564,22 +518,46 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" -msgstr "حذف بطاقات المركبات" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "العلامة التجارية" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" @@ -590,22 +568,62 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" +msgstr[5] "" + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +msgid "Vehicle picture deleted" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "حذف بطاقات المركبات" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "السيارات" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +msgid "Preferences" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 #, fuzzy #| msgid "Vehicles list" msgid "Vehicles" msgstr "لائحة المركبات" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "- يجب عليك تحديد علامة تجارية!" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "" @@ -619,18 +637,29 @@ msgstr "" msgid "Add a brand" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." msgstr "" -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" @@ -641,38 +670,28 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" @@ -683,31 +702,56 @@ msgstr[3] "" msgstr[4] "" msgstr[5] "" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "إضافة نموذج جديد" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +msgid "Description" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "" @@ -716,81 +760,78 @@ msgstr "" msgid "no history entries" msgstr "" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" +msgstr "" + +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." +msgstr "" + +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" msgstr "" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 +#: ../templates/default/history_modal.js.twig:23 +msgid "An error occurred displaying history :(" +msgstr "" + +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 msgid "Choose a model" msgstr "احتر نموذجًا" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" +msgstr "" + +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 msgid "Car's photo" msgstr "" -#: ../templates/default/vehicles.html.twig:114 +#: ../templates/default/vehicles.html.twig:124 msgid "Current car's state informations" msgstr "" -#: ../templates/default/vehicles.html.twig:119 +#: ../templates/default/vehicles.html.twig:129 msgid "Current owner" msgstr "" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" -msgstr "" - -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" -msgstr "" - -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "" -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "" - -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "" - #~ msgid "model" #~ msgstr "نموذج" diff --git a/lang/auto_br.utf8.po b/lang/auto_br.utf8.po index 154b27c..6f984f4 100644 --- a/lang/auto_br.utf8.po +++ b/lang/auto_br.utf8.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: 2021-11-21 13:11+0000\n" "Last-Translator: Johan Cwiklinski \n" "Language-Team: Breton 99)) ? 2 : ((n != 0 && n % 1000000 == 0) ? 3 : 4)));\n" "X-Generator: Weblate 4.10-dev\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +msgid "Cars preferences" +msgstr "" + +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +msgid "Preferences have been successfully stored!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "" + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." @@ -94,244 +102,76 @@ msgstr[2] "" msgstr[3] "" msgstr[4] "" -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." +msgstr "" + +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format msgid "Show '%s' brand" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format msgid "Remove %1$s %2$s" msgstr "Dilemel %1$s %2$s" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 -#, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" -msgstr[3] "" -msgstr[4] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, fuzzy, php-format #| msgid "Remove %1$s %2$s" msgid "Remove %1$s model" @@ -343,165 +183,174 @@ msgstr[3] "Dilemel %1$s %2$s" msgstr[4] "Dilemel %1$s %2$s" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "" -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +msgid "- you cannot attach this car to this member" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" @@ -511,7 +360,34 @@ msgstr[2] "" msgstr[3] "" msgstr[4] "" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" @@ -521,7 +397,34 @@ msgstr[2] "" msgstr[3] "" msgstr[4] "" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:59 #, php-format msgid "%count transmission" msgid_plural "%count transmissions" @@ -531,7 +434,34 @@ msgstr[2] "" msgstr[3] "" msgstr[4] "" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" @@ -541,7 +471,33 @@ msgstr[2] "" msgstr[3] "" msgstr[4] "" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" @@ -551,22 +507,45 @@ msgstr[2] "" msgstr[3] "" msgstr[4] "" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" + +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." msgstr "" -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" @@ -576,20 +555,59 @@ msgstr[2] "" msgstr[3] "" msgstr[4] "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" +msgstr[4] "" + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +msgid "Vehicle picture deleted" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +msgid "Preferences" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 msgid "Vehicles" msgstr "" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "" @@ -603,18 +621,29 @@ msgstr "" msgid "Add a brand" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." msgstr "" -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" @@ -624,38 +653,28 @@ msgstr[2] "" msgstr[3] "" msgstr[4] "" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" @@ -665,31 +684,56 @@ msgstr[2] "" msgstr[3] "" msgstr[4] "" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +msgid "Description" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "" @@ -698,77 +742,74 @@ msgstr "" msgid "no history entries" msgstr "" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" msgstr "" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 -msgid "Choose a model" +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." msgstr "" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 -msgid "Car's photo" +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" msgstr "" -#: ../templates/default/vehicles.html.twig:114 -msgid "Current car's state informations" +#: ../templates/default/history_modal.js.twig:23 +msgid "An error occurred displaying history :(" msgstr "" -#: ../templates/default/vehicles.html.twig:119 -msgid "Current owner" +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 +msgid "Choose a model" msgstr "" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" msgstr "" -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 +msgid "Car's photo" msgstr "" -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:124 +msgid "Current car's state informations" +msgstr "" + +#: ../templates/default/vehicles.html.twig:129 +msgid "Current owner" +msgstr "" + +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "" - -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "" - -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "" diff --git a/lang/auto_ca.utf8.po b/lang/auto_ca.utf8.po index fd58009..3b7d51a 100644 --- a/lang/auto_ca.utf8.po +++ b/lang/auto_ca.utf8.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: 2026-01-28 15:00+0000\n" "Last-Translator: Laura Quintana Marín <2001lauraquintana@gmail.com>\n" "Language-Team: Catalan \n" "Language-Team: German \n" "Language-Team: Spanish \n" "Language-Team: French 1;\n" "X-Generator: Weblate 5.8-dev\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." -msgstr "" -"Aucun véhicule n'a été sélectionné, veuillez en sélectionner au moins un." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +#, fuzzy +#| msgid "Reference:" +msgid "Cars preferences" +msgstr "Référence :" + +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +#, fuzzy +#| msgid "Default preferences were successfully stored." +msgid "Preferences have been successfully stored!" +msgstr "Les préférences par défaut ont été sauvegardées avec succès." -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "Vous n'avez pas assez de privilèges." -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "Liste des voitures" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "Mes véhicules" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "Véhicules de l'adhérent" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "Liste des véhicules" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "Nouveau véhicule" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "Modifier le véhicule « %s »" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "" "- Une erreur est survenue lors de l'enregistrement du véhicule dans la base." -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "Le véhicule a été enregistré !" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "Historique de la voiture #%d" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "Véhicule" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "Supprimer le véhicule %1$s" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "" +"Aucun véhicule n'a été sélectionné, veuillez en sélectionner au moins un." + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "Suppression véhicules" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." msgstr[0] "Vous êtes sur le point de supprimer %count véhicule." msgstr[1] "Vous êtes sur le point de supprimer %count véhicules." -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "Une erreur est survenue lors de la suppression des véhicules :/" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "%count véhicules ont été supprimés avec succès." -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "Liste des couleurs" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "Ajouter une nouvelle couleur" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "Liste des états" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "Ajouter un nouvel état" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "Liste des finitions" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "Ajouter une finition" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "Liste des carrosseries" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "Ajouter une nouvelle carrosserie" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "Liste des transmissions" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "Ajouter une transmission" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "Liste des marques" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "Ajouter une nouvelle marque" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "Nouveau" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "Modifier « %s »" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "" -"- Pas d'identifiant fourni pour modifier cet enregistrement ! (interne)" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "- Vous devez fournir une valeur !" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "" -"- Une erreur est survenue lors de l'enregistrement. Veuillez essayer à " -"nouveau." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "La %property a été enregistrée !" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "%property a été enregistrée !" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." +msgstr "" +"- Une erreur est survenue lors de l'enregistrement. Veuillez essayer à " +"nouveau." + +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format msgid "Show '%s' brand" msgstr "Afficher la marque « %s »" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format msgid "Remove %1$s %2$s" msgstr "Supprimer %1$s %2$s" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "%1$s couleur a été supprimée avec succès." -msgstr[1] "%1$s couleurs ont été supprimées avec succès." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "%1$s status a été supprimé avec succès." -msgstr[1] "%1$s status ont été supprimés avec succès." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 -#, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "%1$s finition a été supprimée avec succès." -msgstr[1] "%1$s finitions ont été supprimées avec succès." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "%1$s carrosserie a été supprimée avec succès." -msgstr[1] "%1$s carrosseries ont été supprimées avec succès." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "%1$s transmission a été supprimée avec succès." -msgstr[1] "%1$s transmissions ont été supprimées avec succès." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "%1$s marque a été supprimé avec succès." -msgstr[1] "%1$s marques ont été supprimées avec succès." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Cette couleur est utilisée par un ou plusieurs véhicules, elle ne peut être " -"supprimée." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Ce status est utilisé par un ou plusieurs véhicules, il ne peut être " -"supprimé." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Cette finition est utilisée par un ou plusieurs véhicules, elle ne peut être " -"supprimée." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Cette carrosserie est utilisée par un ou plusieurs véhicules, elle ne peut " -"être supprimée." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Cette transmission est utilisée par un ou plusieurs véhicules, elle ne peut " -"être supprimée." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Cette marque est utilisée par un ou plusieurs véhicules, elle ne peut être " -"supprimée." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "Une erreur est survenue lors de la suppression de la couleur :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "Une erreur est survenue lors de la suppression du status :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "Une erreur est survenue lors de la suppression de la finition :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "Une erreur est survenue lors de la suppression de la carrosserie :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "Une erreur est survenue lors de la suppression de la transmission :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" -msgstr "Une erreur est survenue lors de la suppression de la marque :/" - -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "Liste des modèles" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "Modifier le modèle « %s »" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "Nouveau modèle" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "Le modèle a été ajouté !" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "Le modèle a été enregistré !" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, php-format msgid "Remove %1$s model" msgid_plural "Remove %1$s models" @@ -342,240 +191,418 @@ msgstr[0] "Suppression de %1$s modèle" msgstr[1] "Suppression de %1$s modèles" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "Supprimer le modèle «%1$s»" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "" "Ce modèle est utilisé par un ou plusieurs véhicules, il ne peut être " "supprimé." -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "Une erreur est survenue lors de la suppression du modèle." -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "Nom" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "Modèle" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "Immatriculation" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "Date de première immatriculation" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "Date de première mise en circulation" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "Kilométrage" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "Places" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "Puissance" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "Cylindrée" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "Numéro de chassis" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "Commentaire" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "Couleur" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "État" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "Finition" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "Transmission" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "Carrosseries" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "Carburant" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "Essence" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "Diesel" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "Gaz" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "Hybride" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "Électricité" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "Bio-carburant" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "Nouveau véhicule ajouté" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "Échec de l'ajout d'un nouveau véhicule." - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "Véhicule mis à jour" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "" "- La taille maximale du champ pour %field est %maxsize (actuellement " "%cursize) !" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "- Vous devez entrer un entier positif pour %s" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "- Vous devez choisir un carburant dans la liste" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "- Vous devez sélectionner un %s dans la liste" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "- vous devez rattacher un propriétaire à cette voiture" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +#, fuzzy +#| msgid "- you must attach an owner to this car" +msgid "- you cannot attach this car to this member" +msgstr "- vous devez rattacher un propriétaire à cette voiture" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "" "Une erreur est survenue lors de la suppression de la photo de du véhicule" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "Liste des couleurs" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "Ajouter une nouvelle couleur" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" msgstr[0] "%count couleur" msgstr[1] "%count couleurs" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "%1$s couleur a été supprimée avec succès." +msgstr[1] "%1$s couleurs ont été supprimées avec succès." + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Cette couleur est utilisée par un ou plusieurs véhicules, elle ne peut être " +"supprimée." + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "Une erreur est survenue lors de la suppression de la couleur :/" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "Liste des finitions" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "Ajouter une finition" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" msgstr[0] "%count finition" msgstr[1] "%count finitions" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "%1$s finition a été supprimée avec succès." +msgstr[1] "%1$s finitions ont été supprimées avec succès." + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Cette finition est utilisée par un ou plusieurs véhicules, elle ne peut être " +"supprimée." + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "Une erreur est survenue lors de la suppression de la finition :/" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "Liste des transmissions" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "Ajouter une transmission" + +#: ../lib/GaletteAuto/Transmission.php:59 #, php-format msgid "%count transmission" msgid_plural "%count transmissions" msgstr[0] "%count transmission" msgstr[1] "%count transmissions" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "%1$s transmission a été supprimée avec succès." +msgstr[1] "%1$s transmissions ont été supprimées avec succès." + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Cette transmission est utilisée par un ou plusieurs véhicules, elle ne peut " +"être supprimée." + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "Une erreur est survenue lors de la suppression de la transmission :/" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "Liste des carrosseries" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "Ajouter une nouvelle carrosserie" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" msgstr[0] "%count carrosserie" msgstr[1] "%count carrosseries" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "%1$s carrosserie a été supprimée avec succès." +msgstr[1] "%1$s carrosseries ont été supprimées avec succès." + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Cette carrosserie est utilisée par un ou plusieurs véhicules, elle ne peut " +"être supprimée." + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "Une erreur est survenue lors de la suppression de la carrosserie :/" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "Liste des états" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "Ajouter un nouvel état" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" msgstr[0] "%count statut" msgstr[1] "%count statuts" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" -msgstr "Supprimer les fiches des véhicules" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "%1$s status a été supprimé avec succès." +msgstr[1] "%1$s status ont été supprimés avec succès." -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Ce status est utilisé par un ou plusieurs véhicules, il ne peut être " +"supprimé." + +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "Une erreur est survenue lors de la suppression du status :/" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "Marque" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "Liste des marques" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "Ajouter une nouvelle marque" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" msgstr[0] "%count marque" msgstr[1] "%count marques" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "%1$s marque a été supprimé avec succès." +msgstr[1] "%1$s marques ont été supprimées avec succès." + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Cette marque est utilisée par un ou plusieurs véhicules, elle ne peut être " +"supprimée." + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "Une erreur est survenue lors de la suppression de la marque :/" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "Nouveau véhicule ajouté" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "Véhicule mis à jour" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +#, fuzzy +#| msgid "No vehicle selected" +msgid "Vehicle picture deleted" +msgstr "Aucun véhicule sélectionné" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "Supprimer les fiches des véhicules" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "Voitures" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +#, fuzzy +#| msgid "Reference:" +msgid "Preferences" +msgstr "Référence :" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 msgid "Vehicles" msgstr "Véhicules" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "- Vous devez sélectionner une marque !" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "Choisissez une marque" @@ -591,11 +618,22 @@ msgstr "" msgid "Add a brand" msgstr "Ajouter une marque" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "Propriétaire" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "Aucun véhicule sélectionné" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." @@ -603,77 +641,92 @@ msgstr "" "Assurez-vous de sélectionner au moins un véhicule dans la liste avant " "d’effectuer cette action." -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" msgstr[0] "%count véhicule" msgstr[1] "%count véhicules" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "Ajouter un nouveau véhicule" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "Propriétaire" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "Modifier %vehicle" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "%vehiclename : supprimer de la base" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "Aucun véhicule n'a été enregistré pour votre compte." -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "Aucun véhicule dans la base" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" msgstr[0] "%count modèle" msgstr[1] "%count modèles" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "Ajouter un nouveau modèle" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "Modifier %property" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "%property : supprimer de la base" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "aucun enregistrement trouvé" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +msgid "Description" +msgstr "Description" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "Afficher l'historique complet des états la voiture" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "Historique de l'état de la voiture" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "Modèles enregistrés pour la marque « %s »" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "La marque « %s » ne possède pas de modèles à l'heure actuelle." @@ -682,81 +735,88 @@ msgstr "La marque « %s » ne possède pas de modèles à l'heure actuelle." msgid "no history entries" msgstr "aucune entrée dans l'historique" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" -msgstr "Informations de base de la voiture" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" +msgstr "Champs obligatoires" + +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." +msgstr "" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 +# Chaîne Javascript ! +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" +msgstr "Historique de la voiture" + +#: ../templates/default/history_modal.js.twig:23 +#, fuzzy +#| msgid "An error occurred displaying members interface :(" +msgid "An error occurred displaying history :(" +msgstr "" +"Une erreur est survenue lors de l'affichage de l'interface des membres :(" + +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 msgid "Choose a model" msgstr "Choisissez un modèle" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" +msgstr "Informations de base de la voiture" + +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 msgid "Car's photo" msgstr "Photo de la voiture" -#: ../templates/default/vehicles.html.twig:114 +#: ../templates/default/vehicles.html.twig:124 msgid "Current car's state informations" msgstr "Informations sur l'état courant de la voiture" -#: ../templates/default/vehicles.html.twig:119 +#: ../templates/default/vehicles.html.twig:129 msgid "Current owner" msgstr "Propriétaire actuel" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" -msgstr "Afficher l'historique complet des états la voiture" - -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" -msgstr "Historique de l'état de la voiture" - -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "Modifier le propriétaire de la voiture" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "Choisissez une couleur" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "Choisissez un état" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "Informations techniques de la voiture" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "Choisissez une carrosserie" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "Choisissez une transmission" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "Choisissez une finition" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "Numéro de chassis" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "Choisissez un carburant" -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "Commentaire" +#~ msgid "- No id provided for modifying this record! (internal)" +#~ msgstr "" +#~ "- Pas d'identifiant fourni pour modifier cet enregistrement ! (interne)" -# Chaîne Javascript ! -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "Historique de la voiture" +#~ msgid "Fail to add new car." +#~ msgstr "Échec de l'ajout d'un nouveau véhicule." #, php-format #~ msgid "Brand '%s'" @@ -1101,10 +1161,6 @@ msgstr "Historique de la voiture" #~ msgid "Do you really want to delete selected vehicles?" #~ msgstr "Voulez vous vraiment effacer les véhicules sélectionnés ?" -#~ msgid "An error occurred displaying members interface :(" -#~ msgstr "" -#~ "Une erreur est survenue lors de l'affichage de l'interface des membres :(" - #~ msgid "Do you really want to delete the car '%s'?" #~ msgstr "Voulez vous vraiment effacer la voiture « %s » ?" @@ -1286,9 +1342,6 @@ msgstr "Historique de la voiture" #~ msgid "Sent mail is checked but there is no email address" #~ msgstr "Aucun des destinataires sélectionnés n'a d'adresse de courriel." -#~ msgid "Default preferences were successfully stored." -#~ msgstr "Les préférences par défaut ont été sauvegardées avec succès." - #~ msgid "Admin account (independant of members):" #~ msgstr "Compte administrateur (indépendant des adhérents) :" @@ -2119,9 +2172,6 @@ msgstr "Historique de la voiture" #~ msgid "Logs" #~ msgstr "Historique" -#~ msgid "Required fields" -#~ msgstr "Champs obligatoires" - #~ msgid "Miss" #~ msgstr "Mademoiselle" @@ -2153,9 +2203,6 @@ msgstr "Historique de la voiture" #~ msgid "Username:" #~ msgstr "Identifiant :" -#~ msgid "Reference:" -#~ msgstr "Référence :" - #~ msgid "E-Mail" #~ msgstr "Courriel" @@ -2463,9 +2510,6 @@ msgstr "Historique de la voiture" #~ msgid "lines" #~ msgstr "lignes" -#~ msgid "Description" -#~ msgstr "Description" - #~ msgid "First name:" #~ msgstr "Prénom :" diff --git a/lang/auto_it_IT.utf8.po b/lang/auto_it_IT.utf8.po index 0ffe040..87df446 100644 --- a/lang/auto_it_IT.utf8.po +++ b/lang/auto_it_IT.utf8.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: 2024-07-02 10:16+0000\n" "Last-Translator: Marco Ciampa \n" "Language-Team: Italian \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Occitan 1;\n" "X-Generator: Weblate 5.5-dev\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +msgid "Cars preferences" +msgstr "" + +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +msgid "Preferences have been successfully stored!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "Avètz pas pron de provilègis." -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "" + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "Novèl" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." +msgstr "" + +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format msgid "Show '%s' brand" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format msgid "Remove %1$s %2$s" msgstr "Levar %1$s %2$s" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 -#, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, php-format msgid "Remove %1$s model" msgid_plural "Remove %1$s models" @@ -317,235 +175,395 @@ msgstr[0] "" msgstr[1] "" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "" -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "Nom" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "Comentari" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "Còrs" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +msgid "- you cannot attach this car to this member" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:59 #, php-format msgid "%count transmission" msgid_plural "%count transmissions" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." msgstr "" -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +msgid "Vehicle picture deleted" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +msgid "Preferences" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 msgid "Vehicles" msgstr "" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "" @@ -559,87 +577,113 @@ msgstr "" msgid "Add a brand" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." msgstr "" -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" msgstr[0] "" msgstr[1] "" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" msgstr[0] "" msgstr[1] "" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +msgid "Description" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "" @@ -648,81 +692,78 @@ msgstr "" msgid "no history entries" msgstr "" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" msgstr "" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 -msgid "Choose a model" +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." msgstr "" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 -msgid "Car's photo" +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" msgstr "" -#: ../templates/default/vehicles.html.twig:114 -msgid "Current car's state informations" +#: ../templates/default/history_modal.js.twig:23 +msgid "An error occurred displaying history :(" msgstr "" -#: ../templates/default/vehicles.html.twig:119 -msgid "Current owner" +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 +msgid "Choose a model" msgstr "" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" msgstr "" -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 +msgid "Car's photo" msgstr "" -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:124 +msgid "Current car's state informations" +msgstr "" + +#: ../templates/default/vehicles.html.twig:129 +msgid "Current owner" +msgstr "" + +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "" -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "Comentari" - -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "" - #~ msgid "Delete image" #~ msgstr "Suprimir imatge" diff --git a/lang/auto_ota.utf8.po b/lang/auto_ota.utf8.po index c1ea90e..eded702 100644 --- a/lang/auto_ota.utf8.po +++ b/lang/auto_ota.utf8.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -16,297 +16,155 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +msgid "Cars preferences" +msgstr "" + +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +msgid "Preferences have been successfully stored!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "" + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 -#, php-format -msgid "Show '%s' brand" +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format -msgid "Remove %1$s %2$s" +msgid "Show '%s' brand" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" +msgid "Remove %1$s %2$s" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, php-format msgid "Remove %1$s model" msgid_plural "Remove %1$s models" @@ -314,235 +172,395 @@ msgstr[0] "" msgstr[1] "" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "" -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +msgid "- you cannot attach this car to this member" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:59 #, php-format msgid "%count transmission" msgid_plural "%count transmissions" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." msgstr "" -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +msgid "Vehicle picture deleted" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +msgid "Preferences" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 msgid "Vehicles" msgstr "" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "" @@ -556,87 +574,113 @@ msgstr "" msgid "Add a brand" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." msgstr "" -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" msgstr[0] "" msgstr[1] "" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" msgstr[0] "" msgstr[1] "" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +msgid "Description" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "" @@ -645,77 +689,74 @@ msgstr "" msgid "no history entries" msgstr "" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" msgstr "" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 -msgid "Choose a model" +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." msgstr "" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 -msgid "Car's photo" +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" msgstr "" -#: ../templates/default/vehicles.html.twig:114 -msgid "Current car's state informations" +#: ../templates/default/history_modal.js.twig:23 +msgid "An error occurred displaying history :(" msgstr "" -#: ../templates/default/vehicles.html.twig:119 -msgid "Current owner" +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 +msgid "Choose a model" msgstr "" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" msgstr "" -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 +msgid "Car's photo" msgstr "" -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:124 +msgid "Current car's state informations" +msgstr "" + +#: ../templates/default/vehicles.html.twig:129 +msgid "Current owner" +msgstr "" + +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "" - -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "" - -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "" diff --git a/lang/auto_pt.utf8.po b/lang/auto_pt.utf8.po index a83ac16..4de5c1e 100644 --- a/lang/auto_pt.utf8.po +++ b/lang/auto_pt.utf8.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: 2026-05-26 16:11+0000\n" "Last-Translator: ssantos \n" "Language-Team: Portuguese 1;\n" "X-Generator: Weblate 2026.6.dev0\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +msgid "Cars preferences" msgstr "" -"Não foi selecionado nenhum veículo, por favor, marque pelo menos um nome." -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +#, fuzzy +#| msgid "%count vehicles have been successfully deleted." +msgid "Preferences have been successfully stored!" +msgstr "%count veículos foram apagados com sucesso." + +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "Não tem privilégios suficientes." -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "Lista de carros" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "Os meus carros" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "Carros dos membros" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "Lista de veículos" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "Veículo novo" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "Alterar veículo '%s'" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "- Ocorreu um erro ao gravar o veículo na base de dados." -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "O veículo foi gravado!" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "Histórico do carro #%d" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "Veículo" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "Remover veículo %1$s" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "" +"Não foi selecionado nenhum veículo, por favor, marque pelo menos um nome." + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "Remover veículos" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." msgstr[0] "Está prestes a remover %count veículo." msgstr[1] "Está prestes a remover %count veículos." -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "Ocorreu um erro ao tentar remover veículos :/" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "%count veículos foram apagados com sucesso." -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "Lista de cores" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "Adicionar nova cor" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "Lista de Estados" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "Adicionar novo estado" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "Lista de acabamentos" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "Adicionar nova finalização" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "Lista de corpos" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "Adicionar novo corpo" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "Lista de transmissões" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "Adicionar nova transmissão" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "Lista de marcas" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "Adicionar nova marca" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "Novo" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "Mudança %s" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "- Nenhum ID fornecido para modificar este registo! (interno)" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "Precisa fornecer um valor!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "- Um erro ocorreu ao gravar o registo. Por favor, tente novamente." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "Uma nova propriedade %property foi adicionada!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "A %property foi gravada!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." +msgstr "- Um erro ocorreu ao gravar o registo. Por favor, tente novamente." + +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format msgid "Show '%s' brand" msgstr "Exibir a marca '%s'" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format msgid "Remove %1$s %2$s" msgstr "Remover %1$s %2$s" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "A cor %1$s foi apagada com sucesso." -msgstr[1] "As cores %1$s foram apagadas com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "O estado %1$s foi apagado com sucesso." -msgstr[1] "Os estados %1$s foram apagados com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 -#, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "A configuração %1$s foi apagado com sucesso." -msgstr[1] "As definições %1$s foram apagados com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "O corpo de %1$s foi apagado com sucesso." -msgstr[1] "Os corpos %1$s foram apagados com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "A transmissão %1$s foi apagada com sucesso." -msgstr[1] "As transmissões %1$s foram apagadas com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "A marca %1$s foi apagada com sucesso." -msgstr[1] "As marcas %1$s foram apagadas com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "Esta cor é usada por um ou mais veículos e não pode ser apagada." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Este estado é utilizado por um ou mais veículos e não pode ser apagado." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Esta carroceria é utilizada por um ou mais veículos e não pode ser apagada." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Esta transmissão é utilizada por um ou mais veículos e não pode ser apagada." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "Esta marca é utilizada por um ou mais veículos e não pode ser apagada." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "Ocorreu um erro ao tentar remover a cor :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "Ocorreu um erro ao tentar remover o estado :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "Ocorreu um erro ao tentar remover a finition :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "Ocorreu um erro ao tentar remover o corpo :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "Ocorreu um erro ao tentar remover a transmissão :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" -msgstr "Ocorreu um erro ao tentar remover a marca :/" - -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "Lista de modelos" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "Alterar modelo '%s'" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "Novo modelo" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "Um novo modelo foi adicionado!" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "O modelo foi gravado!" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, php-format msgid "Remove %1$s model" msgid_plural "Remove %1$s models" @@ -324,236 +181,399 @@ msgstr[0] "Remover %1$s modelo" msgstr[1] "Remover %1$s modelos" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "Remover modelo \"%1$s\"" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "" "Este modelo é utilizado por um ou mais veículos, este não pode ser eliminado." -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "Um erro ocorreu ao apagar o modelo." -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "Nome" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "Modelo" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "Comentário" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "Cor" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "Estado" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "Transmissão" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +msgid "- you cannot attach this car to this member" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "Lista de cores" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "Adicionar nova cor" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" msgstr[0] "%count cor" msgstr[1] "%count corres" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "A cor %1$s foi apagada com sucesso." +msgstr[1] "As cores %1$s foram apagadas com sucesso." + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "Esta cor é usada por um ou mais veículos e não pode ser apagada." + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "Ocorreu um erro ao tentar remover a cor :/" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "Lista de acabamentos" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "Adicionar nova finalização" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "A configuração %1$s foi apagado com sucesso." +msgstr[1] "As definições %1$s foram apagados com sucesso." + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "Ocorreu um erro ao tentar remover a finition :/" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "Lista de transmissões" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "Adicionar nova transmissão" + +#: ../lib/GaletteAuto/Transmission.php:59 #, php-format msgid "%count transmission" msgid_plural "%count transmissions" msgstr[0] "%count transmissão" msgstr[1] "%count transmissões" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "A transmissão %1$s foi apagada com sucesso." +msgstr[1] "As transmissões %1$s foram apagadas com sucesso." + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Esta transmissão é utilizada por um ou mais veículos e não pode ser apagada." + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "Ocorreu um erro ao tentar remover a transmissão :/" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "Lista de corpos" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "Adicionar novo corpo" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "O corpo de %1$s foi apagado com sucesso." +msgstr[1] "Os corpos %1$s foram apagados com sucesso." + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Esta carroceria é utilizada por um ou mais veículos e não pode ser apagada." + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "Ocorreu um erro ao tentar remover o corpo :/" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "Lista de Estados" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "Adicionar novo estado" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" msgstr[0] "%contagem de estado" msgstr[1] "%c > 1 contagens de estado" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "O estado %1$s foi apagado com sucesso." +msgstr[1] "Os estados %1$s foram apagados com sucesso." + +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." msgstr "" +"Este estado é utilizado por um ou mais veículos e não pode ser apagado." -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "Ocorreu um erro ao tentar remover o estado :/" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "Marca" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "Lista de marcas" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "Adicionar nova marca" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" msgstr[0] "%count marca" msgstr[1] "%count marcas" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "A marca %1$s foi apagada com sucesso." +msgstr[1] "As marcas %1$s foram apagadas com sucesso." + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "Esta marca é utilizada por um ou mais veículos e não pode ser apagada." + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "Ocorreu um erro ao tentar remover a marca :/" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +msgid "Vehicle picture deleted" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +msgid "Preferences" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 msgid "Vehicles" msgstr "" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "- Precisa selecionar uma marca!" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "" @@ -567,87 +587,113 @@ msgstr "" msgid "Add a brand" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." msgstr "" -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" msgstr[0] "" msgstr[1] "" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" msgstr[0] "" msgstr[1] "" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +msgid "Description" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "" @@ -656,80 +702,82 @@ msgstr "" msgid "no history entries" msgstr "" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" msgstr "" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 -msgid "Choose a model" +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." msgstr "" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 -msgid "Car's photo" +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" msgstr "" -#: ../templates/default/vehicles.html.twig:114 -msgid "Current car's state informations" +#: ../templates/default/history_modal.js.twig:23 +#, fuzzy +#| msgid "An error occurred trying to remove body :/" +msgid "An error occurred displaying history :(" +msgstr "Ocorreu um erro ao tentar remover o corpo :/" + +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 +msgid "Choose a model" msgstr "" -#: ../templates/default/vehicles.html.twig:119 -msgid "Current owner" +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" msgstr "" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 +msgid "Car's photo" msgstr "" -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" +#: ../templates/default/vehicles.html.twig:124 +msgid "Current car's state informations" msgstr "" -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:129 +msgid "Current owner" +msgstr "" + +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "" -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "Comentário" - -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "" +#~ msgid "- No id provided for modifying this record! (internal)" +#~ msgstr "- Nenhum ID fornecido para modificar este registo! (interno)" #, php-format #~ msgid "Brand '%s'" diff --git a/lang/auto_pt_BR.utf8.po b/lang/auto_pt_BR.utf8.po index ebd7181..325fbcd 100644 --- a/lang/auto_pt_BR.utf8.po +++ b/lang/auto_pt_BR.utf8.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: 2026-05-30 15:01+0000\n" "Last-Translator: Edson Wolf \n" "Language-Team: Portuguese (Brazil) 1;\n" "X-Generator: Weblate 2026.6.dev0\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +msgid "Cars preferences" msgstr "" -"Nenhum veículo foi selecionado, por favor selecione pelo menos um nome." -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +#, fuzzy +#| msgid "%count vehicles have been successfully deleted." +msgid "Preferences have been successfully stored!" +msgstr "%count veículos foram excluídos com sucesso." + +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "Você não tem privilégios suficientes." -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "Lista de carros" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "Meus carros" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "Carros dos membros" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "Lista de veículos" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "Veículo novo" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "Alterar veículo '%s'" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "- Ocorreu um erro ao salvar o veículo no banco de dados." -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "O veículo foi salvo!" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "Histórico do carro #%d" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "Veículo" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "Remover veículo %1$s" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "" +"Nenhum veículo foi selecionado, por favor selecione pelo menos um nome." + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "Remover veículos" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." msgstr[0] "Você está prestes a remover %count veículo." msgstr[1] "Você está prestes a remover %count veículos." -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "Ocorreu um erro ao tentar remover veículos :/" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "%count veículos foram excluídos com sucesso." -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "Lista de cores" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "Adicionar nova cor" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "Lista de Estados" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "Adicionar novo estado" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "Lista de acabamentos" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "Adicionar nova finalização" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "Lista de corpos" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "Adicionar novo corpo" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "Lista de transmissões" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "Adicionar nova transmissão" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "Lista de marcas" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "Adicionar nova marca" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "Novo" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "Mudança %s" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "- Nenhum ID fornecido para modificar este registro! (interno)" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "Você precisa fornecer um valor!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "- Um erro ocorreu ao salvar o registro. Por favor, tente novamente." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "Uma nova propriedade %property foi adicionada!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "A %property foi salva!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." +msgstr "- Um erro ocorreu ao salvar o registro. Por favor, tente novamente." + +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format msgid "Show '%s' brand" msgstr "Exibir a marca '%s'" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format msgid "Remove %1$s %2$s" msgstr "Remover %1$s %2$s" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "A cor %1$s foi excluída com sucesso." -msgstr[1] "As cores %1$s foram excluídas com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "O estado %1$s foi excluído com sucesso." -msgstr[1] "Os estados %1$s foram excluídos com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 -#, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "A configuração %1$s foi excluída com sucesso." -msgstr[1] "As definições %1$s foram excluídas com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "O corpo de %1$s foi excluído com sucesso." -msgstr[1] "Os corpos %1$s foram excluídos com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "A transmissão %1$s foi excluída com sucesso." -msgstr[1] "As transmissões %1$s foram excluídas com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "A marca %1$s foi excluída com sucesso." -msgstr[1] "As marcas %1$s foram excluídas com sucesso." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "Essa cor é usada por um ou mais veículos e não pode ser removida." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Este estado é utilizado por um ou mais veículos e não pode ser apagado." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Esta finición é utilizada por um ou mais veículos, não podendo ser eliminada." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Esta carroceria é utilizada por um ou mais veículos e não pode ser excluída." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Esta transmissão é utilizada por um ou mais veículos e não pode ser apagada." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Esta marca é utilizada por um ou mais veículos e não pode ser excluída." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "Ocorreu um erro ao tentar remover a cor :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "Ocorreu um erro ao tentar remover o estado :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "Ocorreu um erro ao tentar remover a finition :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "Ocorreu um erro ao tentar remover o corpo :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "Ocorreu um erro ao tentar remover a transmissão :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" -msgstr "Ocorreu um erro ao tentar remover a marca :/" - -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "Lista de modelos" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "Alterar modelo '%s'" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "Novo modelo" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "Um novo modelo foi adicionado!" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "O modelo foi salvo!" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, php-format msgid "Remove %1$s model" msgid_plural "Remove %1$s models" @@ -323,235 +178,402 @@ msgstr[0] "Remover %1$s modelo" msgstr[1] "Remover %1$s modelos" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "Remover modelo \"%1$s\"" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "Este modelo é usado por um ou mais veículos, não pode ser excluído." -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "Um erro ocorreu ao excluir o modelo." -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "Nome" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "Modelo" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "Inscrição" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "Data da primeira inscrição" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "Data da primeira circulação" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "Quilometragem" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "Assentos" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "Potência em cavalos" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "Tamanho do motor" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "Comentário" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "Cor" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "Estado" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "Acabamento" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "Transmissão" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "Combustível" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "Gasolina" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "Diesel" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "Gás" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "Híbrido" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "Eletricidade" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "Bio" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "Novo carro adicionado" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "Falha ao adicionar novo carro." - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "Carro atualizado" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "- O tamanho máximo para %field é %maxsize (tamanho atual %cursize)!" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "- Você deve inserir um número inteiro positivo para %s" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "- Você deve escolher um combustível na lista" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "- Você deve escolher um %s na lista" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "- Você precisa associar um proprietário a este carro" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +#, fuzzy +#| msgid "- you must attach an owner to this car" +msgid "- you cannot attach this car to this member" +msgstr "- Você precisa associar um proprietário a este carro" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "Ocorreu um erro ao tentar excluir a foto do carro" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "Lista de cores" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "Adicionar nova cor" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" msgstr[0] "%count cor" msgstr[1] "%count corres" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "A cor %1$s foi excluída com sucesso." +msgstr[1] "As cores %1$s foram excluídas com sucesso." + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "Essa cor é usada por um ou mais veículos e não pode ser removida." + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "Ocorreu um erro ao tentar remover a cor :/" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "Lista de acabamentos" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "Adicionar nova finalização" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "A configuração %1$s foi excluída com sucesso." +msgstr[1] "As definições %1$s foram excluídas com sucesso." + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Esta finición é utilizada por um ou mais veículos, não podendo ser eliminada." + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "Ocorreu um erro ao tentar remover a finition :/" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "Lista de transmissões" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "Adicionar nova transmissão" + +#: ../lib/GaletteAuto/Transmission.php:59 #, php-format msgid "%count transmission" msgid_plural "%count transmissions" msgstr[0] "%count transmissão" msgstr[1] "%count transmissões" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "A transmissão %1$s foi excluída com sucesso." +msgstr[1] "As transmissões %1$s foram excluídas com sucesso." + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Esta transmissão é utilizada por um ou mais veículos e não pode ser apagada." + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "Ocorreu um erro ao tentar remover a transmissão :/" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "Lista de corpos" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "Adicionar novo corpo" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "O corpo de %1$s foi excluído com sucesso." +msgstr[1] "Os corpos %1$s foram excluídos com sucesso." + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Esta carroceria é utilizada por um ou mais veículos e não pode ser excluída." + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "Ocorreu um erro ao tentar remover o corpo :/" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "Lista de Estados" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "Adicionar novo estado" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" msgstr[0] "%count de estado" msgstr[1] "%count de estados" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" -msgstr "Excluir cartões de veículos" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "O estado %1$s foi excluído com sucesso." +msgstr[1] "Os estados %1$s foram excluídos com sucesso." -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Este estado é utilizado por um ou mais veículos e não pode ser apagado." + +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "Ocorreu um erro ao tentar remover o estado :/" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "Marca" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "Lista de marcas" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "Adicionar nova marca" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" msgstr[0] "%count marca" msgstr[1] "%count marcas" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "A marca %1$s foi excluída com sucesso." +msgstr[1] "As marcas %1$s foram excluídas com sucesso." + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Esta marca é utilizada por um ou mais veículos e não pode ser excluída." + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "Ocorreu um erro ao tentar remover a marca :/" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "Novo carro adicionado" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "Carro atualizado" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +msgid "Vehicle picture deleted" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "Excluir cartões de veículos" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "Carros" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +msgid "Preferences" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 msgid "Vehicles" msgstr "Veículos" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "- Você precisa selecionar uma marca!" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "" @@ -565,87 +587,115 @@ msgstr "" msgid "Add a brand" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." msgstr "" -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" msgstr[0] "" msgstr[1] "" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" msgstr[0] "" msgstr[1] "" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +#, fuzzy +#| msgid "Registration" +msgid "Description" +msgstr "Inscrição" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "" @@ -654,80 +704,85 @@ msgstr "" msgid "no history entries" msgstr "" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" msgstr "" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 -msgid "Choose a model" +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." msgstr "" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 -msgid "Car's photo" +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" msgstr "" -#: ../templates/default/vehicles.html.twig:114 -msgid "Current car's state informations" +#: ../templates/default/history_modal.js.twig:23 +#, fuzzy +#| msgid "An error occurred trying to remove body :/" +msgid "An error occurred displaying history :(" +msgstr "Ocorreu um erro ao tentar remover o corpo :/" + +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 +msgid "Choose a model" msgstr "" -#: ../templates/default/vehicles.html.twig:119 -msgid "Current owner" +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" msgstr "" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 +msgid "Car's photo" msgstr "" -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" +#: ../templates/default/vehicles.html.twig:124 +msgid "Current car's state informations" msgstr "" -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:129 +msgid "Current owner" +msgstr "" + +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "" -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "Comentário" +#~ msgid "- No id provided for modifying this record! (internal)" +#~ msgstr "- Nenhum ID fornecido para modificar este registro! (interno)" -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "" +#~ msgid "Fail to add new car." +#~ msgstr "Falha ao adicionar novo carro." #, php-format #~ msgid "Brand '%s'" diff --git a/lang/auto_ru.utf8.po b/lang/auto_ru.utf8.po index 2f17d16..7d835bf 100644 --- a/lang/auto_ru.utf8.po +++ b/lang/auto_ru.utf8.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: 2026-05-11 14:11+0000\n" "Last-Translator: Andrei Stepanov \n" "Language-Team: Russian =20) ? 1 : 2);\n" "X-Generator: Weblate 2026.5-dev\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +msgid "Cars preferences" msgstr "" -"Не было выбрано ни одного автомобиля, пожалуйста, выберите хотя бы одну " -"позицию." -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +#, fuzzy +#| msgid "%1$s body has been successfully deleted." +#| msgid_plural "%1$s bodies have been successfully deleted." +msgid "Preferences have been successfully stored!" +msgstr "%1$s было успешно удалено." + +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "Автомобиль был сохранён!" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "История автомобиля #%d" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "Автомобиль" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "Удалить автомобиль %1$s" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "" +"Не было выбрано ни одного автомобиля, пожалуйста, выберите хотя бы одну " +"позицию." + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "Убрать автомобили" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "Список цветов" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "Добавить новый цвет" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "Список государств" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "Добавьте новый штат" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "Список пунктов" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "Добавить новый пункт" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "Список органов" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "Добавьте новое тело" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "Список трансмиссий" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "Добавить новую передачу" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "Список брендов" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "Добавить новый бренд" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "Новый" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "Изменить '%s'" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "- Не указан идентификатор для изменения этой записи! (внутренний)" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "- Вы должны предоставить значение!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "- При сохранении записи произошла ошибка. Пожалуйста попробуйте снова." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "Добавлено новое %property!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "%property было сохранено!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." +msgstr "- При сохранении записи произошла ошибка. Пожалуйста попробуйте снова." + +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format msgid "Show '%s' brand" msgstr "Показать бренд '%s'" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format msgid "Remove %1$s %2$s" msgstr "Удалить %1$s %2$s" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "Цвет %1$s был успешно удален." -msgstr[1] "%1$s цвета были успешно удалены." -msgstr[2] "%1$s цветов были успешно удалены." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "Состояние %1$s было успешно удалено." -msgstr[1] "%1$s состояния были успешно удалены." -msgstr[2] "%1$s состояний были успешно удалены." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 -#, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "Финиция %1$s была успешно удалена." -msgstr[1] "Финиши %1$s были успешно удалены." -msgstr[2] "Финишей %1$s было успешно удалено." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "%1$s было успешно удалено." -msgstr[1] "%1$s были успешно удалены." -msgstr[2] "%1$s были успешно удалены." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "Передача %1$s была успешно удалена." -msgstr[1] "%1$s передачи были успешно удалены." -msgstr[2] "%1$s передач были успешно удалены." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "Произошла ошибка при попытке удалить цвет :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "Произошла ошибка при попытке удалить состояние :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "Произошла ошибка при попытке удалить finition :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "Произошла ошибка при попытке удалить тело :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "Произошла ошибка при попытке удалить передачу :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" -msgstr "Произошла ошибка при попытке удалить бренд :/" - -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "Список моделей" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "Сменить модель '%s'" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "Новая модель" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "Новая модель добавлена!" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "Модель сохранена!" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, php-format msgid "Remove %1$s model" msgid_plural "Remove %1$s models" @@ -334,195 +189,303 @@ msgstr[1] "Убрать %1$s модели" msgstr[2] "Убрать %1$s моделей" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "Удалить модель \"%1$s\"" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "" "Эта модель используется одним или несколькими автомобилями, ее нельзя " "удалить." -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "При удалении модели произошла ошибка." -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "Имя" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "Дата первой регистрации" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "Дата первого тиража" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "Пробег" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "Комментарий" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "Цвет" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "Государство" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "Тело" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +msgid "- you cannot attach this car to this member" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "Произошла ошибка при попытке удаления фотографию автомобиля" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "Список цветов" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "Добавить новый цвет" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "Цвет %1$s был успешно удален." +msgstr[1] "%1$s цвета были успешно удалены." +msgstr[2] "%1$s цветов были успешно удалены." + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "Произошла ошибка при попытке удалить цвет :/" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "Список пунктов" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "Добавить новый пункт" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "Финиция %1$s была успешно удалена." +msgstr[1] "Финиши %1$s были успешно удалены." +msgstr[2] "Финишей %1$s было успешно удалено." + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "Произошла ошибка при попытке удалить finition :/" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "Список трансмиссий" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "Добавить новую передачу" + +#: ../lib/GaletteAuto/Transmission.php:59 #, php-format msgid "%count transmission" msgid_plural "%count transmissions" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "Передача %1$s была успешно удалена." +msgstr[1] "%1$s передачи были успешно удалены." +msgstr[2] "%1$s передач были успешно удалены." + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "Произошла ошибка при попытке удалить передачу :/" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "Список органов" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "Добавьте новое тело" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "%1$s было успешно удалено." +msgstr[1] "%1$s были успешно удалены." +msgstr[2] "%1$s были успешно удалены." + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "Произошла ошибка при попытке удалить тело :/" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "Список государств" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "Добавьте новый штат" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" @@ -530,42 +493,100 @@ msgstr[0] "" msgstr[1] "" msgstr[2] "%c" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "Состояние %1$s было успешно удалено." +msgstr[1] "%1$s состояния были успешно удалены." +msgstr[2] "%1$s состояний были успешно удалены." + +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." msgstr "" -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "Произошла ошибка при попытке удалить состояние :/" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "Список брендов" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "Добавить новый бренд" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "Произошла ошибка при попытке удалить бренд :/" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +msgid "Vehicle picture deleted" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +msgid "Preferences" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 msgid "Vehicles" msgstr "" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "" @@ -579,87 +600,113 @@ msgstr "" msgid "Add a brand" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." msgstr "" -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" msgstr[0] "" msgstr[1] "" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" msgstr[0] "" msgstr[1] "" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +msgid "Description" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "" @@ -668,80 +715,82 @@ msgstr "" msgid "no history entries" msgstr "" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" msgstr "" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 -msgid "Choose a model" +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." msgstr "" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 -msgid "Car's photo" +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" msgstr "" -#: ../templates/default/vehicles.html.twig:114 -msgid "Current car's state informations" +#: ../templates/default/history_modal.js.twig:23 +#, fuzzy +#| msgid "An error occurred trying to remove body :/" +msgid "An error occurred displaying history :(" +msgstr "Произошла ошибка при попытке удалить тело :/" + +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 +msgid "Choose a model" msgstr "" -#: ../templates/default/vehicles.html.twig:119 -msgid "Current owner" +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" msgstr "" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 +msgid "Car's photo" msgstr "" -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" +#: ../templates/default/vehicles.html.twig:124 +msgid "Current car's state informations" msgstr "" -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:129 +msgid "Current owner" +msgstr "" + +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "" -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "Комментарий" - -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "" +#~ msgid "- No id provided for modifying this record! (internal)" +#~ msgstr "- Не указан идентификатор для изменения этой записи! (внутренний)" #, php-format #~ msgid "Brand '%s'" diff --git a/lang/auto_si.utf8.po b/lang/auto_si.utf8.po index caec694..e440c40 100644 --- a/lang/auto_si.utf8.po +++ b/lang/auto_si.utf8.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -16,297 +16,155 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +msgid "Cars preferences" +msgstr "" + +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +msgid "Preferences have been successfully stored!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "" + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 -#, php-format -msgid "Show '%s' brand" +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format -msgid "Remove %1$s %2$s" +msgid "Show '%s' brand" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "" -msgstr[1] "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" +msgid "Remove %1$s %2$s" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, php-format msgid "Remove %1$s model" msgid_plural "Remove %1$s models" @@ -314,235 +172,395 @@ msgstr[0] "" msgstr[1] "" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "" -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +msgid "- you cannot attach this car to this member" +msgstr "" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:59 #, php-format msgid "%count transmission" msgid_plural "%count transmissions" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." msgstr "" -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" msgstr[0] "" msgstr[1] "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "" +msgstr[1] "" + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "" + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +msgid "Vehicle picture deleted" +msgstr "" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +msgid "Preferences" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 msgid "Vehicles" msgstr "" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "" @@ -556,87 +574,113 @@ msgstr "" msgid "Add a brand" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." msgstr "" -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" msgstr[0] "" msgstr[1] "" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "" -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" msgstr[0] "" msgstr[1] "" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +msgid "Description" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "" @@ -645,77 +689,74 @@ msgstr "" msgid "no history entries" msgstr "" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" msgstr "" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 -msgid "Choose a model" +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." msgstr "" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 -msgid "Car's photo" +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" msgstr "" -#: ../templates/default/vehicles.html.twig:114 -msgid "Current car's state informations" +#: ../templates/default/history_modal.js.twig:23 +msgid "An error occurred displaying history :(" msgstr "" -#: ../templates/default/vehicles.html.twig:119 -msgid "Current owner" +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 +msgid "Choose a model" msgstr "" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" msgstr "" -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 +msgid "Car's photo" msgstr "" -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:124 +msgid "Current car's state informations" +msgstr "" + +#: ../templates/default/vehicles.html.twig:129 +msgid "Current owner" +msgstr "" + +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "" - -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "" - -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "" diff --git a/lang/auto_sl.utf8.po b/lang/auto_sl.utf8.po index b5dc72c..7cad8bf 100644 --- a/lang/auto_sl.utf8.po +++ b/lang/auto_sl.utf8.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: 2026-09-23 14:06+0000\n" "Last-Translator: Jože Felicijan \n" "Language-Team: Slovenian \n" @@ -23,310 +23,158 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.17.1\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +msgid "Cars preferences" msgstr "" -"எந்த வாகனமும் தேர்ந்தெடுக்கப்படவில்லை, தயவுசெய்து குறைந்தது ஒரு பெயரையோ சரிபார்க்கவும்." -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +#, fuzzy +#| msgid "%count vehicles have been successfully deleted." +msgid "Preferences have been successfully stored!" +msgstr "%count வாகனங்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." + +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "உங்களுக்கு போதுமான சலுகைகள் இல்லை." -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "கார்கள் பட்டியல்" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "என் கார்கள்" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "உறுப்பினரின் கார்கள்" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "வாகனங்கள் பட்டியல்" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "புதிய வண்டி" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "வாகனத்தை மாற்றவும் '%s'" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "- தரவுத்தளத்தில் வாகனத்தை சேமிக்கும் போது பிழை ஏற்பட்டது." -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "வண்டி சேமிக்கப்பட்டுள்ளது!" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "காரின் வரலாறு #%d" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "வண்டி" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "வண்டி %1$s ஐ அகற்றவும்" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "" +"எந்த வாகனமும் தேர்ந்தெடுக்கப்படவில்லை, தயவுசெய்து குறைந்தது ஒரு பெயரையோ சரிபார்க்கவும்." + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "வாகனங்களை அகற்றவும்" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." msgstr[0] "நீங்கள் %count வாகனத்தை அகற்ற உள்ளீர்கள்." msgstr[1] "நீங்கள் %count வாகனங்களை அகற்ற உள்ளீர்கள்." -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "வாகனங்களை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "%count வாகனங்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "வண்ணங்கள் பட்டியல்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "புதிய வண்ணத்தைச் சேர்க்கவும்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "மாநிலங்களின் பட்டியல்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "புதிய மாநிலத்தைச் சேர்க்கவும்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "பட்டியல் முடிவுகள்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "புதிய பினிசனைச் சேர்க்கவும்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "உடல்கள் பட்டியல்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "புதிய உடலைச் சேர்க்கவும்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "பரிமாற்றங்கள் பட்டியல்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "புதிய பரிமாற்றத்தைச் சேர்க்கவும்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "பிராண்டுகள் பட்டியல்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "புதிய பிராண்டைச் சேர்க்கவும்" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "புதிய" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "'%s' ஐ மாற்றவும்" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "- இந்த பதிவை மாற்றுவதற்கு ஐடி எதுவும் வழங்கப்படவில்லை! (உள்)" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "- நீங்கள் ஒரு மதிப்பை வழங்க வேண்டும்!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "- பதிவைச் சேமிக்கும்போது பிழை ஏற்பட்டது. மீண்டும் முயற்சிக்கவும்." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "புதிய %சொத்து சேர்க்கப்பட்டுள்ளது!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "%சொத்து சேமிக்கப்பட்டுள்ளது!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." +msgstr "- பதிவைச் சேமிக்கும்போது பிழை ஏற்பட்டது. மீண்டும் முயற்சிக்கவும்." + +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format msgid "Show '%s' brand" msgstr "'%s' பிராண்டைக் காட்டு" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format msgid "Remove %1$s %2$s" msgstr "%1$s %2$s ஐ அகற்று" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "%1$s நிறம் வெற்றிகரமாக நீக்கப்பட்டது." -msgstr[1] "%1$s வண்ணங்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "%1$s நிலை வெற்றிகரமாக நீக்கப்பட்டது." -msgstr[1] "%1$s மாநிலங்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 -#, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "%1$s பினிசன் வெற்றிகரமாக நீக்கப்பட்டது." -msgstr[1] "%1$s பினிசன்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "%1$s உடல் வெற்றிகரமாக நீக்கப்பட்டது." -msgstr[1] "%1$s உடல்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "%1$s பரிமாற்றம் வெற்றிகரமாக நீக்கப்பட்டது." -msgstr[1] "%1$s பரிமாற்றங்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "%1$s சூட்டுக்குறி வெற்றிகரமாக நீக்கப்பட்டது." -msgstr[1] "%1$s பிராண்டுகள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "" -"இந்த வண்ணம் ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " -"முடியாது." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" -"இந்த நிலை ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " -"முடியாது." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" -"இந்த பினிசனை ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " -"முடியாது." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" -"இந்த உடல் ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " -"முடியாது." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" -"இந்த பரிமாற்றம் ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " -"முடியாது." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "" -"இந்த சூட்டுக்குறி ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " -"முடியாது." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "வண்ணத்தை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "நிலையை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "பினிசனை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "உடலை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "பரிமாற்றத்தை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" -msgstr "பிராண்டை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" - -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "மாதிரிகள் பட்டியல்" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "மாதிரியை மாற்றவும் '%s'" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "புதிய மாதிரி" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "புதிய மாதிரி சேர்க்கப்பட்டுள்ளது!" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "மாதிரி சேமிக்கப்பட்டுள்ளது!" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, php-format msgid "Remove %1$s model" msgid_plural "Remove %1$s models" @@ -334,237 +182,413 @@ msgstr[0] "%1$s மாதிரியை அகற்று" msgstr[1] "%1$s மாதிரிகளை அகற்று" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "\"%1$s\" மாதிரியை அகற்று" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "" "இந்த மாதிரி ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " "முடியாது." -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "மாதிரியை நீக்கும்போது பிழை ஏற்பட்டது." -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "பெயர்" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "மாதிரியுரு" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "பதிவு" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "முதல் பதிவு தேதி" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "முதல் சுழற்சி தேதி" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "மைலேச்" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "இருக்கைகள்" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "குதிரைத்திறன்" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "இயந்திர அளவு" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "சேச் எண்" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "கருத்து" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "நிறம்" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "மாநிலம்" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "முடித்தல்" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "பரவும் முறை" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "உடல்" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "எரிபொருள்" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "பெட்ரோல்" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "வளியெண்ணை" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "வளிமம்" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "கலப்பினம்" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "மின்சாரம்" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "உயிர்" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "புதிய கார் சேர்க்கப்பட்டது" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "புதிய காரைச் சேர்க்கத் தவறியது." - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "கார் புதுப்பிக்கப்பட்டது" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "- %field கான அதிகபட்ச அளவு %maxsize (தற்போதைய %cursize)!" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "- நீங்கள் %s க்கு நேர்மறையான முழு எண்ணை உள்ளிட வேண்டும்" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "- நீங்கள் பட்டியலில் ஒரு எரிபொருளைத் தேர்வு செய்ய வேண்டும்" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "- நீங்கள் பட்டியலில் ஒரு %s ஐ தேர்வு செய்ய வேண்டும்" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "- இந்த காரில் உரிமையாளரை நீங்கள் இணைக்க வேண்டும்" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +#, fuzzy +#| msgid "- you must attach an owner to this car" +msgid "- you cannot attach this car to this member" +msgstr "- இந்த காரில் உரிமையாளரை நீங்கள் இணைக்க வேண்டும்" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "காரின் புகைப்படத்தை நீக்க முயற்சிக்கும்போது பிழை ஏற்பட்டது" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "வண்ணங்கள் பட்டியல்" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "புதிய வண்ணத்தைச் சேர்க்கவும்" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" msgstr[0] "%count நிறம்" msgstr[1] "%count நிறங்கள்" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "%1$s நிறம் வெற்றிகரமாக நீக்கப்பட்டது." +msgstr[1] "%1$s வண்ணங்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "" +"இந்த வண்ணம் ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " +"முடியாது." + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "வண்ணத்தை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "பட்டியல் முடிவுகள்" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "புதிய பினிசனைச் சேர்க்கவும்" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" msgstr[0] "%count பூச்சு" msgstr[1] "%count முடிந்தது" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "%1$s பினிசன் வெற்றிகரமாக நீக்கப்பட்டது." +msgstr[1] "%1$s பினிசன்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" +"இந்த பினிசனை ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " +"முடியாது." + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "பினிசனை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "பரிமாற்றங்கள் பட்டியல்" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "புதிய பரிமாற்றத்தைச் சேர்க்கவும்" + +#: ../lib/GaletteAuto/Transmission.php:59 #, php-format msgid "%count transmission" msgid_plural "%count transmissions" msgstr[0] "%count பரிமாற்றம்" msgstr[1] "%count எண்ணுங்கள்" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "%1$s பரிமாற்றம் வெற்றிகரமாக நீக்கப்பட்டது." +msgstr[1] "%1$s பரிமாற்றங்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" +"இந்த பரிமாற்றம் ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " +"முடியாது." + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "பரிமாற்றத்தை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "உடல்கள் பட்டியல்" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "புதிய உடலைச் சேர்க்கவும்" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" msgstr[0] "%count உடல்" msgstr[1] "%count உடல்கள்" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "%1$s உடல் வெற்றிகரமாக நீக்கப்பட்டது." +msgstr[1] "%1$s உடல்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" +"இந்த உடல் ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " +"முடியாது." + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "உடலை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "மாநிலங்களின் பட்டியல்" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "புதிய மாநிலத்தைச் சேர்க்கவும்" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" msgstr[0] "%count எண்ணுங்கள்" msgstr[1] "%count நிலைகள்" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" -msgstr "வாகன அட்டைகளை நீக்கு" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "%1$s நிலை வெற்றிகரமாக நீக்கப்பட்டது." +msgstr[1] "%1$s மாநிலங்கள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." +msgstr "" +"இந்த நிலை ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " +"முடியாது." + +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "நிலையை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "சூட்டுக்குறி" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "பிராண்டுகள் பட்டியல்" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "புதிய பிராண்டைச் சேர்க்கவும்" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" msgstr[0] "%count வியாபாரக் குறி" msgstr[1] "%count வியாபாரக் குறிகள்" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "%1$s சூட்டுக்குறி வெற்றிகரமாக நீக்கப்பட்டது." +msgstr[1] "%1$s பிராண்டுகள் வெற்றிகரமாக நீக்கப்பட்டுள்ளன." + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "" +"இந்த சூட்டுக்குறி ஒன்று அல்லது அதற்கு மேற்பட்ட வாகனங்களால் பயன்படுத்தப்படுகிறது, அதை நீக்க " +"முடியாது." + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "பிராண்டை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "புதிய கார் சேர்க்கப்பட்டது" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "கார் புதுப்பிக்கப்பட்டது" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +#, fuzzy +#| msgid "No vehicle selected" +msgid "Vehicle picture deleted" +msgstr "எந்த வாகனமும் தேர்ந்தெடுக்கப்படவில்லை" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "வாகன அட்டைகளை நீக்கு" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "கார்கள்" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +msgid "Preferences" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 msgid "Vehicles" msgstr "வாகனங்கள்" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "- நீங்கள் ஒரு பிராண்டைத் தேர்ந்தெடுக்க வேண்டும்!" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "ஒரு பிராண்டைத் தேர்வுசெய்க" @@ -580,88 +604,116 @@ msgstr "" msgid "Add a brand" msgstr "ஒரு பிராண்டைச் சேர்க்கவும்" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "உரிமையாளர்" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "எந்த வாகனமும் தேர்ந்தெடுக்கப்படவில்லை" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." msgstr "" "இந்த செயலைச் செய்ய பட்டியலிலிருந்து குறைந்தது ஒரு வாகனத்தையாவது தேர்ந்தெடுக்கவும்." -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" msgstr[0] "%count வாகனம்" msgstr[1] "%count வாகனங்கள்" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "புதிய வண்டி சேர்க்கவும்" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "உரிமையாளர்" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "திருத்து %வாகனம்" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "%வாகனத்தின் பெயர்: தரவுத்தளத்திலிருந்து அகற்று" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "உங்கள் கணக்கிற்கு இதுவரை எந்த காரும் பதிவு செய்யப்படவில்லை." -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "தரவுத்தளத்தில் கார் இல்லை" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" msgstr[0] "%count மாதிரி" msgstr[1] "%count மாதிரிகள்" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "புதிய மாடலைச் சேர்க்கவும்" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "%சொத்தைத் திருத்து" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "%சொத்து: தரவுத்தளத்திலிருந்து அகற்று" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "எந்த பதிவும் கிடைக்கவில்லை" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +#, fuzzy +#| msgid "Registration" +msgid "Description" +msgstr "பதிவு" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "முழு கார் மாநில வரலாற்றைக் காட்டு" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "கார் மாநில வரலாறு" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "'%s' என்ற பிராண்டிற்கான பதிவு செய்யப்பட்ட மாதிரிகள்" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "இந்த நேரத்தில் '%s' பிராண்டில் பதிவுசெய்யப்பட்ட மாதிரி எதுவும் இல்லை." @@ -670,80 +722,85 @@ msgstr "இந்த நேரத்தில் '%s' பிராண்டி msgid "no history entries" msgstr "வரலாற்று உள்ளீடுகள் இல்லை" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" -msgstr "காரின் அடிப்படை தகவல்கள்" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" +msgstr "" + +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." +msgstr "" + +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" +msgstr "காரின் வரலாறு" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 +#: ../templates/default/history_modal.js.twig:23 +#, fuzzy +#| msgid "An error occurred trying to remove body :/" +msgid "An error occurred displaying history :(" +msgstr "உடலை அகற்ற முயற்சிக்கும் பிழை ஏற்பட்டது:/" + +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 msgid "Choose a model" msgstr "ஒரு மாதிரியைத் தேர்வுசெய்க" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" +msgstr "காரின் அடிப்படை தகவல்கள்" + +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 msgid "Car's photo" msgstr "காரின் புகைப்படம்" -#: ../templates/default/vehicles.html.twig:114 +#: ../templates/default/vehicles.html.twig:124 msgid "Current car's state informations" msgstr "தற்போதைய காரின் மாநில செய்தி" -#: ../templates/default/vehicles.html.twig:119 +#: ../templates/default/vehicles.html.twig:129 msgid "Current owner" msgstr "தற்போதைய உரிமையாளர்" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" -msgstr "முழு கார் மாநில வரலாற்றைக் காட்டு" - -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" -msgstr "கார் மாநில வரலாறு" - -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "காரின் உரிமையாளரை மாற்றவும்" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "ஒரு வண்ணத்தைத் தேர்வுசெய்க" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "ஒரு மாநிலத்தைத் தேர்வுசெய்க" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "கார் தொழில்நுட்ப செய்தி" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "ஒரு உடலைத் தேர்வுசெய்க" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "ஒரு பரிமாற்றத்தைத் தேர்வுசெய்க" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "ஒரு பினிசனைத் தேர்வுசெய்க" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "சேச் எண்" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "எரிபொருளைத் தேர்வுசெய்க" -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "கருத்து" +#~ msgid "- No id provided for modifying this record! (internal)" +#~ msgstr "- இந்த பதிவை மாற்றுவதற்கு ஐடி எதுவும் வழங்கப்படவில்லை! (உள்)" -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "காரின் வரலாறு" +#~ msgid "Fail to add new car." +#~ msgstr "புதிய காரைச் சேர்க்கத் தவறியது." #, php-format #~ msgid "Brand '%s'" diff --git a/lang/auto_tr.utf8.po b/lang/auto_tr.utf8.po index ce9980f..7e4d379 100644 --- a/lang/auto_tr.utf8.po +++ b/lang/auto_tr.utf8.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-25 04:13+0200\n" +"POT-Creation-Date: 2026-09-27 18:13+0200\n" "PO-Revision-Date: 2026-07-02 07:01+0000\n" "Last-Translator: batuhan Okmen \n" "Language-Team: Turkish \n" "Language-Team: Ukrainian =20) ? 1 : 2);\n" "X-Generator: Weblate 5.12-dev\n" -#: ../_routes.php:115 -msgid "No vehicle was selected, please check at least one name." -msgstr "Жодного авто не обрано, будь ласка, відзначте хоча б одне." +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:48 +msgid "Cars preferences" +msgstr "" -#: ../lib/GaletteAuto/Controllers/Controller.php:73 +#: ../lib/GaletteAuto/Controllers/PreferencesController.php:76 +#, fuzzy +#| msgid "%count vehicles have been successfully deleted." +msgid "Preferences have been successfully stored!" +msgstr "%count транспортних засобів успішно видалено." + +#: ../lib/GaletteAuto/Controllers/Controller.php:74 msgid "You do not have enough privileges." msgstr "У вас немає прав на це." -#: ../lib/GaletteAuto/Controllers/Controller.php:181 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:96 +#: ../lib/GaletteAuto/Controllers/Controller.php:288 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:101 msgid "Cars list" msgstr "Список автомобілів" -#: ../lib/GaletteAuto/Controllers/Controller.php:183 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:109 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:154 +#: ../lib/GaletteAuto/Controllers/Controller.php:290 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:121 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:197 msgid "My cars" msgstr "Мої автомобілі" -#: ../lib/GaletteAuto/Controllers/Controller.php:185 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:184 +#: ../lib/GaletteAuto/Controllers/Controller.php:292 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:227 msgid "Member's cars" msgstr "Автомобілі члена" -#: ../lib/GaletteAuto/Controllers/Controller.php:190 +#: ../lib/GaletteAuto/Controllers/Controller.php:297 msgid "Vehicles list" msgstr "Список транспортних засобів" -#: ../lib/GaletteAuto/Controllers/Controller.php:267 +#: ../lib/GaletteAuto/Controllers/Controller.php:387 msgid "New vehicle" msgstr "Новий транспортний засіб" -#: ../lib/GaletteAuto/Controllers/Controller.php:268 +#: ../lib/GaletteAuto/Controllers/Controller.php:388 #, php-format msgid "Change vehicle '%s'" msgstr "Змінити транспортний засіб '%s'" -#: ../lib/GaletteAuto/Controllers/Controller.php:380 +#: ../lib/GaletteAuto/Controllers/Controller.php:504 msgid "- An error has occurred while saving vehicle in the database." msgstr "" "- Під час збереження транспортного засобу в базі даних сталася помилка." -#: ../lib/GaletteAuto/Controllers/Controller.php:382 +#: ../lib/GaletteAuto/Controllers/Controller.php:506 msgid "Vehicle has been saved!" msgstr "Транспортний засіб збережено!" -#: ../lib/GaletteAuto/Controllers/Controller.php:448 +#: ../lib/GaletteAuto/Controllers/Controller.php:569 #, php-format msgid "History of car #%d" msgstr "Історія автомобіля #%d" -#: ../lib/GaletteAuto/Controllers/Controller.php:511 -#: ../lib/GaletteAuto/Controllers/Controller.php:555 +#: ../lib/GaletteAuto/Controllers/Controller.php:628 +#: ../lib/GaletteAuto/Controllers/Controller.php:703 msgid "Vehicle" msgstr "Транспортний засіб" -#: ../lib/GaletteAuto/Controllers/Controller.php:514 +#: ../lib/GaletteAuto/Controllers/Controller.php:631 #, php-format msgid "Remove vehicle %1$s" msgstr "Вилучити транспортний засіб %1$s" -#: ../lib/GaletteAuto/Controllers/Controller.php:557 +#: ../lib/GaletteAuto/Controllers/Controller.php:655 +msgid "No vehicle was selected, please check at least one name." +msgstr "Жодного авто не обрано, будь ласка, відзначте хоча б одне." + +#: ../lib/GaletteAuto/Controllers/Controller.php:705 msgid "Remove vehicles" msgstr "Вилучити транспортні засоби" -#: ../lib/GaletteAuto/Controllers/Controller.php:561 +#: ../lib/GaletteAuto/Controllers/Controller.php:709 #, php-format msgid "You are about to remove %count vehicle." msgid_plural "You are about to remove %count vehicles." @@ -93,245 +103,77 @@ msgstr[0] "Ви вилучите %count транспортний засіб." msgstr[1] "Ви вилучите %count транспортні засоби." msgstr[2] "Ви вилучите %count транспортних засобів." -#: ../lib/GaletteAuto/Controllers/Controller.php:599 +#: ../lib/GaletteAuto/Controllers/Controller.php:751 msgid "An error occurred trying to remove vehicles :/" msgstr "Під час вилучення транспортних засобів сталася помилка: /" -#: ../lib/GaletteAuto/Controllers/Controller.php:609 +#: ../lib/GaletteAuto/Controllers/Controller.php:761 #, php-format msgid "%count vehicles have been successfully deleted." msgstr "%count транспортних засобів успішно видалено." -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:150 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:59 -msgid "Colors list" -msgstr "Список кольорів" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:151 -msgid "Add new color" -msgstr "Додати новий колір" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:155 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:63 -msgid "States list" -msgstr "Списки станів" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:156 -msgid "Add new state" -msgstr "Додати новий стан" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:160 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:67 -msgid "Finitions list" -msgstr "Список оздоблень" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:161 -msgid "Add new finition" -msgstr "Додати нове оздоблення" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:165 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:71 -msgid "Bodies list" -msgstr "Список кузовів" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:166 -msgid "Add new body" -msgstr "Додайте новий кузов" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:170 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:75 -msgid "Transmissions list" -msgstr "Список передач" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:171 -msgid "Add new transmission" -msgstr "Додати нову передачу" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:175 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:79 -msgid "Brands list" -msgstr "Список брендів" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:176 -#: ../templates/default/object_show.html.twig:17 -msgid "Add new brand" -msgstr "Додати новий бренд" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:279 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:245 msgid "New" msgstr "Нове" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:285 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:251 #, php-format msgid "Change '%s'" msgstr "Змінити \"%s\"" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:351 -msgid "- No id provided for modifying this record! (internal)" -msgstr "- Не вказано ID для зміни цього запису! (внутрішній)" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:357 -#: ../lib/GaletteAuto/Model.php:208 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:318 +#: ../lib/GaletteAuto/Model.php:186 msgid "- You must provide a value!" msgstr "- Ви повинні вказати значення!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:366 -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:245 -msgid "- An error occurred while saving record. Please try again." -msgstr "" -"- Під час збереження запису сталася помилка. Будь ласка, спробуйте ще раз." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:371 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:329 msgid "New %property has been added!" msgstr "Додано нову властивість %property!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:372 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:330 msgid "%property has been saved!" msgstr "Властивість %property збережена!" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:426 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:338 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +msgid "- An error occurred while saving record. Please try again." +msgstr "" +"- Під час збереження запису сталася помилка. Будь ласка, спробуйте ще раз." + +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:386 #, php-format msgid "Show '%s' brand" msgstr "Показати бренд \"%s\"" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:481 +#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:440 #, php-format msgid "Remove %1$s %2$s" msgstr "Вилучити %1$s %2$s" -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:532 -#, php-format -msgid "%1$s color has been successfully deleted." -msgid_plural "%1$s colors have been successfully deleted." -msgstr[0] "Колір %1$s успішно видалено." -msgstr[1] "%1$s кольори успішно видалено." -msgstr[2] "%1$s кольори успішно видалено." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:536 -#, php-format -msgid "%1$s state has been successfully deleted." -msgid_plural "%1$s states have been successfully deleted." -msgstr[0] "Стан %1$s успішно видалено." -msgstr[1] "%1$s станів успішно видалено." -msgstr[2] "%1$s станів успішно видалено." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:540 -#, php-format -msgid "%1$s finition has been successfully deleted." -msgid_plural "%1$s finitions have been successfully deleted." -msgstr[0] "Завершення %1$s успішно видалено." -msgstr[1] "%1$s завершення успішно видалено." -msgstr[2] "%1$s завершення успішно видалено." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:544 -#, php-format -msgid "%1$s body has been successfully deleted." -msgid_plural "%1$s bodies have been successfully deleted." -msgstr[0] "Тіло %1$s успішно видалено." -msgstr[1] "Тіла %1$s успішно видалено." -msgstr[2] "Тіла %1$s успішно видалено." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:548 -#, php-format -msgid "%1$s transmission has been successfully deleted." -msgid_plural "%1$s transmissions have been successfully deleted." -msgstr[0] "Передачу %1$s успішно видалено." -msgstr[1] "Передачі %1$s успішно видалено." -msgstr[2] "Передачі %1$s успішно видалено." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:552 -#, php-format -msgid "%1$s brand has been successfully deleted." -msgid_plural "%1$s brands have been successfully deleted." -msgstr[0] "Бренд %1$s успішно видалено." -msgstr[1] "Бренди %1$s успішно видалено." -msgstr[2] "Бренди %1$s успішно видалено." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:569 -msgid "This color is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Цей колір використовується одним або кількома транспортними засобами, його " -"неможливо видалити." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:573 -msgid "This state is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Цей стан використовується одним або кількома транспортними засобами, його " -"неможливо видалити." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:577 -msgid "This finition is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Це завершення використовується одним або кількома транспортними засобами, " -"його неможливо видалити." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:581 -msgid "This body is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Це тіло використовується одним або кількома транспортними засобами, його " -"неможливо видалити." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:585 -msgid "" -"This transmission is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Ця трансмісія використовується одним або кількома автомобілями, її неможливо " -"видалити." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:589 -msgid "This brand is used by one or more vehicles, it cannot be deleted." -msgstr "" -"Ця марка використовується одним або кількома автомобілями, її неможливо " -"видалити." - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:603 -msgid "An error occurred trying to remove color :/" -msgstr "Під час спроби видалити колір сталася помилка :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:607 -msgid "An error occurred trying to remove state :/" -msgstr "Під час спроби видалити стан сталася помилка:/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:611 -msgid "An error occurred trying to remove finition :/" -msgstr "Під час спроби видалити finition сталася помилка :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:615 -msgid "An error occurred trying to remove body :/" -msgstr "Під час спроби видалити тіло сталася помилка :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:619 -msgid "An error occurred trying to remove transmission :/" -msgstr "Під час спроби видалити передачу сталася помилка :/" - -#: ../lib/GaletteAuto/Controllers/Crud/PropertiesController.php:623 -msgid "An error occurred trying to remove brand :/" -msgstr "Під час спроби видалити бренд сталася помилка :/" - -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:110 -#: ../lib/GaletteAuto/PluginGaletteAuto.php:83 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:112 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:94 msgid "Models list" msgstr "Список моделей" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:185 #, php-format msgid "Change model '%s'" msgstr "Змінити модель \"%s\"" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:193 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:189 msgid "New model" msgstr "Нова модель" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:247 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:240 msgid "New model has been added!" msgstr "Нову модель додано!" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:248 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:241 msgid "Model has been saved!" msgstr "Модель збережено!" #. TRANS: first parameter is the number of models -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:322 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:333 #, php-format msgid "Remove %1$s model" msgid_plural "Remove %1$s models" @@ -340,167 +182,178 @@ msgstr[1] "Вилучити %1$s моделі" msgstr[2] "Вилучити %1$s моделей" #. TRANS: first parameter is the model name -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:330 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:341 #, php-format msgid "Remove model \"%1$s\"" msgstr "Вилучити модель %1$s" -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:358 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:370 msgid "This model is used by one or more vehicles, it cannot be deleted." msgstr "" "Ця модель використовується одним або кількома автомобілями, її неможливо " "видалити." -#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:363 +#: ../lib/GaletteAuto/Controllers/Crud/ModelsController.php:375 msgid "An error occurred while deleting model." msgstr "Під час видалення моделі сталася помилка." -#: ../lib/GaletteAuto/Auto.php:168 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:64 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:41 -#: ../templates/default/vehicles.html.twig:24 +#: ../lib/GaletteAuto/Auto.php:112 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:63 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:57 +#: ../templates/default/vehicles.html.twig:34 msgid "Name" msgstr "Ім'я" -#: ../lib/GaletteAuto/Auto.php:169 ../templates/default/model.html.twig:19 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:67 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:43 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:44 -#: ../templates/default/vehicles.html.twig:50 +#: ../lib/GaletteAuto/Auto.php:113 ../templates/default/model.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:66 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:50 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:69 +#: ../templates/default/vehicles.html.twig:60 msgid "Model" msgstr "Модель" -#: ../lib/GaletteAuto/Auto.php:170 ../templates/default/history.html.twig:21 +#: ../lib/GaletteAuto/Auto.php:114 ../templates/default/history.html.twig:21 #: ../templates/default/history.html.twig:48 -#: ../templates/default/vehicles.html.twig:186 +#: ../templates/default/vehicles.html.twig:193 msgid "Registration" msgstr "Реєстрація" -#: ../lib/GaletteAuto/Auto.php:171 ../templates/default/vehicles.html.twig:57 +#: ../lib/GaletteAuto/Auto.php:115 ../templates/default/vehicles.html.twig:67 msgid "First registration date" msgstr "Дата першої реєстрації" -#: ../lib/GaletteAuto/Auto.php:172 ../templates/default/vehicles.html.twig:64 +#: ../lib/GaletteAuto/Auto.php:116 ../templates/default/vehicles.html.twig:74 msgid "First circulation date" msgstr "Дата першого тиражу" -#: ../lib/GaletteAuto/Auto.php:173 ../templates/default/vehicles.html.twig:71 +#: ../lib/GaletteAuto/Auto.php:117 ../templates/default/vehicles.html.twig:81 msgid "Mileage" msgstr "Пробіг" -#: ../lib/GaletteAuto/Auto.php:174 ../templates/default/vehicles.html.twig:78 +#: ../lib/GaletteAuto/Auto.php:118 ../templates/default/vehicles.html.twig:88 msgid "Seats" msgstr "Місць" -#: ../lib/GaletteAuto/Auto.php:175 ../templates/default/vehicles.html.twig:248 +#: ../lib/GaletteAuto/Auto.php:119 ../templates/default/vehicles.html.twig:255 msgid "Horsepower" msgstr "Кінська сила" -#: ../lib/GaletteAuto/Auto.php:176 ../templates/default/vehicles.html.twig:255 +#: ../lib/GaletteAuto/Auto.php:120 ../templates/default/vehicles.html.twig:262 msgid "Engine size" msgstr "Об'єм двигуна" -#: ../lib/GaletteAuto/Auto.php:177 ../lib/GaletteAuto/Color.php:50 +#: ../lib/GaletteAuto/Auto.php:121 ../templates/default/vehicles.html.twig:248 +msgid "Chassis number" +msgstr "Номер шасі" + +#: ../lib/GaletteAuto/Auto.php:122 ../templates/default/vehicles.html.twig:285 +#: ../templates/default/vehicles.html.twig:290 +msgid "Comment" +msgstr "Коментар" + +#: ../lib/GaletteAuto/Auto.php:123 ../lib/GaletteAuto/Color.php:30 #: ../templates/default/history.html.twig:24 #: ../templates/default/history.html.twig:49 -#: ../templates/default/vehicles.html.twig:166 +#: ../templates/default/vehicles.html.twig:173 msgid "Color" msgstr "Колір" -#: ../lib/GaletteAuto/Auto.php:178 ../lib/GaletteAuto/State.php:50 +#: ../lib/GaletteAuto/Auto.php:124 ../lib/GaletteAuto/State.php:30 #: ../templates/default/history.html.twig:27 #: ../templates/default/history.html.twig:50 -#: ../templates/default/vehicles.html.twig:179 +#: ../templates/default/vehicles.html.twig:186 msgid "State" msgstr "Стан" -#: ../lib/GaletteAuto/Auto.php:179 ../lib/GaletteAuto/Finition.php:50 -#: ../templates/default/vehicles.html.twig:234 +#: ../lib/GaletteAuto/Auto.php:125 ../lib/GaletteAuto/Finition.php:30 +#: ../templates/default/vehicles.html.twig:241 msgid "Finition" msgstr "Оздоблення" -#: ../lib/GaletteAuto/Auto.php:180 ../lib/GaletteAuto/Transmission.php:50 -#: ../templates/default/vehicles.html.twig:221 +#: ../lib/GaletteAuto/Auto.php:126 ../lib/GaletteAuto/Transmission.php:30 +#: ../templates/default/vehicles.html.twig:228 msgid "Transmission" msgstr "Передачі" -#: ../lib/GaletteAuto/Auto.php:181 ../lib/GaletteAuto/Body.php:50 -#: ../templates/default/vehicles.html.twig:208 +#: ../lib/GaletteAuto/Auto.php:127 ../lib/GaletteAuto/Body.php:30 +#: ../templates/default/vehicles.html.twig:215 msgid "Body" msgstr "Текст листа" -#: ../lib/GaletteAuto/Auto.php:182 ../templates/default/vehicles.html.twig:268 +#: ../lib/GaletteAuto/Auto.php:128 ../templates/default/vehicles.html.twig:275 msgid "Fuel" msgstr "Пальне" -#: ../lib/GaletteAuto/Auto.php:283 +#: ../lib/GaletteAuto/Auto.php:217 msgid "Petrol" msgstr "Бензин" -#: ../lib/GaletteAuto/Auto.php:284 +#: ../lib/GaletteAuto/Auto.php:218 msgid "Diesel" msgstr "Дизель" -#: ../lib/GaletteAuto/Auto.php:285 +#: ../lib/GaletteAuto/Auto.php:219 msgid "Gas" msgstr "Газ" -#: ../lib/GaletteAuto/Auto.php:286 +#: ../lib/GaletteAuto/Auto.php:220 msgid "Hybrid" msgstr "Гібрид" -#: ../lib/GaletteAuto/Auto.php:287 +#: ../lib/GaletteAuto/Auto.php:221 msgid "Electricity" msgstr "Електрика" -#: ../lib/GaletteAuto/Auto.php:288 +#: ../lib/GaletteAuto/Auto.php:222 msgid "Bio" msgstr "Біо" -#: ../lib/GaletteAuto/Auto.php:372 -msgid "New car added" -msgstr "Новий автомобіль додано" - -#: ../lib/GaletteAuto/Auto.php:377 -msgid "Fail to add new car." -msgstr "Не вдається додати новий автомобіль." - -#: ../lib/GaletteAuto/Auto.php:394 -msgid "Car updated" -msgstr "Автомобіль оновлено" - -#: ../lib/GaletteAuto/Auto.php:676 +#: ../lib/GaletteAuto/Auto.php:349 msgid "- Maximum size for %field is %maxsize (current %cursize)!" msgstr "- Максимальний розмір поля %maxsize (поточний %cursize)!" -#: ../lib/GaletteAuto/Auto.php:719 +#: ../lib/GaletteAuto/Auto.php:398 #, php-format msgid "- You must enter a positive integer for %s" msgstr "- Слід ввести додатне ціле число для %s" -#: ../lib/GaletteAuto/Auto.php:728 +#: ../lib/GaletteAuto/Auto.php:409 msgid "- You must choose a fuel in the list" msgstr "- Ви повинні вибрати пальне в спискові" -#: ../lib/GaletteAuto/Auto.php:746 +#: ../lib/GaletteAuto/Auto.php:423 #, php-format msgid "- You must choose a %s in the list" msgstr "- Ви повинні вибрати %s у списку" -#: ../lib/GaletteAuto/Auto.php:760 +#: ../lib/GaletteAuto/Auto.php:435 msgid "- you must attach an owner to this car" msgstr "- ви повинні приєднати власника до цього автомобіля" -#: ../lib/GaletteAuto/Auto.php:779 +#: ../lib/GaletteAuto/Auto.php:442 +#, fuzzy +#| msgid "- you must attach an owner to this car" +msgid "- you cannot attach this car to this member" +msgstr "- ви повинні приєднати власника до цього автомобіля" + +#: ../lib/GaletteAuto/Auto.php:455 msgid "An error occurred while trying to delete car's photo" msgstr "Під час спроби видалити світлину автомобіля сталася помилка" -#: ../lib/GaletteAuto/Color.php:83 +#: ../lib/GaletteAuto/Color.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:64 +msgid "Colors list" +msgstr "Список кольорів" + +#: ../lib/GaletteAuto/Color.php:46 +msgid "Add new color" +msgstr "Додати новий колір" + +#: ../lib/GaletteAuto/Color.php:59 #, php-format msgid "%count color" msgid_plural "%count colors" @@ -508,7 +361,34 @@ msgstr[0] "%count колір" msgstr[1] "%count кольори" msgstr[2] "%count кольорів" -#: ../lib/GaletteAuto/Finition.php:83 +#: ../lib/GaletteAuto/Color.php:71 +#, php-format +msgid "%1$s color has been successfully deleted." +msgid_plural "%1$s colors have been successfully deleted." +msgstr[0] "Колір %1$s успішно видалено." +msgstr[1] "%1$s кольори успішно видалено." +msgstr[2] "%1$s кольори успішно видалено." + +#: ../lib/GaletteAuto/Color.php:81 +msgid "This color is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Цей колір використовується одним або кількома транспортними засобами, його " +"неможливо видалити." + +#: ../lib/GaletteAuto/Color.php:89 +msgid "An error occurred trying to remove color :/" +msgstr "Під час спроби видалити колір сталася помилка :/" + +#: ../lib/GaletteAuto/Finition.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:72 +msgid "Finitions list" +msgstr "Список оздоблень" + +#: ../lib/GaletteAuto/Finition.php:46 +msgid "Add new finition" +msgstr "Додати нове оздоблення" + +#: ../lib/GaletteAuto/Finition.php:59 #, php-format msgid "%count finition" msgid_plural "%count finitions" @@ -516,7 +396,34 @@ msgstr[0] "%count оздоблення" msgstr[1] "%count оздоблення" msgstr[2] "%count оздоблень" -#: ../lib/GaletteAuto/Transmission.php:83 +#: ../lib/GaletteAuto/Finition.php:71 +#, php-format +msgid "%1$s finition has been successfully deleted." +msgid_plural "%1$s finitions have been successfully deleted." +msgstr[0] "Завершення %1$s успішно видалено." +msgstr[1] "%1$s завершення успішно видалено." +msgstr[2] "%1$s завершення успішно видалено." + +#: ../lib/GaletteAuto/Finition.php:81 +msgid "This finition is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Це завершення використовується одним або кількома транспортними засобами, " +"його неможливо видалити." + +#: ../lib/GaletteAuto/Finition.php:89 +msgid "An error occurred trying to remove finition :/" +msgstr "Під час спроби видалити finition сталася помилка :/" + +#: ../lib/GaletteAuto/Transmission.php:38 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:80 +msgid "Transmissions list" +msgstr "Список передач" + +#: ../lib/GaletteAuto/Transmission.php:46 +msgid "Add new transmission" +msgstr "Додати нову передачу" + +#: ../lib/GaletteAuto/Transmission.php:59 #, php-format msgid "%count transmission" msgid_plural "%count transmissions" @@ -524,7 +431,34 @@ msgstr[0] "%count передача" msgstr[1] "%count передачі" msgstr[2] "%count передач" -#: ../lib/GaletteAuto/Body.php:83 +#: ../lib/GaletteAuto/Transmission.php:71 +#, php-format +msgid "%1$s transmission has been successfully deleted." +msgid_plural "%1$s transmissions have been successfully deleted." +msgstr[0] "Передачу %1$s успішно видалено." +msgstr[1] "Передачі %1$s успішно видалено." +msgstr[2] "Передачі %1$s успішно видалено." + +#: ../lib/GaletteAuto/Transmission.php:81 +msgid "" +"This transmission is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Ця трансмісія використовується одним або кількома автомобілями, її неможливо " +"видалити." + +#: ../lib/GaletteAuto/Transmission.php:89 +msgid "An error occurred trying to remove transmission :/" +msgstr "Під час спроби видалити передачу сталася помилка :/" + +#: ../lib/GaletteAuto/Body.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:76 +msgid "Bodies list" +msgstr "Список кузовів" + +#: ../lib/GaletteAuto/Body.php:46 +msgid "Add new body" +msgstr "Додайте новий кузов" + +#: ../lib/GaletteAuto/Body.php:59 #, php-format msgid "%count body" msgid_plural "%count bodies" @@ -532,7 +466,33 @@ msgstr[0] "%count тіло" msgstr[1] "%count тіла" msgstr[2] "%count тіл" -#: ../lib/GaletteAuto/State.php:83 +#: ../lib/GaletteAuto/Body.php:71 +#, php-format +msgid "%1$s body has been successfully deleted." +msgid_plural "%1$s bodies have been successfully deleted." +msgstr[0] "Тіло %1$s успішно видалено." +msgstr[1] "Тіла %1$s успішно видалено." +msgstr[2] "Тіла %1$s успішно видалено." + +#: ../lib/GaletteAuto/Body.php:81 +msgid "This body is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Це тіло використовується одним або кількома транспортними засобами, його " +"неможливо видалити." + +#: ../lib/GaletteAuto/Body.php:89 +msgid "An error occurred trying to remove body :/" +msgstr "Під час спроби видалити тіло сталася помилка :/" + +#: ../lib/GaletteAuto/State.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:68 +msgid "States list" +msgstr "Списки станів" + +#: ../lib/GaletteAuto/State.php:46 +msgid "Add new state" +msgstr "Додати новий стан" + +#: ../lib/GaletteAuto/State.php:59 #, php-format msgid "%count state" msgid_plural "%count states" @@ -540,22 +500,45 @@ msgstr[0] "%count стан" msgstr[1] "%count стани" msgstr[2] "%count станів" -#: ../lib/GaletteAuto/Autos.php:120 -msgid "Delete vehicles cards" -msgstr "Видалення карток транспортних засобів" +#: ../lib/GaletteAuto/State.php:71 +#, php-format +msgid "%1$s state has been successfully deleted." +msgid_plural "%1$s states have been successfully deleted." +msgstr[0] "Стан %1$s успішно видалено." +msgstr[1] "%1$s станів успішно видалено." +msgstr[2] "%1$s станів успішно видалено." -#: ../lib/GaletteAuto/Brand.php:58 ../templates/default/model.html.twig:34 -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:66 -#: ../templates/default/models_list.html.twig:32 -#: ../templates/default/models_list.html.twig:44 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:43 -#: ../templates/default/vehicles.html.twig:37 +#: ../lib/GaletteAuto/State.php:81 +msgid "This state is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Цей стан використовується одним або кількома транспортними засобами, його " +"неможливо видалити." + +#: ../lib/GaletteAuto/State.php:89 +msgid "An error occurred trying to remove state :/" +msgstr "Під час спроби видалити стан сталася помилка:/" + +#: ../lib/GaletteAuto/Brand.php:30 ../templates/default/model.html.twig:34 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:65 +#: ../templates/default/models_list.html.twig:21 +#: ../templates/default/models_list.html.twig:51 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:68 +#: ../templates/default/vehicles.html.twig:47 msgid "Brand" msgstr "Бренд" -#: ../lib/GaletteAuto/Brand.php:94 +#: ../lib/GaletteAuto/Brand.php:38 ../lib/GaletteAuto/PluginGaletteAuto.php:84 +msgid "Brands list" +msgstr "Список брендів" + +#: ../lib/GaletteAuto/Brand.php:46 +#: ../templates/default/object_show.html.twig:16 +msgid "Add new brand" +msgstr "Додати новий бренд" + +#: ../lib/GaletteAuto/Brand.php:59 #, php-format msgid "%count brand" msgid_plural "%count brands" @@ -563,20 +546,61 @@ msgstr[0] "Виберіть %count бренд" msgstr[1] "Виберіть %count бренди" msgstr[2] "Виберіть %count брендів" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:48 +#: ../lib/GaletteAuto/Brand.php:71 +#, php-format +msgid "%1$s brand has been successfully deleted." +msgid_plural "%1$s brands have been successfully deleted." +msgstr[0] "Бренд %1$s успішно видалено." +msgstr[1] "Бренди %1$s успішно видалено." +msgstr[2] "Бренди %1$s успішно видалено." + +#: ../lib/GaletteAuto/Brand.php:81 +msgid "This brand is used by one or more vehicles, it cannot be deleted." +msgstr "" +"Ця марка використовується одним або кількома автомобілями, її неможливо " +"видалити." + +#: ../lib/GaletteAuto/Brand.php:89 +msgid "An error occurred trying to remove brand :/" +msgstr "Під час спроби видалити бренд сталася помилка :/" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:174 +msgid "New car added" +msgstr "Новий автомобіль додано" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:183 +msgid "Car updated" +msgstr "Автомобіль оновлено" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:263 +#, fuzzy +#| msgid "No vehicle selected" +msgid "Vehicle picture deleted" +msgstr "Не вибрано жодного автомобіля" + +#: ../lib/GaletteAuto/Repository/Vehicles.php:278 +msgid "Delete vehicles cards" +msgstr "Видалення карток транспортних засобів" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:53 msgid "Cars" msgstr "Автомобілі" -#: ../lib/GaletteAuto/PluginGaletteAuto.php:129 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:111 +msgid "Preferences" +msgstr "" + +#: ../lib/GaletteAuto/PluginGaletteAuto.php:151 +#: ../lib/GaletteAuto/PluginGaletteAuto.php:179 msgid "Vehicles" msgstr "Транспортні засоби" -#: ../lib/GaletteAuto/Model.php:202 +#: ../lib/GaletteAuto/Model.php:180 msgid "- You must select a brand!" msgstr "- Ви повинні вибрати бренд!" #: ../templates/default/model.html.twig:25 -#: ../templates/default/vehicles.html.twig:29 +#: ../templates/default/vehicles.html.twig:39 msgid "Choose a brand" msgstr "Виберіть бренд" @@ -592,11 +616,22 @@ msgstr "" msgid "Add a brand" msgstr "Додати бренд" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:12 +#: ../templates/default/vehicles_list.html.twig:64 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:67 +#: ../templates/default/history.html.twig:18 +#: ../templates/default/history.html.twig:36 +#: ../templates/default/vehicles.html.twig:149 +#: ../templates/default/vehicles.html.twig:160 +msgid "Owner" +msgstr "Власник" + +#: ../templates/default/vehicles_list.html.twig:108 msgid "No vehicle selected" msgstr "Не вибрано жодного автомобіля" -#: ../templates/default/vehicles_list.html.twig:109 +#: ../templates/default/vehicles_list.html.twig:108 msgid "" "Please make sure to select at least one vehicle from the list to perform " "this action." @@ -604,8 +639,8 @@ msgstr "" "Будь ласка, не забудьте вибрати принаймні один автомобіль зі списку для " "виконання цієї дії." -#: ../templates/default/vehicles_list.html.twig:19 -#: ../templates/default/public_vehicles_list.html.twig:19 +#: ../templates/default/vehicles_list.html.twig:31 +#: ../templates/default/public_vehicles_list.html.twig:33 #, php-format msgid "%count vehicle" msgid_plural "%count vehicles" @@ -613,38 +648,28 @@ msgstr[0] "%count транс. засіб" msgstr[1] "%count транс. засоби" msgstr[2] "%count транс. засобів" -#: ../templates/default/vehicles_list.html.twig:35 +#: ../templates/default/vehicles_list.html.twig:47 msgid "Add new vehicle" msgstr "Додати новий транспортний засіб" -#: ../templates/default/vehicles_list.html.twig:40 -#: ../templates/default/vehicles_list.html.twig:65 -#: ../templates/default/public_vehicles_list.html.twig:27 -#: ../templates/default/public_vehicles_list.html.twig:42 -#: ../templates/default/history.html.twig:18 -#: ../templates/default/history.html.twig:36 -#: ../templates/default/vehicles.html.twig:144 -msgid "Owner" -msgstr "Власник" - -#: ../templates/default/vehicles_list.html.twig:70 +#: ../templates/default/vehicles_list.html.twig:69 msgid "Edit %vehicle" msgstr "Редагувати %vehicle" -#: ../templates/default/vehicles_list.html.twig:75 +#: ../templates/default/vehicles_list.html.twig:74 msgid "%vehiclename: remove from database" msgstr "%vehiclename: вилучити з бази даних" -#: ../templates/default/vehicles_list.html.twig:97 +#: ../templates/default/vehicles_list.html.twig:96 msgid "No car has been registered yet for your account." msgstr "На ваш обліковий запис ще не зареєстровано жодної автівки." -#: ../templates/default/vehicles_list.html.twig:97 -#: ../templates/default/public_vehicles_list.html.twig:47 +#: ../templates/default/vehicles_list.html.twig:96 +#: ../templates/default/public_vehicles_list.html.twig:90 msgid "No car in the database" msgstr "У базі даних немає автомобіля" -#: ../templates/default/models_list.html.twig:12 +#: ../templates/default/models_list.html.twig:27 #, php-format msgid "%count model" msgid_plural "%count models" @@ -652,31 +677,58 @@ msgstr[0] "%count взірець" msgstr[1] "%count взірці" msgstr[2] "%count взірців" -#: ../templates/default/models_list.html.twig:27 +#: ../templates/default/models_list.html.twig:42 msgid "Add new model" msgstr "Додати нову модель" -#: ../templates/default/models_list.html.twig:48 -#: ../templates/default/object_list.html.twig:57 +#: ../templates/default/models_list.html.twig:54 +#: ../templates/default/object_list.html.twig:51 msgid "Edit %property" msgstr "Редагувати %property" #: ../templates/default/models_list.html.twig:55 -#: ../templates/default/object_list.html.twig:64 +#: ../templates/default/object_list.html.twig:52 msgid "%property: remove from database" msgstr "%property: вилучити з бази даних" -#: ../templates/default/models_list.html.twig:60 -#: ../templates/default/object_list.html.twig:69 +#: ../templates/default/models_list.html.twig:59 +#: ../templates/default/object_list.html.twig:56 msgid "no record found" msgstr "жодного запису не знайдено" -#: ../templates/default/object_show.html.twig:25 +#: ../templates/default/public_vehicles_list.html.twig:14 +#: ../templates/default/public_vehicles_list.html.twig:70 +#, fuzzy +#| msgid "Registration" +msgid "Description" +msgstr "Реєстрація" + +#: ../templates/default/public_vehicles_list.html.twig:60 +#: ../templates/default/vehicles.html.twig:132 +msgid "Show full car state history" +msgstr "Показати повну історію стану автомобіля" + +#: ../templates/default/public_vehicles_list.html.twig:62 +#: ../templates/default/vehicles.html.twig:134 +msgid "Car state history" +msgstr "Історія стану автомобіля" + +#: ../templates/default/public_vehicles_list.html.twig:75 +#, php-format +msgid "%1$s cc" +msgstr "" + +#: ../templates/default/public_vehicles_list.html.twig:78 +#, php-format +msgid "%1$s hp" +msgstr "" + +#: ../templates/default/object_show.html.twig:24 #, php-format msgid "Registered models for the brand '%s'" msgstr "Зареєстровані моделі для бренду '%s'" -#: ../templates/default/object_show.html.twig:42 +#: ../templates/default/object_show.html.twig:40 #, php-format msgid "The brand '%s' does not have any registered model at this time." msgstr "Бренд '%s' наразі не має зареєстрованої моделі." @@ -685,80 +737,85 @@ msgstr "Бренд '%s' наразі не має зареєстрованої м msgid "no history entries" msgstr "записи в історії відсутні" -#: ../templates/default/vehicles.html.twig:19 -msgid "Car's base informations" -msgstr "Основні відомості автомобіля" +#: ../templates/default/preferences.html.twig:12 +msgid "Required fields" +msgstr "" + +#: ../templates/default/preferences.html.twig:13 +msgid "" +"Model, brand, dates, color, state, body, transmission and finition are " +"always required." +msgstr "" + +#: ../templates/default/history_modal.js.twig:13 +msgid "Car's history" +msgstr "Історія автомобіля" + +#: ../templates/default/history_modal.js.twig:23 +#, fuzzy +#| msgid "An error occurred trying to remove body :/" +msgid "An error occurred displaying history :(" +msgstr "Під час спроби видалити тіло сталася помилка :/" -#: ../templates/default/vehicles.html.twig:42 -#: ../templates/default/vehicles.html.twig:314 +#: ../templates/default/vehicles.html.twig:24 +#: ../templates/default/vehicles.html.twig:52 msgid "Choose a model" msgstr "Виберіть модель" -#: ../templates/default/vehicles.html.twig:89 -#: ../templates/default/vehicles.html.twig:92 +#: ../templates/default/vehicles.html.twig:29 +msgid "Car's base informations" +msgstr "Основні відомості автомобіля" + +#: ../templates/default/vehicles.html.twig:99 +#: ../templates/default/vehicles.html.twig:102 msgid "Car's photo" msgstr "Світлина автомобіля" -#: ../templates/default/vehicles.html.twig:114 +#: ../templates/default/vehicles.html.twig:124 msgid "Current car's state informations" msgstr "Поточні відомості про стан автомобіля" -#: ../templates/default/vehicles.html.twig:119 +#: ../templates/default/vehicles.html.twig:129 msgid "Current owner" msgstr "Поточний власник" -#: ../templates/default/vehicles.html.twig:125 -msgid "Show full car state history" -msgstr "Показати повну історію стану автомобіля" - -#: ../templates/default/vehicles.html.twig:127 -msgid "Car state history" -msgstr "Історія стану автомобіля" - -#: ../templates/default/vehicles.html.twig:132 +#: ../templates/default/vehicles.html.twig:140 msgid "Change car's owner" msgstr "Змінити власника автомобіля" -#: ../templates/default/vehicles.html.twig:158 +#: ../templates/default/vehicles.html.twig:165 msgid "Choose a color" msgstr "Виберіть колір" -#: ../templates/default/vehicles.html.twig:171 +#: ../templates/default/vehicles.html.twig:178 msgid "Choose a state" msgstr "Виберіть стан" -#: ../templates/default/vehicles.html.twig:197 +#: ../templates/default/vehicles.html.twig:204 msgid "Car's technical informations" msgstr "Технічні дані про автомобіль" -#: ../templates/default/vehicles.html.twig:200 +#: ../templates/default/vehicles.html.twig:207 msgid "Choose a body" msgstr "Виберіть корпус" -#: ../templates/default/vehicles.html.twig:213 +#: ../templates/default/vehicles.html.twig:220 msgid "Choose a transmission" msgstr "Виберіть передачі" -#: ../templates/default/vehicles.html.twig:226 +#: ../templates/default/vehicles.html.twig:233 msgid "Choose a finition" msgstr "Виберіть оздоблення" -#: ../templates/default/vehicles.html.twig:241 -msgid "Chassis number" -msgstr "Номер шасі" - -#: ../templates/default/vehicles.html.twig:260 +#: ../templates/default/vehicles.html.twig:267 msgid "Choose a fuel" msgstr "Виберіть пальне" -#: ../templates/default/vehicles.html.twig:278 -#: ../templates/default/vehicles.html.twig:283 -msgid "Comment" -msgstr "Коментар" +#~ msgid "- No id provided for modifying this record! (internal)" +#~ msgstr "- Не вказано ID для зміни цього запису! (внутрішній)" -#: ../templates/default/vehicles.html.twig:350 -msgid "Car's history" -msgstr "Історія автомобіля" +#~ msgid "Fail to add new car." +#~ msgstr "Не вдається додати новий автомобіль." #, php-format #~ msgid "Brand '%s'"