Feature #34762 » detailed-error-when-csv-is-malformed.patch
| app/controllers/imports_controller.rb | ||
|---|---|---|
|
rescue CSV::MalformedCSVError, EncodingError => e
|
||
|
if e.is_a?(CSV::MalformedCSVError) && e.message !~ /Invalid byte sequence/
|
||
|
flash.now[:error] = l(:error_invalid_csv_file_or_settings)
|
||
|
flash.now[:error] = l(:error_invalid_csv_file_or_settings, e.message)
|
||
|
else
|
||
|
flash.now[:error] = l(:error_invalid_file_encoding, :encoding => ERB::Util.h(@import.settings['encoding']))
|
||
|
end
|
||
| config/locales/ar.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/az.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/bg.yml | ||
|---|---|---|
|
warning_attachments_not_saved: "%{count} файла не бяха записани."
|
||
|
error_password_expired: Вашата парола е с изтекъл срок или администраторът изисква да я смените.
|
||
|
error_invalid_file_encoding: Файлът няма валидно %{encoding} кодиране.
|
||
|
error_invalid_csv_file_or_settings: Файлът не е CSV файл или не съответства на зададеното по-долу
|
||
|
error_invalid_csv_file_or_settings: Файлът не е CSV файл или не съответства на зададеното по-долу (%{value})
|
||
|
error_can_not_read_import_file: Грешка по време на четене на импортирания файл
|
||
|
error_attachment_extension_not_allowed: Файлове от тип %{extension} не са позволени
|
||
|
error_ldap_bind_credentials: Невалидни LDAP име/парола
|
||
| config/locales/bs.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/ca.yml | ||
|---|---|---|
|
notice_import_finished: "%{count} element/s han sigut importats"
|
||
|
notice_import_finished_with_errors: "%{count} de %{total} elements no s'ha pogut importar"
|
||
|
error_invalid_file_encoding: "El fitxer no utilitza una codificació valida (%{encoding})"
|
||
|
error_invalid_csv_file_or_settings: "El fitxer no es un CSV o no coincideix amb la configuració"
|
||
|
error_invalid_csv_file_or_settings: "El fitxer no es un CSV o no coincideix amb la configuració (%{value})"
|
||
|
error_can_not_read_import_file: "S'ha produït un error mentre es llegia el fitxer a importar"
|
||
|
permission_import_issues: "Importar assumptes"
|
||
|
label_import_issues: "Importar assumptes"
|
||
| config/locales/cs.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} z %{total} položek nemohlo být naimportováno"
|
||
|
error_invalid_file_encoding: Soubor není platným souborem s kódováním %{encoding}
|
||
|
error_invalid_csv_file_or_settings: Soubor není CSV soubor nebo neodpovídá
|
||
|
níže uvedenému nastavení
|
||
|
níže uvedenému nastavení (%{value})
|
||
|
error_can_not_read_import_file: Chyba při čtení souboru pro import
|
||
|
permission_import_issues: Import úkolů
|
||
|
label_import_issues: Import úkolů
|
||
| config/locales/da.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/de.yml | ||
|---|---|---|
|
notice_import_finished: "%{count} Einträge wurden importiert"
|
||
|
notice_import_finished_with_errors: "%{count} von %{total} Einträgen konnten nicht importiert werden"
|
||
|
error_invalid_file_encoding: Die Datei ist keine gültige %{encoding}-kodierte Datei
|
||
|
error_invalid_csv_file_or_settings: Die Datei ist keine CSV-Datei oder entspricht nicht den unten stehenden Einstellungen
|
||
|
error_invalid_csv_file_or_settings: Die Datei ist keine CSV-Datei oder entspricht nicht den unten stehenden Einstellungen (%{value})
|
||
|
error_can_not_read_import_file: Beim Einlesen der Datei ist ein Fehler aufgetreten
|
||
|
permission_import_issues: Tickets importieren
|
||
|
label_import_issues: Tickets importieren
|
||
| config/locales/el.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/en-GB.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/en.yml | ||
|---|---|---|
|
warning_attachments_not_saved: "%{count} file(s) could not be saved."
|
||
|
error_password_expired: "Your password has expired or the administrator requires you to change it."
|
||
|
error_invalid_file_encoding: "The file is not a valid %{encoding} encoded file"
|
||
|
error_invalid_csv_file_or_settings: "The file is not a CSV file or does not match the settings below"
|
||
|
error_invalid_csv_file_or_settings: "The file is not a CSV file or does not match the settings below (%{value})"
|
||
|
error_can_not_read_import_file: "An error occurred while reading the file to import"
|
||
|
error_attachment_extension_not_allowed: "Attachment extension %{extension} is not allowed"
|
||
|
error_ldap_bind_credentials: "Invalid LDAP Account/Password"
|
||
| config/locales/es-PA.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} de %{total} elementos no pudieron ser importados"
|
||
|
error_invalid_file_encoding: El archivo no utiliza %{encoding} válida
|
||
|
error_invalid_csv_file_or_settings: El archivo no es un archivo CSV o no coincide con la
|
||
|
configuración
|
||
|
configuración (%{value})
|
||
|
error_can_not_read_import_file: Ocurrió un error mientras se leía el archivo a importar
|
||
|
permission_import_issues: Importar incidencias
|
||
|
label_import_issues: Importar incidencias
|
||
| config/locales/es.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} de %{total} elementos no pudieron ser importados"
|
||
|
error_invalid_file_encoding: El archivo no utiliza %{encoding} válida
|
||
|
error_invalid_csv_file_or_settings: El archivo no es un archivo CSV o no coincide con la
|
||
|
configuración
|
||
|
configuración (%{value})
|
||
|
error_can_not_read_import_file: Ocurrió un error mientras se leía el archivo a importar
|
||
|
permission_import_issues: Importar Peticiones
|
||
|
label_import_issues: Importar petición
|
||
| config/locales/et.yml | ||
|---|---|---|
|
notice_import_finished: "%{count} rida imporditud"
|
||
|
notice_import_finished_with_errors: "%{count} rida %{total}st ei õnnestunud importida"
|
||
|
error_invalid_file_encoding: "See fail ei ole õige %{encoding} kodeeringuga"
|
||
|
error_invalid_csv_file_or_settings: "See fail kas ei ole CSV formaadis või ei klapi allolevate sätetega"
|
||
|
error_invalid_csv_file_or_settings: "See fail kas ei ole CSV formaadis või ei klapi allolevate sätetega (%{value})"
|
||
|
error_can_not_read_import_file: "Importfaili sisselugemisel ilmnes viga"
|
||
|
permission_import_issues: "Impordi teemasid"
|
||
|
label_import_issues: "Impordi teemad"
|
||
| config/locales/eu.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/fa.yml | ||
|---|---|---|
|
warning_attachments_not_saved: "%{count} پرونده نتوانست ذخیره شود."
|
||
|
error_password_expired: "گذرواژهی شما منقضی شده است یا راهبر درخواست تغییر آن را داده است."
|
||
|
error_invalid_file_encoding: "این پرونده یک پرونده با کدگذاری %{encoding} نیست"
|
||
|
error_invalid_csv_file_or_settings: "این پرونده یک پرونده CSV نیست یا با تنظیمات زیر همخوان نیست."
|
||
|
error_invalid_csv_file_or_settings: "این پرونده یک پرونده CSV نیست یا با تنظیمات زیر همخوان نیست. (%{value})"
|
||
|
error_can_not_read_import_file: "در هنگام خواندن پرونده برای ورود، خطایی رخ داد"
|
||
|
error_attachment_extension_not_allowed: "پسوند %{extension} برای پیوست یک پسوند مجاز نیست"
|
||
|
error_ldap_bind_credentials: "حساب/گذرواژه نامعتبر LDAP"
|
||
| config/locales/fi.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/fr.yml | ||
|---|---|---|
|
warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu être sauvegardés."
|
||
|
error_password_expired: "Votre mot de passe a expiré ou nécessite d'être changé."
|
||
|
error_invalid_file_encoding: "Le fichier n'est pas un fichier %{encoding} valide"
|
||
|
error_invalid_csv_file_or_settings: "Le fichier n'est pas un fichier CSV ou n'est pas conforme aux paramètres sélectionnés"
|
||
|
error_invalid_csv_file_or_settings: "Le fichier n'est pas un fichier CSV ou n'est pas conforme aux paramètres sélectionnés (%{value})"
|
||
|
error_can_not_read_import_file: "Une erreur est survenue lors de la lecture du fichier à importer"
|
||
|
error_attachment_extension_not_allowed: "L'extension %{extension} n'est pas autorisée"
|
||
|
error_ldap_bind_credentials: "Identifiant ou mot de passe LDAP incorrect"
|
||
| config/locales/gl.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} dun total de %{total} elementos non puideron ser importados"
|
||
|
error_invalid_file_encoding: O ficheiro non é un ficheiro codificado %{encoding} válido
|
||
|
error_invalid_csv_file_or_settings: O ficheiro non é un arquivo CSV ou non coincide coas
|
||
|
opcións de abaixo
|
||
|
opcións de abaixo (%{value})
|
||
|
error_can_not_read_import_file: Aconteceu un erro lendo o ficheiro a importar
|
||
|
permission_import_issues: Importar peticións
|
||
|
label_import_issues: Importar peticións
|
||
| config/locales/he.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/hr.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/hu.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/id.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/it.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Importa segnalazioni
|
||
| config/locales/ja.yml | ||
|---|---|---|
|
notice_import_finished: "%{count}件のデータをすべてインポートしました"
|
||
|
notice_import_finished_with_errors: "全%{total}件中%{count}件のデータがインポートできませんでした"
|
||
|
error_invalid_file_encoding: このファイルのエンコーディングは正しい%{encoding}ではありません
|
||
|
error_invalid_csv_file_or_settings: このファイルはCSVファイルではないか、以下の設定と一致していません
|
||
|
error_invalid_csv_file_or_settings: このファイルはCSVファイルではないか、以下の設定と一致していません (%{value})
|
||
|
error_can_not_read_import_file: インポート元のファイルを読み込み中にエラーが発生しました
|
||
|
permission_import_issues: チケットのインポート
|
||
|
label_import_issues: チケットのインポート
|
||
| config/locales/ko.yml | ||
|---|---|---|
|
notice_import_finished: "총 %{count} 건을 가져왔습니다"
|
||
|
notice_import_finished_with_errors: "총 %{total} 건 중 %{count} 건을 가져오지 못했습니다"
|
||
|
error_invalid_file_encoding: 이 파일은 정상적인 %{encoding} 파일이 아닙니다.
|
||
|
error_invalid_csv_file_or_settings: 이 파일은 CSV 파일이 아니거나 아래 조건에 맞지 않습니다.
|
||
|
error_invalid_csv_file_or_settings: 이 파일은 CSV 파일이 아니거나 아래 조건에 맞지 않습니다. (%{value})
|
||
|
error_can_not_read_import_file: 가져오기 파일을 읽을 수 없습니다.
|
||
|
permission_import_issues: 일감 가져오기
|
||
|
label_import_issues: 일감 가져오기
|
||
| config/locales/lt.yml | ||
|---|---|---|
|
warning_attachments_not_saved: "%{count} byla(-ų) negali būti išsaugota."
|
||
|
error_password_expired: "Jūsų slaptažodžio galiojimo laikas baigėsi arba administratorius reikalauja jūsų jį pasikeisti"
|
||
|
error_invalid_file_encoding: "Failas nėra tinkamas %{encoding} koduotės failas"
|
||
|
error_invalid_csv_file_or_settings: "Failas nėra CSV failas arba neatitinka žemiau esančių nustatymų"
|
||
|
error_invalid_csv_file_or_settings: "Failas nėra CSV failas arba neatitinka žemiau esančių nustatymų (%{value})"
|
||
|
error_can_not_read_import_file: "Iškilo klaida skaitant importuojamą failą"
|
||
|
error_attachment_extension_not_allowed: "Priedo plėtinys %{extension} negalimas"
|
||
|
error_ldap_bind_credentials: "Netinkamas LDAP Vartotojo vardas/Slaptažodis"
|
||
| config/locales/lv.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/mk.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/mn.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/nl.yml | ||
|---|---|---|
|
notice_import_finished: "%{count} items werden geïmporteerd"
|
||
|
notice_import_finished_with_errors: "%{count} van in totaal %{total} items kunnen niet geïmporteerd worden"
|
||
|
error_invalid_file_encoding: Het bestand is geen geldig geëncodeerd %{encoding} bestand
|
||
|
error_invalid_csv_file_or_settings: Het bestand is geen CSV-bestand of voldoet niet aan onderstaande instellingen
|
||
|
error_invalid_csv_file_or_settings: Het bestand is geen CSV-bestand of voldoet niet aan onderstaande instellingen (%{value})
|
||
|
error_can_not_read_import_file: Er is een fout opgetreden bij het inlezen van het bestand
|
||
|
permission_import_issues: Issues importeren
|
||
|
label_import_issues: Issues importeren
|
||
| config/locales/no.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/pl.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/pt-BR.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} fora de %{total} não puderam ser importados"
|
||
|
error_invalid_file_encoding: O arquivo não é válido %{encoding} é a codificação do arquivo
|
||
|
error_invalid_csv_file_or_settings: O arquivo não é um arquivo CSV ou não corresponde às
|
||
|
definições abaixo
|
||
|
definições abaixo (%{value})
|
||
|
error_can_not_read_import_file: Ocorreu um erro ao ler o arquivo para importação
|
||
|
permission_import_issues: Importar tarefas
|
||
|
label_import_issues: Importar tarefas
|
||
| config/locales/pt.yml | ||
|---|---|---|
|
notice_import_finished: "%{count} registos foram importados"
|
||
|
notice_import_finished_with_errors: "%{count} de %{total} registos não poderam ser importados"
|
||
|
error_invalid_file_encoding: 'O ficheiro não possui a codificação correcta: {encoding}'
|
||
|
error_invalid_csv_file_or_settings: O ficheiro não é um ficheiro CSV ou não respeita as definições abaixo
|
||
|
error_invalid_csv_file_or_settings: O ficheiro não é um ficheiro CSV ou não respeita as definições abaixo (%{value})
|
||
|
error_can_not_read_import_file: Ocorreu um erro ao ler o ficheiro a importar
|
||
|
permission_import_issues: Importar tarefas
|
||
|
label_import_issues: Importar tarefas
|
||
| config/locales/ro.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/ru.yml | ||
|---|---|---|
|
notice_import_finished: "%{count} элемент(а, ов) были импортированы"
|
||
|
notice_import_finished_with_errors: "%{count} из %{total} элемент(а, ов) не могут быть импортированы"
|
||
|
error_invalid_file_encoding: Кодировка файла не соответствует выбранной %{encoding}
|
||
|
error_invalid_csv_file_or_settings: Файл не является файлом CSV или не соответствует представленным настройкам
|
||
|
error_invalid_csv_file_or_settings: Файл не является файлом CSV или не соответствует представленным настройкам (%{value})
|
||
|
error_can_not_read_import_file: Во время чтения файла для импорта произошла ошибка
|
||
|
permission_import_issues: Импорт задач
|
||
|
label_import_issues: Импорт задач
|
||
| config/locales/sk.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/sl.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/sq.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/sr-YU.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/sr.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/sv.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} av %{total} artiklar kunde inte importeras"
|
||
|
error_invalid_file_encoding: Filen är inte en %{encoding}-kodad fil
|
||
|
error_invalid_csv_file_or_settings: Filen är inte en CSV-fil eller stämmer inte med
|
||
|
inställningarna nedan
|
||
|
inställningarna nedan (%{value})
|
||
|
error_can_not_read_import_file: Fel vid läsning av fil att importera
|
||
|
permission_import_issues: Importera ärenden
|
||
|
label_import_issues: Importera ärenden
|
||
| config/locales/th.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/tr.yml | ||
|---|---|---|
|
notice_import_finished: "%{count} kayıt içeri aktarıldı"
|
||
|
notice_import_finished_with_errors: "%{total} kayıttan %{count} tanesi aktarılamadı"
|
||
|
error_invalid_file_encoding: Dosyanın karakter kodlaması geçerli bir %{encoding} kodlaması değil.
|
||
|
error_invalid_csv_file_or_settings: Dosya CSV dosyası değil veya aşağıdaki ayarlara uymuyor
|
||
|
error_invalid_csv_file_or_settings: Dosya CSV dosyası değil veya aşağıdaki ayarlara uymuyor (%{value})
|
||
|
error_can_not_read_import_file: İçeri aktarılacak dosyayı okurken bir hata oluştu
|
||
|
permission_import_issues: İşleri içeri aktarma
|
||
|
label_import_issues: İşleri içeri aktar
|
||
| config/locales/uk.yml | ||
|---|---|---|
|
notice_import_finished: "%{count} елементи(ів) було імпортовано"
|
||
|
notice_import_finished_with_errors: "%{count} з %{total} елементи(ів) неможливо імпортувати"
|
||
|
error_invalid_file_encoding: Кодування файлу не відповідає видраній(ому) %{encoding}
|
||
|
error_invalid_csv_file_or_settings: Файл не є файлом CSV або не відповідає вибраним налаштуванням
|
||
|
error_invalid_csv_file_or_settings: Файл не є файлом CSV або не відповідає вибраним налаштуванням (%{value})
|
||
|
error_can_not_read_import_file: Під час читання файлу для імпорту виникла помилка
|
||
|
permission_import_issues: Імпорт задач
|
||
|
label_import_issues: Імпорт задач
|
||
| config/locales/vi.yml | ||
|---|---|---|
|
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
|
||
|
error_invalid_file_encoding: The file is not a valid %{encoding} encoded file
|
||
|
error_invalid_csv_file_or_settings: The file is not a CSV file or does not match the
|
||
|
settings below
|
||
|
settings below (%{value})
|
||
|
error_can_not_read_import_file: An error occurred while reading the file to import
|
||
|
permission_import_issues: Import issues
|
||
|
label_import_issues: Import issues
|
||
| config/locales/zh-TW.yml | ||
|---|---|---|
|
warning_attachments_not_saved: "%{count} 個附加檔案無法被儲存。"
|
||
|
error_password_expired: "您的密碼已經過期或是管理員要求您變更密碼."
|
||
|
error_invalid_file_encoding: "這個檔案不是一個有效的 %{encoding} 編碼檔案"
|
||
|
error_invalid_csv_file_or_settings: "這個檔案不是一個 CSV 檔案,或是未符合下面所列之設定值"
|
||
|
error_invalid_csv_file_or_settings: "這個檔案不是一個 CSV 檔案,或是未符合下面所列之設定值 (%{value})"
|
||
|
error_can_not_read_import_file: "讀取匯入檔案時發生錯誤"
|
||
|
error_attachment_extension_not_allowed: "附件之附檔名不允許使用 %{extension}"
|
||
|
error_ldap_bind_credentials: "無效的 LDAP 帳號/密碼"
|
||
| config/locales/zh.yml | ||
|---|---|---|
|
notice_import_finished: 成功导入 %{count} 个项目
|
||
|
notice_import_finished_with_errors: 有 %{count} 个项目无法导入(共计 %{total} 个)
|
||
|
error_invalid_file_encoding: 这不是一个有效的 %{encoding} 编码文件
|
||
|
error_invalid_csv_file_or_settings: 这不是一个CSV文件或者不符合以下设置
|
||
|
error_invalid_csv_file_or_settings: 这不是一个CSV文件或者不符合以下设置 (%{value})
|
||
|
error_can_not_read_import_file: 读取导入文件时发生错误
|
||
|
permission_import_issues: 问题导入
|
||
|
label_import_issues: 问题导入
|
||
| test/fixtures/files/unclosed_quoted_field.csv | ||
|---|---|---|
|
subject;description
|
||
|
foo;"Unclosed quoted field
|
||
| test/functional/imports_controller_test.rb | ||
|---|---|---|
|
assert_select 'div#flash_error', /not a valid Shift_JIS encoded file/
|
||
|
end
|
||
|
def test_post_settings_with_mailformed_csv_should_display_error
|
||
|
import = generate_import('unclosed_quoted_field.csv')
|
||
|
post(
|
||
|
:settings,
|
||
|
:params => {
|
||
|
:id => import.to_param,
|
||
|
:import_settings => {
|
||
|
:separator => ';',
|
||
|
:wrapper => '"',
|
||
|
:encoding => 'US-ASCII'
|
||
|
}
|
||
|
}
|
||
|
)
|
||
|
assert_response 200
|
||
|
import.reload
|
||
|
assert_nil import.total_items
|
||
|
assert_select 'div#flash_error', /The file is not a CSV file or does not match the settings below \([[:print:]]+\)/
|
||
|
end
|
||
|
def test_get_mapping_should_display_mapping_form
|
||
|
import = generate_import('import_iso8859-1.csv')
|
||
|
import.settings = {'separator' => ";", 'wrapper' => '"', 'encoding' => "ISO-8859-1"}
|
||
- « Previous
- 1
- 2
- Next »