From ed25a2b7cfc1fde185075e2991ab0f4755cc0774 Mon Sep 17 00:00:00 2001 From: Emmanuel Lacour Date: Fri, 2 May 2025 15:44:52 +0200 Subject: [PATCH] Allow static header in import file If present it is only ignored, not used for values order/name --- html/Admin/CustomFields/ImportValues.html | 2 +- po/fr.po | 4 ++-- po/importcustomfieldvalues.pot | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/Admin/CustomFields/ImportValues.html b/html/Admin/CustomFields/ImportValues.html index b6426fb..d324ff4 100644 --- a/html/Admin/CustomFields/ImportValues.html +++ b/html/Admin/CustomFields/ImportValues.html @@ -43,7 +43,7 @@

<&|/l&>- File encoding: UTF-8
<&|/l&>- Fields separated by ";"
-<&|/l&>- No headers
+<&|/l&>- No headers or a header of "SortOrder;Name;Description;Category"
<&|/l&>- Using the following columns and order: SortOrder, Name, Description, Category
<&|/l&>- Column "Name" is mandatory, other columns may be empty but must exists

diff --git a/po/fr.po b/po/fr.po index 48d83d5..501fcc5 100644 --- a/po/fr.po +++ b/po/fr.po @@ -22,8 +22,8 @@ msgid "- File encoding: UTF-8" msgstr "- Encodage du fichier: UTF-8" #: html/Admin/CustomFields/ImportValues.html:46 -msgid "- No headers" -msgstr "- Pas de ligne d'en-tête" +msgid "- No headers or a header of \"SortOrder;Name;Description;Category\"" +msgstr "- Pas de ligne d'en-tête ou une ligne contenant \"SortOrder;Name;Description;Category\"" #: html/Admin/CustomFields/ImportValues.html:47 msgid "- Using the following columns and order: SortOrder, Name, Description, Category" diff --git a/po/importcustomfieldvalues.pot b/po/importcustomfieldvalues.pot index a4ccfbe..6ce45ee 100644 --- a/po/importcustomfieldvalues.pot +++ b/po/importcustomfieldvalues.pot @@ -16,7 +16,7 @@ msgid "- File encoding: UTF-8" msgstr "" #: html/Admin/CustomFields/ImportValues.html:46 -msgid "- No headers" +msgid "- No headers or a header of \"SortOrder;Name;Description;Category\"" msgstr "" #: html/Admin/CustomFields/ImportValues.html:47 -- 2.11.0