From c2c2bebdbd508f9dbe1110ab78f4a3d6019aea6d Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Fri, 1 Mar 2013 14:27:14 +0100 Subject: [PATCH 1/3] Multiple DMSF tabs in Administration->Custom fields fixed --- .../patches/custom_fields_helper.rb | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/lib/redmine_dmsf/patches/custom_fields_helper.rb b/lib/redmine_dmsf/patches/custom_fields_helper.rb index d700bd31..bd2b5009 100644 --- a/lib/redmine_dmsf/patches/custom_fields_helper.rb +++ b/lib/redmine_dmsf/patches/custom_fields_helper.rb @@ -1,3 +1,20 @@ +# Copyright (C) 2011 Vit Jons +# Copyright (C) 2012 Daniel Munn +# Copyright (C) 2013 Karel Picman +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + module RedmineDmsf module Patches module CustomFieldsHelper @@ -7,9 +24,13 @@ module RedmineDmsf end end - def custom_fields_tabs_with_customer_tab - tabs = custom_fields_tabs_without_customer_tab - tabs << {:name => 'DmsfFileRevisionCustomField', :partial => 'custom_fields/index', :label => :DMSF_custom_field} + def custom_fields_tabs_with_customer_tab + cf = {:name => 'DmsfFileRevisionCustomField', :partial => 'custom_fields/index', :label => :dmsf} + unless CustomField::CUSTOM_FIELDS_NAMES.include?(cf[:name]) + CustomField::CUSTOM_FIELDS_TABS << cf + CustomField::CUSTOM_FIELDS_NAMES << cf[:name] + end + custom_fields_tabs_without_customer_tab end end end From d6c3209f80a573b80b00ceca7d9dde931c15da91 Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Fri, 1 Mar 2013 15:19:47 +0100 Subject: [PATCH 2/3] Czech localisation updated, en-GB removed, yml files formated --- config/locales/cs.yml | 23 +++++ config/locales/de.yml | 14 +-- config/locales/en-GB.yml | 187 --------------------------------------- config/locales/en.yml | 1 + config/locales/es.yml | 35 +++++++- config/locales/fr.yml | 2 +- config/locales/ja.yml | 34 ++++++- config/locales/ru.yml | 1 + config/locales/zh.yml | 32 ++++++- 9 files changed, 124 insertions(+), 205 deletions(-) delete mode 100644 config/locales/en-GB.yml diff --git a/config/locales/cs.yml b/config/locales/cs.yml index 506607e7..d311103f 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -1,3 +1,4 @@ +# Czech translation for DMSF by vit.jonas@gmail.com, karel.picman@kontron.com cs: :dmsf: "DMSF" :label_dmsf_file_plural: "Dmsf soubory" @@ -183,6 +184,28 @@ cs: :error_folder_cannot_be_copied: "Složka nemůže být zkopírována" :notice_folder_copied: "Složka zkopírována" :error_max_email_filesize_exceeded: "Přesáhli jste maximální velikost souboru, který lze poslat emailem. (%{number} MB)" + :note_maximum_email_filesize: "Omezí se maximální velikost souboru, který může být poslán emailem. 0 znamená neomezený. Číslo je v MB." :label_maximum_email_filesize: "Maximální velikost souboru emailu" + :header_minimum_filesize: "File Error." + :error_minimum_filesize: "The file %{file} is 0 bytes and will not be attached." + :parent_directory: "Parent Directory" + :note_webdav: "Webdav once enabled can be found at http://.../dmsf/webdav/" + :label_webdav: "Webdav functionality" + :label_dmsf_plural: "Copy DMSF files and folders (%{files} files in %{folders} folders)" + + :warning_folder_already_locked: "Tato složka je již zamčená" + :notice_folder_locked: "Složka byla úspěšně zamčena" + :warning_folder_not_locked: "Složku nelze zamknout" + :notice_folder_unlocked: "Složka byla odemčena" + :error_only_user_that_locked_folder_can_unlock_it: "Nemáte oprávnění k odemknutí této složky" + :title_folder_parent_locked: "Nadřazená složka %{name} je zamčená" + :title_file_parent_locked: "Nadřazená složka %{name} je zamčená" + :title_unlock_folder: "Odemknout" + :title_lock_folder: "Zamknout" + + :select_option_webdav_readonly: "Pouze pro čtení" + :select_option_webdav_readwrite: "Čtení/Zápis" + :label_webdav_strategy: "Webdav strategie" + :note_webdav_strategy: "Umožní administrátorovi rozhodnout, zdali je webdav pouze pro čtení nebo i pro zápis." \ No newline at end of file diff --git a/config/locales/de.yml b/config/locales/de.yml index 9f4fe8e0..c8ed33ac 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1,3 +1,4 @@ +# German translation for DMSF by Terrence Miller de: :dmsf: "DMS" :label_dmsf_file_plural: "DMS" @@ -62,8 +63,7 @@ de: :submit_email: "Email" :title_send_checked_by_email: "Sende gewählte Dateien per Email" :link_user_preferences: "Deine Einstellungen" - :heading_send_documents_by_email: "Sende Dateien per Email" - :heading_new_folder : "Neuen Ordner erstellen" + :heading_send_documents_by_email: "Sende Dateien per Email" :label_email_from: "Von" :label_email_to: "An" :label_email_cc: "CC" @@ -77,7 +77,7 @@ de: :note_uploaded_maximum_files_at_once: "Es können maximal %{number} Dateien auf einmal hochgeladen werden." :note_upload_files_greater_than_two_gb: "Um Dateien größer 2GB hochzuladen brauchst du einen 64bit-Browser." :submit_upload_files: "Upload" - :heading_new_folder: "Neuer Ordner" + :heading_new_folder: "Neuer Ordner" :label_title: "Titel" :label_description: "Beschreibung" :submit_save: "Speichern" @@ -183,6 +183,7 @@ de: :title_copy: "Kopieren" :error_folder_cannot_be_copied: "Der Ordner kann nicht kopiert werden." :notice_folder_copied: "Ordner kopiert" + :error_max_email_filesize_exceeded: "Maximale Dateigröße der Anlage wurde überschritten. (%{number} MB)" :note_maximum_email_filesize: "Maximale Dateigröße der Anlage. 0 bedeutet keinen Limit. Der Nummer ist in MB." :label_maximum_email_filesize: "Maximale Dateigröße der Anlage" @@ -190,8 +191,9 @@ de: :error_minimum_filesize: "Die Datei %{file} ist 0 Bytes groß und wird deswegen nicht angehängt." :parent_directory: "übergeordnetes Verzeichnis" :note_webdav: "Nach der Aktivierung von WebDav kann der Dienst über die URL http(s)://.../dmsf/webdav/ erreicht werden." - :label_webdav: "Webdav Funktionalität" + :label_webdav: "Webdav Funktionalität" :label_dmsf_plural: "Kopieren von Dateien und Ordnern (%{files} Dateien in %{folders} Ordnern)" + :warning_folder_already_locked: "Dieser Ordner ist bereits gesperrt" :notice_folder_locked: "Der Ordner wurde erfolgreich gesperrt" :warning_folder_not_locked: "Der Ordner konnte nicht gesperrt werden" @@ -201,9 +203,9 @@ de: :title_file_parent_locked: "Übergeordnetes Verzeichnis %{name} ist gesperrt" :title_unlock_folder: "Zur Modifikation für andere Benutzer entsperren" :title_lock_folder: "Zum Schutz vor Modifikation durch andere Benutzer sperren" + :select_option_webdav_readonly: "nur Lesen" :select_option_webdav_readwrite: "Lesen/Schreiben" :label_webdav_strategy: "Webdav Strategie" :note_webdav_strategy: "Erlaubt dem Administrator den Wechsel der WebDav Nutzung zwischen nur lesend und auch schreibenden Zugriffen." - :DMSF_custom_field: "DMSF" - :custom_field: "DMSF" \ No newline at end of file + \ No newline at end of file diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml deleted file mode 100644 index 78d7d92f..00000000 --- a/config/locales/en-GB.yml +++ /dev/null @@ -1,187 +0,0 @@ -en-GB: - :dmsf: "DMSF" - :label_dmsf_file_plural: "Dmsf files" - :warning_no_entries_selected: "No entries selected" - :error_email_to_must_be_entered: "Email To must be entered" - :notice_email_sent: "Email sent" - :warning_file_already_locked: "File already locked" - :notice_file_locked: "File locked" - :warning_file_not_locked: "File not locked" - :notice_file_unlocked: "File unlocked" - :error_only_user_that_locked_file_can_unlock_it: "Only user that locked file can unlock it" - :question_do_you_really_want_to_delete_this_entry: "Do you really want to delete this entry?" - :error_max_files_exceeded: "Limit for %{number} simultaneously downloaded files exceeded" - :question_do_you_really_want_to_delete_this_revision: "Do you really want to delete this revision?" - :error_entry_project_does_not_match_current_project: "Entry project doesn't match current project" - :notice_folder_created: "Folder created" - :error_folder_creation_failed: "Folder creation failed" - :error_folder_title_must_be_entered: "Title must be entered" - :notice_folder_deleted: "Folder deleted" - :error_folder_is_not_empty: "Folder is not empty" - :error_folder_title_is_already_used: "Title is already used" - :notice_folder_details_were_saved: "Folder details were saved" - :error_file_is_locked: "File is locked" - :notice_file_deleted: "File deleted" - :error_at_least_one_revision_must_be_present: "At least one revision must be present" - :notice_revision_deleted: "Revision deleted" - :warning_one_of_files_locked: "One of files locked" - :notice_file_unlocked: "File unlocked" - :notice_file_revision_created: "File revision created" - :notice_your_preferences_were_saved: "Your preferences were saved" - :warning_folder_notifications_already_activated: "Folder notifications already activated" - :notice_folder_notifications_activated: "Folder notifications activated" - :warning_folder_notifications_already_deactivated: "Folder notifications already deactivated" - :notice_folder_notifications_deactivated: "Folder notifications deactivated" - :warning_file_notifications_already_activated: "File notifications already activated" - :notice_file_notifications_activated: "File notifications activated" - :warning_file_notifications_already_deactivated: "File notifications already deactivated" - :notice_file_notifications_deactivated: "File notifications deactivated" - :link_details: "%{title} details" - :link_edit: "Edit %{title}" - :submit_create: "Create" - :link_create_folder: "Create folder" - :title_check_uncheck_all_for_zip_download_or_email: "Check/Uncheck all for zip download or email" - :link_title: "Title" - :link_size: "Size" - :link_modified: "Modified" - :link_ver: "Ver." - :link_author: "Author" - :title_check_for_zip_download_or_email: "Check for Zip download or email" - :title_delete: "Delete" - :title_notifications_active_deactivate: "Notifications active: Deactivate" - :title_notifications_not_active_activate: "Notifications not active: Activate" - :title_title_version_version_download: "%{title} version %{version} download" - :title_locked_by_user: "Locked by %{user}" - :title_locked_by_you: "Locked by you" - :title_waiting_for_approval: "Waiting for Approval" - :title_approved: "Approved" - :title_unlock_file: "Unlock to allow changes for other members" - :title_lock_file: "Lock to prevent changes for other members" - :submit_download: "Download" - :title_download_checked: "Download checked in Zip archive" - :submit_email: "Email" - :title_send_checked_by_email: "Send checked by email" - :link_user_preferences: "Your DMSF project preferences" - :heading_send_documents_by_email: "Send documents by email" - :label_email_from: "From" - :label_email_to: "To" - :label_email_cc: "CC" - :label_email_subject: "Subject" - :label_email_documents: "Documents" - :label_email_body: "Body" - :label_email_send: "Send" - :title_notifications_active: "Notifications active" - :label_file_size: "File size" - :heading_file_upload: "Upload" - :note_uploaded_maximum_files_at_once: "There can be uploaded maximum of %{number} files at once." - :note_upload_files_greater_than_two_gb: "To upload files greater than 2GB you must have 64b browser." - :submit_upload_files: "Upload" - :info_file_locked: "File locked!" - :label_notifications: "Notifications" - :select_option_default: "Default" - :select_option_deactivated: "Deactivated" - :select_option_activated: "Activated" - :title_save_preferences: "Save preferences" - :heading_revisions: "Revisions" - :title_download: "Download" - :title_delete_revision: "Delete revision" - :label_created: "Created" - :label_changed: "Changed" - :info_changed_by_user: "%{changed} by %{user}" - :label_filename: "Filename" - :label_version: "Version" - :label_workflow: "Workflow" - :option_workflow_waiting_for_approval: "Waiting for approval" - :option_workflow_approved: "Approved" - :option_workflow_none: "None" - :label_mime: "Mime" - :label_size: "Size" - :label_comment: "Comment" - :heading_new_revision: "New Revision" - :option_version_same: "Same" - :option_version_minor: "Minor" - :option_version_major: "Major" - :label_new_content: "New content" - :label_maximum_files_upload: "Maximum files upload" - :note_maximum_number_of_files_uploaded: "Limits maximum number of files uploaded at once. 0 means unlimited." - :label_maximum_files_download: "Maximum files download" - :note_maximum_number_of_files_downloaded: "Limits maximum number of files downloaded in zip or sent via email. 0 means unlimited." - :label_file_storage_directory: "File storage directory" - :label_index_database: "Index database" - :label_stemming_language: "Stemming Language" - :note_possible_values: "Possible values" - :note_pass_none_to_disable_stemming: "pass 'none' to disable stemming" - :label_stem_strategy: "Stem strategy" - :option_stem_none: "Stem none (default)" - :option_stem_some: "Stem some" - :option_stem_all: "Stem all" - :label_stemming_description: "This controls how the query parser will apply the stemming algorithm. The default value is STEM_NONE. The possible values are" - :note_do_not_stem: "Don't perform any stemming." - :note_stem_some: "Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters, or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'." - :note_stem_all: "Search for stemmed forms of all words (note: no 'Z' prefix is added)." - :note_stemming_applied: "Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed." - :label_default_notifications: "File default notifications" - :heading_uploaded_files: "Uploaded Files" - :submit_commit: "Commit" - :link_documents: "Documents" - :permission_view_dmsf_folders: "Browse documents" - :permission_user_preferences: "User preferences" - :permission_view_dmsf_files: "View documents" - :permission_folder_manipulation: "Folder manipulation" - :permission_file_manipulation: "File manipulation" - :permission_file_approval: "File approval" - :permission_force_file_unlock: "Force file unlock" - :label_file: "File" - :field_folder: "Folder" - :error_create_cycle_in_folder_dependency: "create cycle in folder dependency" - :error_contains_invalid_character: "contains invalid character(s)" - :error_file_commit_require_uploaded_file: "File commit require uploaded file" - :warning_some_files_were_not_commited: "Some files were not commited due to validation errors: %{files}" - :error_user_has_not_right_delete_folder: "User hasn't right to delete forders" - :error_user_has_not_right_delete_file: "User hasn't right to delete file" - :notice_entries_deleted: "Entries deleted" - :warning_some_entries_were_not_deleted: "Some entries weren't deleted: %{entries}" - :question_do_you_really_want_to_delete_entries: "Do you really want to delete checked entries?" - :title_delete_checked: "Delete checked" - :title_number_of_files_in_directory: "Number of files in directory" - :title_filename_for_download: "Filename used for download or in Zip archive" - :label_number_of_folders: "Folders" - :label_number_of_documents: "Documents" - :label_zip_names_encoding: "Zip names encoding" - :note_zip_names_encoding_iconv: "Iconv is used for charset conversion from utf-8 to target encoding" - :error_file_storage_directory_does_not_exist: "File storage directory doesn't exist and can't be created" - :error_file_can_not_be_created: "File can't be created in storage directory" - :error_wrong_zip_encoding: "Wrong Zip encoding" - :warning_xapian_not_available: "Xapian not available" - :menu_dmsf: "DMSF" - :label_physical_file_delete: "Physical file delete" - :user_is_not_project_member: "You are not member of the project" - :heading_access_downloads_emails: "Downloads/Emails" - :heading_access_first: "First" - :heading_access_last: "Last" - :label_dmsf_updated: "DMSF updated" - :title_total_size_of_all_files: "Total size of all files under this folder" - :project_module_dmsf: "DMSF" - :warning_no_project_to_copy_file_to: "No project to copy file to" - :comment_copied_from: "Copied from %{source}" - :notice_file_copied: "File copied" - :notice_file_moved: "File moved" - :label_target_project: "Target project" - :label_target_folder: "Target folder" - :title_copy_or_move: "Copy/Move" - :label_dmsf_folder_plural: "Dmsf folders" - :comment_moved_from: "Moved from %{source}" - :error_target_folder_same: "Target folder and project are the same as current" - :error_file_cannot_be_moved: "File can't be moved" - :error_file_cannot_be_copied: "File can't be copied" - :warning_no_project_to_copy_folder_to: "No project to copy folder to" - :title_copy: "Copy" - :error_folder_cannot_be_copied: "Folder can't be copied" - :notice_folder_copied: "Folder copied" - :error_max_email_filesize_exceeded: "You've exceeded the maximum filesize for sending via email. (%{number} MB)" - :note_maximum_email_filesize: "Limits maximum filesize that can be sent via email. 0 means unlimited. Number is in MB." - :label_maximum_email_filesize: "Maximum email attachment size" - :parent_directory: "Parent Directory" - :note_webdav: "Webdav once enabled can be found at http://.../dmsf/webdav/" - :label_webdav: "Webdav functionality" - diff --git a/config/locales/en.yml b/config/locales/en.yml index e15f1a0c..386252a4 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1,3 +1,4 @@ +# English translation for DMSF by vit.jonas@gmail.com, dan.munn@munnster.co.uk en: :dmsf: "DMSF" :label_dmsf_file_plural: "Dmsf files" diff --git a/config/locales/es.yml b/config/locales/es.yml index 53b767fb..a390e261 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -1,3 +1,4 @@ +# Spanish translation for DMSF es: :dmsf: "DMSF" :label_dmsf_file_plural: "DMSF Archivos" @@ -35,10 +36,11 @@ es: :warning_file_notifications_already_activated: "Las notificaciones del archivo seleccionado ya estaban activadas previamente" :notice_file_notifications_activated: "Notificación de archivo activado" :warning_file_notifications_already_deactivated: "Las notificaciones del archivo seleccionado ya estaban desactivadas previamente" - :notice_file_notifications_deactivated: "Notificación de archivo desactivada" - -# Not translated + :notice_file_notifications_deactivated: "Notificación de archivo desactivada" :link_details: "%{title} details" + +# Not translated + :link_edit: "Edit %{title}" :submit_create: "Create" :link_create_folder: "Create folder" @@ -78,6 +80,10 @@ es: :note_uploaded_maximum_files_at_once: "There can be uploaded maximum of %{number} files at once." :note_upload_files_greater_than_two_gb: "To upload files greater than 2GB you must have 64b browser." :submit_upload_files: "Upload" + :heading_new_folder: "New Folder" + :label_title: "Title" + :label_description: "Description" + :submit_save: "Save" :info_file_locked: "File locked!" :label_notifications: "Notifications" :select_option_default: "Default" @@ -180,7 +186,28 @@ es: :title_copy: "Copy" :error_folder_cannot_be_copied: "Folder can't be copied" :notice_folder_copied: "Folder copied" + :error_max_email_filesize_exceeded: "You've exceeded the maximum filesize for sending via email. (%{number} MB)" :note_maximum_email_filesize: "Limits maximum filesize that can be sent via email. 0 means unlimited. Number is in MB." :label_maximum_email_filesize: "Maximum email attachment size" - \ No newline at end of file + :header_minimum_filesize: "File Error." + :error_minimum_filesize: "The file %{file} is 0 bytes and will not be attached." + :parent_directory: "Parent Directory" + :note_webdav: "Webdav once enabled can be found at http://.../dmsf/webdav/" + :label_webdav: "Webdav functionality" + :label_dmsf_plural: "Copy DMSF files and folders (%{files} files in %{folders} folders)" + + :warning_folder_already_locked: "This folder is already locked" + :notice_folder_locked: "The folder was successfully locked" + :warning_folder_not_locked: "Unfortunately, the folder could not be locked" + :notice_folder_unlocked: "The folder was successfully unlocked" + :error_only_user_that_locked_folder_can_unlock_it: "You are not authorised to unlock this folder" + :title_folder_parent_locked: "Parent folder %{name} is locked" + :title_file_parent_locked: "Parent folder %{name} is locked" + :title_unlock_folder: "Unlock to allow changes for other members" + :title_lock_folder: "Lock to prevent changes for other members" + + :select_option_webdav_readonly: "Read-only" + :select_option_webdav_readwrite: "Read/Write" + :label_webdav_strategy: "Webdav strategy" + :note_webdav_strategy: "Enables the administrator to decide if webdav is a read-only or read-write platform for end users." diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 7cd9de29..27c81c21 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -1,3 +1,4 @@ +# French translation for DMSF fr: :dmsf: "DMSF" :label_dmsf_file_plural: "Fichiers DMSF" @@ -207,4 +208,3 @@ fr: :select_option_webdav_readwrite: "Lecture/Ecriture" :label_webdav_strategy: "Accès Webdav" :note_webdav_strategy: "Permet à l'administrateur d'autoriser les utilisateurs au module Webdav en letcure seule ou en lecture et écriture." - diff --git a/config/locales/ja.yml b/config/locales/ja.yml index bb87fb68..8e69e1b4 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -1,3 +1,4 @@ +# Japanese translation for DMSF ja: :dmsf: "DMSF" :label_dmsf_file_plural: "Dmsf ファイル" @@ -163,6 +164,7 @@ ja: :heading_access_downloads_emails: "ダウンロード/電子メール" :heading_access_first: "初回アクセス" :heading_access_last: "最終アクセス" + :label_dmsf_updated: "DMSF updated" :title_total_size_of_all_files: "このフォルダにある全ファイルの合計サイズ" :project_module_dmsf: "DMSF" :warning_no_project_to_copy_file_to: "ファイルをコピーするプロジェクトがありません" @@ -172,9 +174,7 @@ ja: :label_target_project: "ターゲットプロジェクト" :label_target_folder: "ターゲットフォルダ" :title_copy_or_move: "コピー/移動" - :label_dmsf_folder_plural: "Dmsf フォルダ" - -#Not translated + :label_dmsf_folder_plural: "Dmsf フォルダ" :comment_moved_from: "%{source} から移動しました" :error_target_folder_same: "コピー/移動先のフォルダとプロジェクトが現在と同じです" :error_file_cannot_be_moved: "ファイルを移動できません" @@ -183,4 +183,30 @@ ja: :title_copy: "コピー" :error_folder_cannot_be_copied: "フォルダをコピーできません" :notice_folder_copied: "フォルダをコピーしました" - \ No newline at end of file + +# Not translated + + :error_max_email_filesize_exceeded: "You've exceeded the maximum filesize for sending via email. (%{number} MB)" + :note_maximum_email_filesize: "Limits maximum filesize that can be sent via email. 0 means unlimited. Number is in MB." + :label_maximum_email_filesize: "Maximum email attachment size" + :header_minimum_filesize: "File Error." + :error_minimum_filesize: "The file %{file} is 0 bytes and will not be attached." + :parent_directory: "Parent Directory" + :note_webdav: "Webdav once enabled can be found at http://.../dmsf/webdav/" + :label_webdav: "Webdav functionality" + :label_dmsf_plural: "Copy DMSF files and folders (%{files} files in %{folders} folders)" + + :warning_folder_already_locked: "This folder is already locked" + :notice_folder_locked: "The folder was successfully locked" + :warning_folder_not_locked: "Unfortunately, the folder could not be locked" + :notice_folder_unlocked: "The folder was successfully unlocked" + :error_only_user_that_locked_folder_can_unlock_it: "You are not authorised to unlock this folder" + :title_folder_parent_locked: "Parent folder %{name} is locked" + :title_file_parent_locked: "Parent folder %{name} is locked" + :title_unlock_folder: "Unlock to allow changes for other members" + :title_lock_folder: "Lock to prevent changes for other members" + + :select_option_webdav_readonly: "Read-only" + :select_option_webdav_readwrite: "Read/Write" + :label_webdav_strategy: "Webdav strategy" + :note_webdav_strategy: "Enables the administrator to decide if webdav is a read-only or read-write platform for end users." diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 1694c33b..0adb0fcb 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -1,3 +1,4 @@ +# Russian translation for DMSF ru: :dmsf: "DMSF" :label_dmsf_file_plural: "Файлы DMSF" diff --git a/config/locales/zh.yml b/config/locales/zh.yml index d9754216..6f17acd3 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1,4 +1,4 @@ -# For Simplified Chinese +# Chinese translation for DMSF zh: :dmsf: "文档管家" :label_dmsf_file_plural: "Dmsf files" @@ -167,8 +167,9 @@ zh: :label_dmsf_updated: "DMSF updated" :title_total_size_of_all_files: "文件夹所有文件总大小" :project_module_dmsf: "文档管家" - -# Not translated + +# Not translated + :warning_no_project_to_copy_file_to: "No project to copy file to" :comment_copied_from: "Copied from %{source}" :notice_file_copied: "File copied" @@ -185,4 +186,29 @@ zh: :title_copy: "Copy" :error_folder_cannot_be_copied: "Folder can't be copied" :notice_folder_copied: "Folder copied" + + :error_max_email_filesize_exceeded: "You've exceeded the maximum filesize for sending via email. (%{number} MB)" + :note_maximum_email_filesize: "Limits maximum filesize that can be sent via email. 0 means unlimited. Number is in MB." + :label_maximum_email_filesize: "Maximum email attachment size" + :header_minimum_filesize: "File Error." + :error_minimum_filesize: "The file %{file} is 0 bytes and will not be attached." + :parent_directory: "Parent Directory" + :note_webdav: "Webdav once enabled can be found at http://.../dmsf/webdav/" + :label_webdav: "Webdav functionality" + :label_dmsf_plural: "Copy DMSF files and folders (%{files} files in %{folders} folders)" + + :warning_folder_already_locked: "This folder is already locked" + :notice_folder_locked: "The folder was successfully locked" + :warning_folder_not_locked: "Unfortunately, the folder could not be locked" + :notice_folder_unlocked: "The folder was successfully unlocked" + :error_only_user_that_locked_folder_can_unlock_it: "You are not authorised to unlock this folder" + :title_folder_parent_locked: "Parent folder %{name} is locked" + :title_file_parent_locked: "Parent folder %{name} is locked" + :title_unlock_folder: "Unlock to allow changes for other members" + :title_lock_folder: "Lock to prevent changes for other members" + + :select_option_webdav_readonly: "Read-only" + :select_option_webdav_readwrite: "Read/Write" + :label_webdav_strategy: "Webdav strategy" + :note_webdav_strategy: "Enables the administrator to decide if webdav is a read-only or read-write platform for end users." \ No newline at end of file From cf6620b01f5407a713f56572deb240db2ba7be42 Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Fri, 1 Mar 2013 15:27:07 +0100 Subject: [PATCH 3/3] Czech localization updated --- config/locales/cs.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/locales/cs.yml b/config/locales/cs.yml index d311103f..5b37f2bd 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -187,12 +187,12 @@ cs: :note_maximum_email_filesize: "Omezí se maximální velikost souboru, který může být poslán emailem. 0 znamená neomezený. Číslo je v MB." :label_maximum_email_filesize: "Maximální velikost souboru emailu" - :header_minimum_filesize: "File Error." - :error_minimum_filesize: "The file %{file} is 0 bytes and will not be attached." - :parent_directory: "Parent Directory" - :note_webdav: "Webdav once enabled can be found at http://.../dmsf/webdav/" - :label_webdav: "Webdav functionality" - :label_dmsf_plural: "Copy DMSF files and folders (%{files} files in %{folders} folders)" + :header_minimum_filesize: "Chyba souboru." + :error_minimum_filesize: "Soubor %{file} má nulovou velikost a nebude přiložen." + :parent_directory: "Nadřazený adresář" + :note_webdav: "Webdav je po založení k dispozici na http://.../dmsf/webdav/" + :label_webdav: "Webdav functionalita" + :label_dmsf_plural: "Kopíruj DMSF soubory a složky (%{files} souborů v %{folders} složkách)" :warning_folder_already_locked: "Tato složka je již zamčená" :notice_folder_locked: "Složka byla úspěšně zamčena"