Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20756 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.2.0
rescue CSV::MalformedCSVError, EncodingError => e | rescue CSV::MalformedCSVError, EncodingError => e | ||||
if e.is_a?(CSV::MalformedCSVError) && e.message !~ /Invalid byte sequence/ | 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 | else | ||||
flash.now[:error] = l(:error_invalid_file_encoding, :encoding => ERB::Util.h(@import.settings['encoding'])) | flash.now[:error] = l(:error_invalid_file_encoding, :encoding => ERB::Util.h(@import.settings['encoding'])) | ||||
end | end |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
warning_attachments_not_saved: "%{count} файла не бяха записани." | warning_attachments_not_saved: "%{count} файла не бяха записани." | ||||
error_password_expired: Вашата парола е с изтекъл срок или администраторът изисква да я смените. | error_password_expired: Вашата парола е с изтекъл срок или администраторът изисква да я смените. | ||||
error_invalid_file_encoding: Файлът няма валидно %{encoding} кодиране. | 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_can_not_read_import_file: Грешка по време на четене на импортирания файл | ||||
error_attachment_extension_not_allowed: Файлове от тип %{extension} не са позволени | error_attachment_extension_not_allowed: Файлове от тип %{extension} не са позволени | ||||
error_ldap_bind_credentials: Невалидни LDAP име/парола | error_ldap_bind_credentials: Невалидни LDAP име/парола |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished: "%{count} element/s han sigut importats" | notice_import_finished: "%{count} element/s han sigut importats" | ||||
notice_import_finished_with_errors: "%{count} de %{total} elements no s'ha pogut importar" | 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_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" | error_can_not_read_import_file: "S'ha produït un error mentre es llegia el fitxer a importar" | ||||
permission_import_issues: "Importar assumptes" | permission_import_issues: "Importar assumptes" | ||||
label_import_issues: "Importar assumptes" | label_import_issues: "Importar assumptes" |
notice_import_finished_with_errors: "%{count} z %{total} položek nemohlo být naimportováno" | 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_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á | 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 | error_can_not_read_import_file: Chyba při čtení souboru pro import | ||||
permission_import_issues: Import úkolů | permission_import_issues: Import úkolů | ||||
label_import_issues: Import úkolů | label_import_issues: Import úkolů |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished: "%{count} Einträge wurden importiert" | notice_import_finished: "%{count} Einträge wurden importiert" | ||||
notice_import_finished_with_errors: "%{count} von %{total} Einträgen konnten nicht importiert werden" | 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_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 | error_can_not_read_import_file: Beim Einlesen der Datei ist ein Fehler aufgetreten | ||||
permission_import_issues: Tickets importieren | permission_import_issues: Tickets importieren | ||||
label_import_issues: Tickets importieren | label_import_issues: Tickets importieren |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
warning_attachments_not_saved: "%{count} file(s) could not be saved." | 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_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_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_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_attachment_extension_not_allowed: "Attachment extension %{extension} is not allowed" | ||||
error_ldap_bind_credentials: "Invalid LDAP Account/Password" | error_ldap_bind_credentials: "Invalid LDAP Account/Password" |
notice_import_finished_with_errors: "%{count} de %{total} elementos no pudieron ser importados" | 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_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 | 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 | error_can_not_read_import_file: Ocurrió un error mientras se leía el archivo a importar | ||||
permission_import_issues: Importar incidencias | permission_import_issues: Importar incidencias | ||||
label_import_issues: Importar incidencias | label_import_issues: Importar incidencias |
notice_import_finished_with_errors: "%{count} de %{total} elementos no pudieron ser importados" | 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_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 | 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 | error_can_not_read_import_file: Ocurrió un error mientras se leía el archivo a importar | ||||
permission_import_issues: Importar Peticiones | permission_import_issues: Importar Peticiones | ||||
label_import_issues: Importar petición | label_import_issues: Importar petición |
notice_import_finished: "%{count} rida imporditud" | notice_import_finished: "%{count} rida imporditud" | ||||
notice_import_finished_with_errors: "%{count} rida %{total}st ei õnnestunud importida" | 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_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" | error_can_not_read_import_file: "Importfaili sisselugemisel ilmnes viga" | ||||
permission_import_issues: "Impordi teemasid" | permission_import_issues: "Impordi teemasid" | ||||
label_import_issues: "Impordi teemad" | label_import_issues: "Impordi teemad" |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
warning_attachments_not_saved: "%{count} پرونده نتوانست ذخیره شود." | warning_attachments_not_saved: "%{count} پرونده نتوانست ذخیره شود." | ||||
error_password_expired: "گذرواژهی شما منقضی شده است یا راهبر درخواست تغییر آن را داده است." | error_password_expired: "گذرواژهی شما منقضی شده است یا راهبر درخواست تغییر آن را داده است." | ||||
error_invalid_file_encoding: "این پرونده یک پرونده با کدگذاری %{encoding} نیست" | 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_can_not_read_import_file: "در هنگام خواندن پرونده برای ورود، خطایی رخ داد" | ||||
error_attachment_extension_not_allowed: "پسوند %{extension} برای پیوست یک پسوند مجاز نیست" | error_attachment_extension_not_allowed: "پسوند %{extension} برای پیوست یک پسوند مجاز نیست" | ||||
error_ldap_bind_credentials: "حساب/گذرواژه نامعتبر LDAP" | error_ldap_bind_credentials: "حساب/گذرواژه نامعتبر LDAP" |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu être sauvegardés." | 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_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_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_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_attachment_extension_not_allowed: "L'extension %{extension} n'est pas autorisée" | ||||
error_ldap_bind_credentials: "Identifiant ou mot de passe LDAP incorrect" | error_ldap_bind_credentials: "Identifiant ou mot de passe LDAP incorrect" |
notice_import_finished_with_errors: "%{count} dun total de %{total} elementos non puideron ser importados" | 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_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 | 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 | error_can_not_read_import_file: Aconteceu un erro lendo o ficheiro a importar | ||||
permission_import_issues: Importar peticións | permission_import_issues: Importar peticións | ||||
label_import_issues: Importar peticións | label_import_issues: Importar peticións |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Importa segnalazioni | label_import_issues: Importa segnalazioni |
notice_import_finished: "%{count}件のデータをすべてインポートしました" | notice_import_finished: "%{count}件のデータをすべてインポートしました" | ||||
notice_import_finished_with_errors: "全%{total}件中%{count}件のデータがインポートできませんでした" | notice_import_finished_with_errors: "全%{total}件中%{count}件のデータがインポートできませんでした" | ||||
error_invalid_file_encoding: このファイルのエンコーディングは正しい%{encoding}ではありません | 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_can_not_read_import_file: インポート元のファイルを読み込み中にエラーが発生しました | ||||
permission_import_issues: チケットのインポート | permission_import_issues: チケットのインポート | ||||
label_import_issues: チケットのインポート | label_import_issues: チケットのインポート |
notice_import_finished: "총 %{count} 건을 가져왔습니다" | notice_import_finished: "총 %{count} 건을 가져왔습니다" | ||||
notice_import_finished_with_errors: "총 %{total} 건 중 %{count} 건을 가져오지 못했습니다" | notice_import_finished_with_errors: "총 %{total} 건 중 %{count} 건을 가져오지 못했습니다" | ||||
error_invalid_file_encoding: 이 파일은 정상적인 %{encoding} 파일이 아닙니다. | 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_can_not_read_import_file: 가져오기 파일을 읽을 수 없습니다. | ||||
permission_import_issues: 일감 가져오기 | permission_import_issues: 일감 가져오기 | ||||
label_import_issues: 일감 가져오기 | label_import_issues: 일감 가져오기 |
warning_attachments_not_saved: "%{count} byla(-ų) negali būti išsaugota." | 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_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_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_can_not_read_import_file: "Iškilo klaida skaitant importuojamą failą" | ||||
error_attachment_extension_not_allowed: "Priedo plėtinys %{extension} negalimas" | error_attachment_extension_not_allowed: "Priedo plėtinys %{extension} negalimas" | ||||
error_ldap_bind_credentials: "Netinkamas LDAP Vartotojo vardas/Slaptažodis" | error_ldap_bind_credentials: "Netinkamas LDAP Vartotojo vardas/Slaptažodis" |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished: "%{count} items werden geïmporteerd" | notice_import_finished: "%{count} items werden geïmporteerd" | ||||
notice_import_finished_with_errors: "%{count} van in totaal %{total} items kunnen niet geïmporteerd worden" | 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_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 | error_can_not_read_import_file: Er is een fout opgetreden bij het inlezen van het bestand | ||||
permission_import_issues: Issues importeren | permission_import_issues: Issues importeren | ||||
label_import_issues: Issues importeren | label_import_issues: Issues importeren |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} fora de %{total} não puderam ser importados" | 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_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 | 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 | error_can_not_read_import_file: Ocorreu um erro ao ler o arquivo para importação | ||||
permission_import_issues: Importar tarefas | permission_import_issues: Importar tarefas | ||||
label_import_issues: Importar tarefas | label_import_issues: Importar tarefas |
notice_import_finished: "%{count} registos foram importados" | notice_import_finished: "%{count} registos foram importados" | ||||
notice_import_finished_with_errors: "%{count} de %{total} registos não poderam ser 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_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 | error_can_not_read_import_file: Ocorreu um erro ao ler o ficheiro a importar | ||||
permission_import_issues: Importar tarefas | permission_import_issues: Importar tarefas | ||||
label_import_issues: Importar tarefas | label_import_issues: Importar tarefas |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished: "%{count} элемент(а, ов) были импортированы" | notice_import_finished: "%{count} элемент(а, ов) были импортированы" | ||||
notice_import_finished_with_errors: "%{count} из %{total} элемент(а, ов) не могут быть импортированы" | notice_import_finished_with_errors: "%{count} из %{total} элемент(а, ов) не могут быть импортированы" | ||||
error_invalid_file_encoding: Кодировка файла не соответствует выбранной %{encoding} | 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_can_not_read_import_file: Во время чтения файла для импорта произошла ошибка | ||||
permission_import_issues: Импорт задач | permission_import_issues: Импорт задач | ||||
label_import_issues: Импорт задач | label_import_issues: Импорт задач |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished_with_errors: "%{count} av %{total} artiklar kunde inte importeras" | 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_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 | 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 | error_can_not_read_import_file: Fel vid läsning av fil att importera | ||||
permission_import_issues: Importera ärenden | permission_import_issues: Importera ärenden | ||||
label_import_issues: Importera ärenden | label_import_issues: Importera ärenden |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
notice_import_finished: "%{count} kayıt içeri aktarıldı" | notice_import_finished: "%{count} kayıt içeri aktarıldı" | ||||
notice_import_finished_with_errors: "%{total} kayıttan %{count} tanesi aktarılamadı" | 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_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 | error_can_not_read_import_file: İçeri aktarılacak dosyayı okurken bir hata oluştu | ||||
permission_import_issues: İşleri içeri aktarma | permission_import_issues: İşleri içeri aktarma | ||||
label_import_issues: İşleri içeri aktar | label_import_issues: İşleri içeri aktar |
notice_import_finished: "%{count} елементи(ів) було імпортовано" | notice_import_finished: "%{count} елементи(ів) було імпортовано" | ||||
notice_import_finished_with_errors: "%{count} з %{total} елементи(ів) неможливо імпортувати" | notice_import_finished_with_errors: "%{count} з %{total} елементи(ів) неможливо імпортувати" | ||||
error_invalid_file_encoding: Кодування файлу не відповідає видраній(ому) %{encoding} | 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_can_not_read_import_file: Під час читання файлу для імпорту виникла помилка | ||||
permission_import_issues: Імпорт задач | permission_import_issues: Імпорт задач | ||||
label_import_issues: Імпорт задач | label_import_issues: Імпорт задач |
notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | 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_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 | 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 | error_can_not_read_import_file: An error occurred while reading the file to import | ||||
permission_import_issues: Import issues | permission_import_issues: Import issues | ||||
label_import_issues: Import issues | label_import_issues: Import issues |
warning_attachments_not_saved: "%{count} 個附加檔案無法被儲存。" | warning_attachments_not_saved: "%{count} 個附加檔案無法被儲存。" | ||||
error_password_expired: "您的密碼已經過期或是管理員要求您變更密碼." | error_password_expired: "您的密碼已經過期或是管理員要求您變更密碼." | ||||
error_invalid_file_encoding: "這個檔案不是一個有效的 %{encoding} 編碼檔案" | 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_can_not_read_import_file: "讀取匯入檔案時發生錯誤" | ||||
error_attachment_extension_not_allowed: "附件之附檔名不允許使用 %{extension}" | error_attachment_extension_not_allowed: "附件之附檔名不允許使用 %{extension}" | ||||
error_ldap_bind_credentials: "無效的 LDAP 帳號/密碼" | error_ldap_bind_credentials: "無效的 LDAP 帳號/密碼" |
notice_import_finished: 成功导入 %{count} 个项目 | notice_import_finished: 成功导入 %{count} 个项目 | ||||
notice_import_finished_with_errors: 有 %{count} 个项目无法导入(共计 %{total} 个) | notice_import_finished_with_errors: 有 %{count} 个项目无法导入(共计 %{total} 个) | ||||
error_invalid_file_encoding: 这不是一个有效的 %{encoding} 编码文件 | 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_can_not_read_import_file: 读取导入文件时发生错误 | ||||
permission_import_issues: 问题导入 | permission_import_issues: 问题导入 | ||||
label_import_issues: 问题导入 | label_import_issues: 问题导入 |
subject;description | |||||
foo;"Unclosed quoted field |
assert_select 'div#flash_error', /not a valid Shift_JIS encoded file/ | assert_select 'div#flash_error', /not a valid Shift_JIS encoded file/ | ||||
end | 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 | def test_get_mapping_should_display_mapping_form | ||||
import = generate_import('import_iso8859-1.csv') | import = generate_import('import_iso8859-1.csv') | ||||
import.settings = {'separator' => ";", 'wrapper' => '"', 'encoding' => "ISO-8859-1"} | import.settings = {'separator' => ";", 'wrapper' => '"', 'encoding' => "ISO-8859-1"} |