diff --git a/app/views/settings/_dmsf_settings.html.erb b/app/views/settings/_dmsf_settings.html.erb index 1e784699..a6ec48af 100644 --- a/app/views/settings/_dmsf_settings.html.erb +++ b/app/views/settings/_dmsf_settings.html.erb @@ -2,7 +2,7 @@ # # Copyright (C) 2011 Vít Jonáš # Copyright (C) 2012 Daniel Munn -# Copyright (C) 2011-14 Karel Picman +# Copyright (C) 2011-15 Karel Picman # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -117,7 +117,7 @@ :selected => @settings['dmsf_webdav'])) %>
(<%= l(:label_default) %>: <%= l(:select_option_activated) %>)
- <%= l(:note_webdav).html_safe %> + <%= l(:note_webdav, :protocol => Setting.protocol, :domain => Setting.host_name).html_safe %>

<% if @settings['dmsf_webdav'].nil? || !@settings['dmsf_webdav'].empty? %> diff --git a/config/locales/cs.yml b/config/locales/cs.yml index 68f8f220..b2af508a 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -207,7 +207,7 @@ cs: 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/" + note_webdav: "Webdav je po aktivaci k dispozici na %{protocol}://%{domain}/dmsf/webdav/[identifikátor projektu]" label_webdav: Webdav functionalita label_dmsf_plural: "Kopíruj dokumenty a složky (%{files} souborů v %{folders} složkách)" diff --git a/config/locales/de.yml b/config/locales/de.yml index 89e4b6f0..42709756 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -207,7 +207,7 @@ de: header_minimum_filesize: Dateifehler wegen minimaler Dateigröße. 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." + note_webdav: "Nach der Aktivierung von WebDav kann der Dienst über die URL %{protocol}://%{domain}/dmsf/webdav/[project identifier] erreicht werden." label_webdav: Webdav Funktionalität label_dmsf_plural: "Kopieren von Dateien und Ordnern (%{files} Dateien in %{folders} Ordnern)" diff --git a/config/locales/en.yml b/config/locales/en.yml index d9555d78..7ffcb80c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -207,7 +207,7 @@ en: 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/ + note_webdav: "Webdav once enabled can be found at %{protocol}://%{domain}/dmsf/webdav/[project identifier]" label_webdav: Webdav functionality label_dmsf_plural: "Copy Documents and folders (%{files} files in %{folders} folders)" diff --git a/config/locales/es.yml b/config/locales/es.yml index c183d11e..7e7d4fce 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -207,7 +207,7 @@ es: header_minimum_filesize: Error en archivo. error_minimum_filesize: "El archivo %{file} tiene 0 bytes de tamaño y no será adjuntado." parent_directory: Directorio padre - note_webdav: Si Webdav está habilitado, se puede encontrar en http://.../dmsf/webdav/ + note_webdav: "Si Webdav está habilitado, se puede encontrar en %{protocol}://%{domain}/dmsf/webdav/[project identifier]" label_webdav: Funcionalidad Webdav label_dmsf_plural: "Copiar archivos y directorios (%{files} archivos en %{folders} directorios)" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 03a5e1a4..f70d2df3 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -207,7 +207,7 @@ fr: header_minimum_filesize: Erreur de fichier. error_minimum_filesize: "Le fichier %{file} est vide. Il ne sera pas transmis." parent_directory: Dossier parent - note_webdav: "Après l'activation du module Webdav, celui-ci sera accessible par http://.../dmsf/webdav/" + note_webdav: "Après l'activation du module Webdav, celui-ci sera accessible par %{protocol}://%{domain}/dmsf/webdav/[project identifier]" label_webdav: Module Webdav label_dmsf_plural: "Copier les fichiers et les dossiers (%{files} fichiers dans %{folders} dossiers)" diff --git a/config/locales/ja.yml b/config/locales/ja.yml index b1cb870e..c356fa46 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -208,7 +208,7 @@ ja: header_minimum_filesize: "ファイルエラー" error_minimum_filesize: " %{file} のサイズは0バイトのため添付することはできません。" parent_directory: "親ディレクトリ" - note_webdav: "Webdavを有効にすると http[s]://.../dmsf/webdav/ で閲覧することができます" + note_webdav: "Webdavを有効にすると %{protocol}://%{domain}/dmsf/webdav/[project identifier] で閲覧することができます" label_webdav: "Webdav機能" label_dmsf_plural: "ファイルとフォルダをコピーします (%{files} files in %{folders} folders)" diff --git a/config/locales/pl.yml b/config/locales/pl.yml index dbea1855..0173bc46 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -208,7 +208,7 @@ pl: header_minimum_filesize: Błąd pliku. error_minimum_filesize: "Plik %{file} ma 0 bytes i nie zostanie załączony." parent_directory: Folder nadrzędny - note_webdav: Webdav once enabled can be found at http://.../dmsf/webdav/ + note_webdav: "Webdav once enabled can be found at %{protocol}://%{domain}/dmsf/webdav/[project identifier]" label_webdav: Webdav functionality label_dmsf_plural: "Skopiuj pliki i foldery (%{files} plików w %{folders} folderach)" diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index 2b41e2ae..f2246365 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -207,7 +207,7 @@ pt-BR: 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/ + note_webdav: "Webdav once enabled can be found at %{protocol}://%{domain}/dmsf/webdav/[project identifier]" label_webdav: Webdav functionality label_dmsf_plural: "Copy DMSF files and folders (%{files} files in %{folders} folders)" diff --git a/config/locales/ru.yml b/config/locales/ru.yml index ddb9b129..287f4817 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -207,7 +207,7 @@ ru: header_minimum_filesize: "Ошибка файла." error_minimum_filesize: "Файла %{file} является пустым и он не будет прикреплен." parent_directory: "Родительская директория" - note_webdav: "После включения, WebDAV можно найти по адресу http://redmine-host/dmsf/webdav/" + note_webdav: "После включения, WebDAV можно найти по адресу %{protocol}://%{domain}/dmsf/webdav/[project identifier]" label_webdav: "Функциональность WebDAV" label_dmsf_plural: "Скопировать файлы и папки (%{files} файлов в %{folders} папках)" diff --git a/config/locales/sl.yml b/config/locales/sl.yml index 1e7b84e4..367448a6 100644 --- a/config/locales/sl.yml +++ b/config/locales/sl.yml @@ -207,7 +207,7 @@ sl: header_minimum_filesize: Datotečna napaka. error_minimum_filesize: "Datoteka %{file} je 0 bytov in ne bo pripeta." parent_directory: Nadrejena mapa - note_webdav: "Webdav po vklopu lahko najdete na http://.../dmsf/webdav/" + note_webdav: "Webdav po vklopu lahko najdete na %{protocol}://%{domain}/dmsf/webdav/[project identifier]" label_webdav: Webdav delovanje label_dmsf_plural: "Kopiraj Arhivske datoteke in mape (%{files} datoteke v %{folders} mape)" diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index 0813357c..0048307d 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -207,7 +207,7 @@ zh-TW: header_minimum_filesize: 檔案錯誤 error_minimum_filesize: "這個檔案 %{file} 為空。無法被附加。" parent_directory: 上層目錄 - note_webdav: "Webdav 啟用後,可在下列網址被找到: http://.../dmsf/webdav/" + note_webdav: "Webdav 啟用後,可在下列網址被找到: %{protocol}://%{domain}/dmsf/webdav/[project identifier]" label_webdav: Webdav功能 label_dmsf_plural: "複制文件總管的檔案和資料夾。 ( 資料夾: %{folders} 檔案: %{files} )" diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 61363220..1b19ddba 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -207,7 +207,7 @@ zh: 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/ + note_webdav: "Webdav once enabled can be found at %{protocol}://%{domain}/dmsf/webdav/[project identifier]" label_webdav: Webdav functionality label_dmsf_plural: "Copy documents and folders (%{files} files in %{folders} folders)"