redmine_apijs 6.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +2 -0
- data/LICENSE +339 -0
- data/README +74 -0
- data/app/controllers/apijs_controller.rb +326 -0
- data/app/views/application/_browser.html.erb +45 -0
- data/app/views/attachments/_links.html.erb +146 -0
- data/app/views/settings/_apijs.html.erb +256 -0
- data/assets/fonts/apijs/config.json +130 -0
- data/assets/fonts/apijs/fontello.woff +0 -0
- data/assets/fonts/apijs/fontello.woff2 +0 -0
- data/assets/images/apijs/player-black-200.png +0 -0
- data/assets/images/apijs/player-black-400.png +0 -0
- data/assets/images/apijs/player-white-200.png +0 -0
- data/assets/images/apijs/player-white-400.png +0 -0
- data/assets/images/apijs/tv.gif +0 -0
- data/assets/javascripts/apijs-redmine.min.js +7 -0
- data/assets/javascripts/apijs.min.js +7 -0
- data/assets/javascripts/app.js +224 -0
- data/assets/stylesheets/apijs-print.min.css +8 -0
- data/assets/stylesheets/apijs-redmine-rtl.min.css +8 -0
- data/assets/stylesheets/apijs-redmine.min.css +8 -0
- data/assets/stylesheets/apijs-screen-rtl.min.css +8 -0
- data/assets/stylesheets/apijs-screen.min.css +8 -0
- data/assets/stylesheets/styles.css +73 -0
- data/config/locales/cs.yml +30 -0
- data/config/locales/de.yml +30 -0
- data/config/locales/en.yml +30 -0
- data/config/locales/es.yml +30 -0
- data/config/locales/fr.yml +30 -0
- data/config/locales/it.yml +30 -0
- data/config/locales/ja.yml +30 -0
- data/config/locales/nl.yml +30 -0
- data/config/locales/pl.yml +30 -0
- data/config/locales/pt-BR.yml +30 -0
- data/config/locales/pt.yml +30 -0
- data/config/locales/ru.yml +30 -0
- data/config/locales/sk.yml +30 -0
- data/config/locales/tr.yml +30 -0
- data/config/locales/zh.yml +30 -0
- data/config/routes.rb +86 -0
- data/init.rb +69 -0
- data/lib/apijs_attachment.rb +252 -0
- data/lib/apijs_const.rb +35 -0
- data/lib/apijs_files.rb +55 -0
- data/lib/image.py +201 -0
- data/lib/redmine_apijs.rb +46 -0
- data/lib/useragentparser.rb +175 -0
- data/lib/video.py +78 -0
- data/redmine_apijs.gemspec +69 -0
- metadata +94 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
es:
|
2
|
+
apijs_browser_warning: "<strong>Atención:</strong> su navegador <strong>%{n} %{v}</strong> es obsoleto, por favor <a %{l}>actualice su navegador</a>."
|
3
|
+
apijs_title_album: "Galería de fotográfias"
|
4
|
+
apijs_title_download: "Descargar (%{v})"
|
5
|
+
apijs_title_files: "Listar archivos"
|
6
|
+
apijs_config_apijs: "General"
|
7
|
+
apijs_config_enable: "Activar apijs"
|
8
|
+
apijs_example1_title: "Manual de PHP"
|
9
|
+
apijs_example1_text: "Es importante tener en cuenta que si el correo es aceptado para su envío, no quiere decir que el correo haya alcanzado el destino indicado."
|
10
|
+
apijs_example: "Ejemplo %{v}"
|
11
|
+
apijs_example2_title: "¡Sorpresa!"
|
12
|
+
apijs_example2_text: "Está viendo este vídeo que no tiene una extensión reconocible gracias a la etiqueta del [em]vídeo[/em] incluida en el lenguaje [strong]HTML 5[/strong]."
|
13
|
+
apijs_example2_link: "Sitio Web: %{v}"
|
14
|
+
apijs_config_sort_order: "Ordenar archivos alfabéticamente"
|
15
|
+
apijs_config_browser: "Comprobar la versión del navegador"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (verifica incluso si el apijs esta desactivado)."
|
17
|
+
permission_edit_attachments: "(apijs) Editar descripción de archivos"
|
18
|
+
permission_delete_attachments: "(apijs) Borrar los archivos"
|
19
|
+
apijs_config_directories: "Tamaño de las carpetas"
|
20
|
+
apijs_config_album: "Álbumes de fotografías"
|
21
|
+
apijs_config_show_album: "Mostrar los álbumes"
|
22
|
+
apijs_config_show_album_infos: "Mostrar todas las informaciones"
|
23
|
+
apijs_config_show_filename: "Mostrar el nombre en el diaporama"
|
24
|
+
apijs_config_show_exifdate: "Mostrar la fecha en el diaporama"
|
25
|
+
apijs_config_mimetypes: "Utilizar los siguientes archivos"
|
26
|
+
apijs_config_album_exclude_name: "Excluir las fotos del álbum<br />cuyo nombre comienza con"
|
27
|
+
apijs_config_album_exclude_desc: "Excluir las fotos del álbum<br />cuya descripción comienza con"
|
28
|
+
apijs_config_create_all: "Generar las tres imágenes"
|
29
|
+
apijs_config_create_all_info: "Genera las miniaturas y la vista previa al mismo tiempo, esto ralentiza la primera visualización de la página, pero acelera la primera visualización del diaporama."
|
30
|
+
apijs_config_programs: "Versión de los programas"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
fr:
|
2
|
+
apijs_browser_warning: "<strong>Attention :</strong> votre navigateur <strong>%{n} %{v}</strong> n'est plus à jour, veuillez <a %{l}>mettre à jour votre navigateur</a>."
|
3
|
+
apijs_title_album: "Galerie photos"
|
4
|
+
apijs_title_download: "Télécharger (%{v})"
|
5
|
+
apijs_title_files: "Liste des fichiers"
|
6
|
+
apijs_config_apijs: "Général"
|
7
|
+
apijs_config_enable: "Activer l'apijs"
|
8
|
+
apijs_example1_title: "Manuel PHP"
|
9
|
+
apijs_example1_text: "Il est important de noter que ce n'est pas parce que l'email a été accepté pour livraison, qu'il arrivera à destination."
|
10
|
+
apijs_example: "Exemple %{v}"
|
11
|
+
apijs_example2_title: "Surprise !"
|
12
|
+
apijs_example2_text: "Vous regardez cette vidéo sans extension propriétaire grâce à la nouvelle balise [em]video[/em] intégrée dans le langage [strong]HTML 5[/strong]."
|
13
|
+
apijs_example2_link: "Site internet : %{v}"
|
14
|
+
apijs_config_sort_order: "Trier les fichiers par ordre alphabétique"
|
15
|
+
apijs_config_browser: "Vérifier la version du navigateur"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (vérifie même si l'apijs est désactivé)."
|
17
|
+
permission_edit_attachments: "(apijs) Modifier la description des fichiers"
|
18
|
+
permission_delete_attachments: "(apijs) Supprimer les fichiers"
|
19
|
+
apijs_config_directories: "Taille des dossiers"
|
20
|
+
apijs_config_album: "Albums photos"
|
21
|
+
apijs_config_show_album: "Afficher les albums"
|
22
|
+
apijs_config_show_album_infos: "Afficher toutes les informations"
|
23
|
+
apijs_config_show_filename: "Afficher le nom dans le diaporama"
|
24
|
+
apijs_config_show_exifdate: "Afficher la date dans le diaporama"
|
25
|
+
apijs_config_mimetypes: "Utiliser les fichiers suivants"
|
26
|
+
apijs_config_album_exclude_name: "Exclure les photos de l'album<br />dont le nom commence par"
|
27
|
+
apijs_config_album_exclude_desc: "Exclure les photos de l'album<br />dont la description commence par"
|
28
|
+
apijs_config_create_all: "Générer les trois images"
|
29
|
+
apijs_config_create_all_info: "Génère les miniatures et l'image d'aperçu en même temps, cela ralentit le premier affichage de la page, mais accélère le premier affichage du diaporama."
|
30
|
+
apijs_config_programs: "Version des programmes"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
it:
|
2
|
+
apijs_browser_warning: "<strong>Attenzione:</strong> il vostro browser <strong>%{n} %{v}</strong> è obsoleto, vi preghiamo di <a %{l}>aggiornare il vostro browser</a>."
|
3
|
+
apijs_title_album: "Galleria fotografica"
|
4
|
+
apijs_title_download: "Scaricare (%{v})"
|
5
|
+
apijs_title_files: "Lista dei file"
|
6
|
+
apijs_config_apijs: "Generale"
|
7
|
+
apijs_config_enable: "Attivare l'apijs"
|
8
|
+
apijs_example1_title: "Manuale PHP"
|
9
|
+
apijs_example1_text: "È importante notare che il fatto che la mail sia stata accettata, non significa che arriverà a destinazione."
|
10
|
+
apijs_example: "Esempio %{v}"
|
11
|
+
apijs_example2_title: "Sorpresa!"
|
12
|
+
apijs_example2_text: "State guardando questo video senza estensione proprietario grazie al nuovo tag [em]video[/em] integrato nel linguaggio [strong]HTML 5[/strong]."
|
13
|
+
apijs_example2_link: "Sito internet: %{v}"
|
14
|
+
apijs_config_sort_order: "Ordinare i file in ordine alfabetico"
|
15
|
+
apijs_config_browser: "Verificare la versione del browser"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (verificare se l'apijs é disattivato)."
|
17
|
+
permission_edit_attachments: "(apijs) Modificare la descrizione dei file"
|
18
|
+
permission_delete_attachments: "(apijs) Eliminare i file"
|
19
|
+
apijs_config_directories: "Dimensione file"
|
20
|
+
apijs_config_album: "Album fotografico"
|
21
|
+
apijs_config_show_album: "Visualizzare l'album"
|
22
|
+
apijs_config_show_album_infos: "Visualizzare tutte le informazioni"
|
23
|
+
apijs_config_show_filename: "Visualizzare il nome nella slide"
|
24
|
+
apijs_config_show_exifdate: "Visualizzare la data nella slide"
|
25
|
+
apijs_config_mimetypes: "Utilizzare i seguenti file"
|
26
|
+
apijs_config_album_exclude_name: "Escludere dall'album le foto<br />il cui nome comincia per"
|
27
|
+
apijs_config_album_exclude_desc: "Escludere dall'album le foto<br />la cui descrizione comicia per"
|
28
|
+
apijs_config_create_all: "Generate the three images"
|
29
|
+
apijs_config_create_all_info: "Genera la miniatura e l'immagine di antemprima allo stesso tempo, questo rallenta la visualizzazione della pagina ma accelera la prima visualizzazione del diaporama"
|
30
|
+
apijs_config_programs: "Versione dei programmi"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
ja:
|
2
|
+
apijs_browser_warning: "<strong>Warning:</strong> your browser <strong>%{n} %{v}</strong> is outdated, please <a %{l}>upgrade your browser</a>."
|
3
|
+
apijs_title_album: "Photo gallery"
|
4
|
+
apijs_title_download: "ダウンロード(%{v})"
|
5
|
+
apijs_title_files: "Files list"
|
6
|
+
apijs_config_apijs: "全般"
|
7
|
+
apijs_config_enable: "Enable apijs"
|
8
|
+
apijs_example1_title: "PHP マニュアル"
|
9
|
+
apijs_example1_text: "メールの配送が受け入れられたかどうかが基準であることに注意しましょう。メールが実際にあて先に届いたかどうかでは「ありません」。"
|
10
|
+
apijs_example: "例%{v}"
|
11
|
+
apijs_example2_title: "Surprise!"
|
12
|
+
apijs_example2_text: "You are watching this video without proprietary extension thanks to the new [em]video[/em] tag included in the [strong]HTML 5[/strong] language."
|
13
|
+
apijs_example2_link: "ウェブサイト:%{v}"
|
14
|
+
apijs_config_sort_order: "Sort files alphabetically"
|
15
|
+
apijs_config_browser: "Check browser version"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (checks even if the apijs is disabled)."
|
17
|
+
permission_edit_attachments: "(apijs) Edit files description"
|
18
|
+
permission_delete_attachments: "(apijs) Remove files"
|
19
|
+
apijs_config_directories: "Directories size"
|
20
|
+
apijs_config_album: "Photo albums"
|
21
|
+
apijs_config_show_album: "Display albums"
|
22
|
+
apijs_config_show_album_infos: "Display all information"
|
23
|
+
apijs_config_show_filename: "Display the name in the slide show"
|
24
|
+
apijs_config_show_exifdate: "Display the date in the slide show"
|
25
|
+
apijs_config_mimetypes: "Use the following files"
|
26
|
+
apijs_config_album_exclude_name: "Exclude photos from album<br />whose name begins with"
|
27
|
+
apijs_config_album_exclude_desc: "Exclude photos from album<br />whose description begins with"
|
28
|
+
apijs_config_create_all: "Generate the three images"
|
29
|
+
apijs_config_create_all_info: "Generates thumbnails and image preview at the same time, it slows the first display, but accelerates the first display of the slide show."
|
30
|
+
apijs_config_programs: "Programs version"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
nl:
|
2
|
+
apijs_browser_warning: "<strong>Warning:</strong> your browser <strong>%{n} %{v}</strong> is outdated, please <a %{l}>upgrade your browser</a>."
|
3
|
+
apijs_title_album: "Photo gallery"
|
4
|
+
apijs_title_download: "Download (%{v})"
|
5
|
+
apijs_title_files: "Files list"
|
6
|
+
apijs_config_apijs: "Algemeen"
|
7
|
+
apijs_config_enable: "Enable apijs"
|
8
|
+
apijs_example1_title: "PHP manual"
|
9
|
+
apijs_example1_text: "It is important to note that just because the mail was accepted for delivery, it doesn't mean the mail will actually reach the intended destination."
|
10
|
+
apijs_example: "Voorbeeld %{v}"
|
11
|
+
apijs_example2_title: "Surprise!"
|
12
|
+
apijs_example2_text: "You are watching this video without proprietary extension thanks to the new [em]video[/em] tag included in the [strong]HTML 5[/strong] language."
|
13
|
+
apijs_example2_link: "Website: %{v}"
|
14
|
+
apijs_config_sort_order: "Sort files alphabetically"
|
15
|
+
apijs_config_browser: "Check browser version"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (checks even if the apijs is disabled)."
|
17
|
+
permission_edit_attachments: "(apijs) Edit files description"
|
18
|
+
permission_delete_attachments: "(apijs) Remove files"
|
19
|
+
apijs_config_directories: "Directories size"
|
20
|
+
apijs_config_album: "Photo albums"
|
21
|
+
apijs_config_show_album: "Display albums"
|
22
|
+
apijs_config_show_album_infos: "Display all information"
|
23
|
+
apijs_config_show_filename: "Display the name in the slide show"
|
24
|
+
apijs_config_show_exifdate: "Display the date in the slide show"
|
25
|
+
apijs_config_mimetypes: "Use the following files"
|
26
|
+
apijs_config_album_exclude_name: "Exclude photos from album<br />whose name begins with"
|
27
|
+
apijs_config_album_exclude_desc: "Exclude photos from album<br />whose description begins with"
|
28
|
+
apijs_config_create_all: "Generate the three images"
|
29
|
+
apijs_config_create_all_info: "Generates thumbnails and image preview at the same time, it slows the first display, but accelerates the first display of the slide show."
|
30
|
+
apijs_config_programs: "Programs version"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
pl:
|
2
|
+
apijs_browser_warning: "<strong>Warning:</strong> your browser <strong>%{n} %{v}</strong> is outdated, please <a %{l}>upgrade your browser</a>."
|
3
|
+
apijs_title_album: "Photo gallery"
|
4
|
+
apijs_title_download: "Pobierz (%{v})"
|
5
|
+
apijs_title_files: "Files list"
|
6
|
+
apijs_config_apijs: "Ogólne"
|
7
|
+
apijs_config_enable: "Enable apijs"
|
8
|
+
apijs_example1_title: "Podręcznik PHP"
|
9
|
+
apijs_example1_text: "Ważną informacją jest to, że pomimo iż e-mail został zaakceptowany do wysłania, to nie oznacza, że będzie on już w tej chwili wysyłany do odbiorców."
|
10
|
+
apijs_example: "Przykład %{v}"
|
11
|
+
apijs_example2_title: "Surprise!"
|
12
|
+
apijs_example2_text: "You are watching this video without proprietary extension thanks to the new [em]video[/em] tag included in the [strong]HTML 5[/strong] language."
|
13
|
+
apijs_example2_link: "Witryna: %{v}"
|
14
|
+
apijs_config_sort_order: "Sort files alphabetically"
|
15
|
+
apijs_config_browser: "Check browser version"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (checks even if the apijs is disabled)."
|
17
|
+
permission_edit_attachments: "(apijs) Edit files description"
|
18
|
+
permission_delete_attachments: "(apijs) Remove files"
|
19
|
+
apijs_config_directories: "Directories size"
|
20
|
+
apijs_config_album: "Photo albums"
|
21
|
+
apijs_config_show_album: "Display albums"
|
22
|
+
apijs_config_show_album_infos: "Display all information"
|
23
|
+
apijs_config_show_filename: "Display the name in the slide show"
|
24
|
+
apijs_config_show_exifdate: "Display the date in the slide show"
|
25
|
+
apijs_config_mimetypes: "Use the following files"
|
26
|
+
apijs_config_album_exclude_name: "Exclude photos from album<br />whose name begins with"
|
27
|
+
apijs_config_album_exclude_desc: "Exclude photos from album<br />whose description begins with"
|
28
|
+
apijs_config_create_all: "Generate the three images"
|
29
|
+
apijs_config_create_all_info: "Generates thumbnails and image preview at the same time, it slows the first display, but accelerates the first display of the slide show."
|
30
|
+
apijs_config_programs: "Programs version"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
pt-BR:
|
2
|
+
apijs_browser_warning: "<strong>Warning:</strong> your browser <strong>%{n} %{v}</strong> is outdated, please <a %{l}>upgrade your browser</a>."
|
3
|
+
apijs_title_album: "Photo gallery"
|
4
|
+
apijs_title_download: "Baixar (%{v})"
|
5
|
+
apijs_title_files: "Files list"
|
6
|
+
apijs_config_apijs: "Geral"
|
7
|
+
apijs_config_enable: "Enable apijs"
|
8
|
+
apijs_example1_title: "Manual do PHP"
|
9
|
+
apijs_example1_text: "É importante notar que somente pelo o e-mail ser aceito para entrega, não significa que o e-mail alcancará o destino esperado."
|
10
|
+
apijs_example: "Exemplo %{v}"
|
11
|
+
apijs_example2_title: "Surprise!"
|
12
|
+
apijs_example2_text: "You are watching this video without proprietary extension thanks to the new [em]video[/em] tag included in the [strong]HTML 5[/strong] language."
|
13
|
+
apijs_example2_link: "Sítio Web: %{v}"
|
14
|
+
apijs_config_sort_order: "Sort files alphabetically"
|
15
|
+
apijs_config_browser: "Check browser version"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (checks even if the apijs is disabled)."
|
17
|
+
permission_edit_attachments: "(apijs) Edit files description"
|
18
|
+
permission_delete_attachments: "(apijs) Remove files"
|
19
|
+
apijs_config_directories: "Directories size"
|
20
|
+
apijs_config_album: "Photo albums"
|
21
|
+
apijs_config_show_album: "Display albums"
|
22
|
+
apijs_config_show_album_infos: "Display all information"
|
23
|
+
apijs_config_show_filename: "Display the name in the slide show"
|
24
|
+
apijs_config_show_exifdate: "Display the date in the slide show"
|
25
|
+
apijs_config_mimetypes: "Use the following files"
|
26
|
+
apijs_config_album_exclude_name: "Exclude photos from album<br />whose name begins with"
|
27
|
+
apijs_config_album_exclude_desc: "Exclude photos from album<br />whose description begins with"
|
28
|
+
apijs_config_create_all: "Generate the three images"
|
29
|
+
apijs_config_create_all_info: "Generates thumbnails and image preview at the same time, it slows the first display, but accelerates the first display of the slide show."
|
30
|
+
apijs_config_programs: "Programs version"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
pt:
|
2
|
+
apijs_browser_warning: "<strong>Cuidado:</strong> o seu navegador <strong>%{n} %{v}</strong> está desatualizado, por favor <a %{l}>atualize o seu navegador</a>."
|
3
|
+
apijs_title_album: "Galeria de fotos"
|
4
|
+
apijs_title_download: "Descarregar (%{v})"
|
5
|
+
apijs_title_files: "Lista dos ficheiros"
|
6
|
+
apijs_config_apijs: "Geral"
|
7
|
+
apijs_config_enable: "Ativar apijs"
|
8
|
+
apijs_example1_title: "Manual do PHP"
|
9
|
+
apijs_example1_text: "É importante notar que somente pelo o e-mail ser aceito para entrega, não significa que o e-mail alcancará o destino esperado."
|
10
|
+
apijs_example: "Exemplo %{v}"
|
11
|
+
apijs_example2_title: "Surpresa!"
|
12
|
+
apijs_example2_text: "Está a ver este vídeo sem extensão proprietário graças ao novo marcador [em]video[/em] integrado no linguagem [strong]HTML 5[/strong]."
|
13
|
+
apijs_example2_link: "Sítio Web: %{v}"
|
14
|
+
apijs_config_sort_order: "Ordenar os ficheiros por ordem alfabética"
|
15
|
+
apijs_config_browser: "Verificar a versão do navegador"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (verifica mesmo que apijs esteja desativado)."
|
17
|
+
permission_edit_attachments: "(apijs) Modificar a descrição dos ficheiros"
|
18
|
+
permission_delete_attachments: "(apijs) Suprimir os ficheiros"
|
19
|
+
apijs_config_directories: "Tamanho dos diretórios"
|
20
|
+
apijs_config_album: "Álbuns de fotos"
|
21
|
+
apijs_config_show_album: "Afixar os álbuns"
|
22
|
+
apijs_config_show_album_infos: "Afixar todas as informações"
|
23
|
+
apijs_config_show_filename: "Afixar o nome no diaporama"
|
24
|
+
apijs_config_show_exifdate: "Afixar a data no diaporama"
|
25
|
+
apijs_config_mimetypes: "Usar os ficheiros seguintes"
|
26
|
+
apijs_config_album_exclude_name: "Excluir as fotos do álbum<br />cujo nome começa por"
|
27
|
+
apijs_config_album_exclude_desc: "Excluir as fotos do álbum<br />cuja descrição começa por"
|
28
|
+
apijs_config_create_all: "Generate the three images"
|
29
|
+
apijs_config_create_all_info: "Gera a miniatura e a imagem de pré-visualização ao mesmo tempo, isto retarda a primeira visualização da página, mas acelera a primeira visualização do diaporama."
|
30
|
+
apijs_config_programs: "Versão dos programas"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
ru:
|
2
|
+
apijs_browser_warning: "<strong>Warning:</strong> your browser <strong>%{n} %{v}</strong> is outdated, please <a %{l}>upgrade your browser</a>."
|
3
|
+
apijs_title_album: "Фото галлерея"
|
4
|
+
apijs_title_download: "Скачать (%{v})"
|
5
|
+
apijs_title_files: "Список файлов"
|
6
|
+
apijs_config_apijs: "Основная"
|
7
|
+
apijs_config_enable: "Включить apijs"
|
8
|
+
apijs_example1_title: "Руководство по PHP"
|
9
|
+
apijs_example1_text: "Важно заметить, что то что письмо было принято для передачи вовсе не означает что оно достигло получателя."
|
10
|
+
apijs_example: "Пример %{v}"
|
11
|
+
apijs_example2_title: "Сюрприз!"
|
12
|
+
apijs_example2_text: "Смотрите видео без проприетарного расширения благодаря новому тегу [em]video[/em] включенному в состав [strong]HTML 5[/strong]."
|
13
|
+
apijs_example2_link: "Вебсайт: %{v}"
|
14
|
+
apijs_config_sort_order: "Сортировать файлы в алфавитном порядке"
|
15
|
+
apijs_config_browser: "Check browser version"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (checks even if the apijs is disabled)."
|
17
|
+
permission_edit_attachments: "(apijs) Редактировать описание файла"
|
18
|
+
permission_delete_attachments: "(apijs) Удалить файлы"
|
19
|
+
apijs_config_directories: "Directories size"
|
20
|
+
apijs_config_album: "Фото альбомы"
|
21
|
+
apijs_config_show_album: "Отображать фото альбомы"
|
22
|
+
apijs_config_show_album_infos: "Display all information"
|
23
|
+
apijs_config_show_filename: "Отображать названия фото"
|
24
|
+
apijs_config_show_exifdate: "Отображать дату фото"
|
25
|
+
apijs_config_mimetypes: "Use the following files"
|
26
|
+
apijs_config_album_exclude_name: "Исключить фото из альбома<br />если название начинается с"
|
27
|
+
apijs_config_album_exclude_desc: "Исключить фото из альбома<br />если описание начинается с"
|
28
|
+
apijs_config_create_all: "Generate the three images"
|
29
|
+
apijs_config_create_all_info: "Генерация одновременно миниатюры и предварительного просмотра замедляет первое отображение страницы, но ускоряет отображение слайд шоу."
|
30
|
+
apijs_config_programs: "Версия программ"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
sk:
|
2
|
+
apijs_browser_warning: "<strong>Warning:</strong> your browser <strong>%{n} %{v}</strong> is outdated, please <a %{l}>upgrade your browser</a>."
|
3
|
+
apijs_title_album: "Photo gallery"
|
4
|
+
apijs_title_download: "Prevziať (%{v})"
|
5
|
+
apijs_title_files: "Files list"
|
6
|
+
apijs_config_apijs: "Všeobecné"
|
7
|
+
apijs_config_enable: "Enable apijs"
|
8
|
+
apijs_example1_title: "PHP manual"
|
9
|
+
apijs_example1_text: "It is important to note that just because the mail was accepted for delivery, it doesn't mean the mail will actually reach the intended destination."
|
10
|
+
apijs_example: "Example %{v}"
|
11
|
+
apijs_example2_title: "Surprise!"
|
12
|
+
apijs_example2_text: "You are watching this video without proprietary extension thanks to the new [em]video[/em] tag included in the [strong]HTML 5[/strong] language."
|
13
|
+
apijs_example2_link: "Webstránka: %{v}"
|
14
|
+
apijs_config_sort_order: "Sort files alphabetically"
|
15
|
+
apijs_config_browser: "Check browser version"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (checks even if the apijs is disabled)."
|
17
|
+
permission_edit_attachments: "(apijs) Edit files description"
|
18
|
+
permission_delete_attachments: "(apijs) Remove files"
|
19
|
+
apijs_config_directories: "Directories size"
|
20
|
+
apijs_config_album: "Photo albums"
|
21
|
+
apijs_config_show_album: "Display albums"
|
22
|
+
apijs_config_show_album_infos: "Display all information"
|
23
|
+
apijs_config_show_filename: "Display the name in the slide show"
|
24
|
+
apijs_config_show_exifdate: "Display the date in the slide show"
|
25
|
+
apijs_config_mimetypes: "Use the following files"
|
26
|
+
apijs_config_album_exclude_name: "Exclude photos from album<br />whose name begins with"
|
27
|
+
apijs_config_album_exclude_desc: "Exclude photos from album<br />whose description begins with"
|
28
|
+
apijs_config_create_all: "Generate the three images"
|
29
|
+
apijs_config_create_all_info: "Generates thumbnails and image preview at the same time, it slows the first display, but accelerates the first display of the slide show."
|
30
|
+
apijs_config_programs: "Programs version"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
tr:
|
2
|
+
apijs_browser_warning: "<strong>Warning:</strong> your browser <strong>%{n} %{v}</strong> is outdated, please <a %{l}>upgrade your browser</a>."
|
3
|
+
apijs_title_album: "Fotoğraf Galerisi"
|
4
|
+
apijs_title_download: "İndir (%{v})"
|
5
|
+
apijs_title_files: "Eklenti listesi"
|
6
|
+
apijs_config_apijs: "Genel"
|
7
|
+
apijs_config_enable: "Apijs etkinleştir"
|
8
|
+
apijs_example1_title: "PHP Kılavuzu"
|
9
|
+
apijs_example1_text: "Yalnız şuna dikkat edin : Epostanın sunucu tarafından teslim alınması, epostanın alıcısına ulaştığı anlamına gelmez."
|
10
|
+
apijs_example: "Örnek %{v}"
|
11
|
+
apijs_example2_title: "Surprise!"
|
12
|
+
apijs_example2_text: "You are watching this video without proprietary extension thanks to the new [em]video[/em] tag included in the [strong]HTML 5[/strong] language."
|
13
|
+
apijs_example2_link: "Web sitesi : %{v}"
|
14
|
+
apijs_config_sort_order: "Eklentileri alfabetik olarak sırala"
|
15
|
+
apijs_config_browser: "Check browser version"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (checks even if the apijs is disabled)."
|
17
|
+
permission_edit_attachments: "(apijs) Eklenti açıklamalarını düzenle"
|
18
|
+
permission_delete_attachments: "(apijs) Eklenti Sil"
|
19
|
+
apijs_config_directories: "Directories size"
|
20
|
+
apijs_config_album: "Fotoğraf Albümü"
|
21
|
+
apijs_config_show_album: "Fotoğraf albümünü görüntüle"
|
22
|
+
apijs_config_show_album_infos: "Display all information"
|
23
|
+
apijs_config_show_filename: "Fotoğraf adını göster"
|
24
|
+
apijs_config_show_exifdate: "Fotoğraf tarihini göster"
|
25
|
+
apijs_config_mimetypes: "Use the following files"
|
26
|
+
apijs_config_album_exclude_name: "Fotoğraf isimleri bununla<br />başlayanları hariç tur"
|
27
|
+
apijs_config_album_exclude_desc: "Fotoğraf açıklamaları bunlarla<br />başlayanları hariç tut"
|
28
|
+
apijs_config_create_all: "Generate the three images"
|
29
|
+
apijs_config_create_all_info: "Simge görüntüsünü ve ön görünümü aynı anda oluşturmak sayfayı ilk görüntülemeyi yavaşlatır fakat slayt gösterisini hızlandırır."
|
30
|
+
apijs_config_programs: "Program versiyonu"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
zh:
|
2
|
+
apijs_browser_warning: "<strong>Warning:</strong> your browser <strong>%{n} %{v}</strong> is outdated, please <a %{l}>upgrade your browser</a>."
|
3
|
+
apijs_title_album: "照片库"
|
4
|
+
apijs_title_download: "下载(%{v})"
|
5
|
+
apijs_title_files: "文件列表"
|
6
|
+
apijs_config_apijs: "一般"
|
7
|
+
apijs_config_enable: "启用 apijs"
|
8
|
+
apijs_example1_title: "PHP手册"
|
9
|
+
apijs_example1_text: "值得注意的是,邮件发送完成并不意味着邮件将实际到达预定的目的地。"
|
10
|
+
apijs_example: "Example %{v}"
|
11
|
+
apijs_example2_title: "惊喜!"
|
12
|
+
apijs_example2_text: "由于[strong]HTML 5 语言[/strong]中包含的全新的[em]视频[/em]标签,因此您无需安装扩展功能即可查看此视频。"
|
13
|
+
apijs_example2_link: "网站:%{v}"
|
14
|
+
apijs_config_sort_order: "按字母顺序排序文件"
|
15
|
+
apijs_config_browser: "Check browser version"
|
16
|
+
apijs_config_browser_help: "Firefox 36+, Chrome 31+, Opera 19+, Edge 16+, Safari 9+ (checks even if the apijs is disabled)."
|
17
|
+
permission_edit_attachments: "(apijs) 编辑文件说明"
|
18
|
+
permission_delete_attachments: "(apijs) 删除文件"
|
19
|
+
apijs_config_directories: "Directories size"
|
20
|
+
apijs_config_album: "相册"
|
21
|
+
apijs_config_show_album: "显示相册"
|
22
|
+
apijs_config_show_album_infos: "显示所有信息"
|
23
|
+
apijs_config_show_filename: "在幻灯片放映中显示名称"
|
24
|
+
apijs_config_show_exifdate: "在幻灯片放映中显示日期"
|
25
|
+
apijs_config_mimetypes: "使用以下文件"
|
26
|
+
apijs_config_album_exclude_name: "从相册中排除照片<br />以「...」开头的相片"
|
27
|
+
apijs_config_album_exclude_desc: "从相册中排除照片<br />以「...」开头的相片"
|
28
|
+
apijs_config_create_all: "Generate the three images"
|
29
|
+
apijs_config_create_all_info: "同时生成缩略图和图像预览,它会减慢第一个显示,但会加速幻灯片放映的第一次显示。"
|
30
|
+
apijs_config_programs: "版本"
|
data/config/routes.rb
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Created J/12/12/2013
|
3
|
+
# Updated D/10/05/2020
|
4
|
+
#
|
5
|
+
# Copyright 2008-2020 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
|
6
|
+
# https://www.luigifab.fr/redmine/apijs
|
7
|
+
#
|
8
|
+
# This program is free software, you can redistribute it or modify
|
9
|
+
# it under the terms of the GNU General Public License (GPL) as published
|
10
|
+
# by the free software foundation, either version 2 of the license, or
|
11
|
+
# (at your option) any later version.
|
12
|
+
#
|
13
|
+
# This program is distributed in the hope that it will be useful,
|
14
|
+
# but without any warranty, without even the implied warranty of
|
15
|
+
# merchantability or fitness for a particular purpose. See the
|
16
|
+
# GNU General Public License (GPL) for more details.
|
17
|
+
|
18
|
+
if Redmine::VERSION::MAJOR >= 2
|
19
|
+
RedmineApp::Application.routes.draw do
|
20
|
+
|
21
|
+
match 'apijs/thumb/:id/:filename', to: 'apijs#thumb',
|
22
|
+
id: /\d+/, filename: /.*/, via: :get
|
23
|
+
|
24
|
+
match 'apijs/srcset/:id/:filename', to: 'apijs#srcset',
|
25
|
+
id: /\d+/, filename: /.*/, via: :get
|
26
|
+
|
27
|
+
match 'apijs/show/:id/:filename', to: 'apijs#show',
|
28
|
+
id: /\d+/, filename: /.*/, via: :get
|
29
|
+
|
30
|
+
match 'apijs/download/:id/:filename', to: 'apijs#download',
|
31
|
+
id: /\d+/, filename: /.*/, via: :get
|
32
|
+
|
33
|
+
match 'apijs/download/:inline/:id/:filename', to: 'apijs#download',
|
34
|
+
inline: 'inline', id: /\d+/, filename: /.*/, via: :get
|
35
|
+
|
36
|
+
match 'attachments/download/:id', to: 'apijs#download',
|
37
|
+
id: /\d+/, via: :get
|
38
|
+
|
39
|
+
match 'apijs/editdesc', to: 'apijs#editdesc',
|
40
|
+
via: :post
|
41
|
+
|
42
|
+
match 'apijs/delete', to: 'apijs#delete',
|
43
|
+
via: :get
|
44
|
+
end
|
45
|
+
else
|
46
|
+
ActionController::Routing::Routes.draw do |map|
|
47
|
+
|
48
|
+
map.connect 'apijs/thumb/:id/:filename',
|
49
|
+
controller: 'apijs', action: 'thumb',
|
50
|
+
id: /\d+/, filename: /.*/,
|
51
|
+
conditions: {method: :get}
|
52
|
+
|
53
|
+
map.connect 'apijs/srcset/:id/:filename',
|
54
|
+
controller: 'apijs', action: 'srcset',
|
55
|
+
id: /\d+/, filename: /.*/,
|
56
|
+
conditions: {method: :get}
|
57
|
+
|
58
|
+
map.connect 'apijs/show/:id/:filename',
|
59
|
+
controller: 'apijs', action: 'show',
|
60
|
+
id: /\d+/, filename: /.*/,
|
61
|
+
conditions: {method: :get}
|
62
|
+
|
63
|
+
map.connect 'apijs/download/:id/:filename',
|
64
|
+
controller: 'apijs', action: 'download',
|
65
|
+
id: /\d+/, filename: /.*/,
|
66
|
+
conditions: {method: :get}
|
67
|
+
|
68
|
+
map.connect 'apijs/download/:inline/:id/:filename',
|
69
|
+
controller: 'apijs', action: 'download',
|
70
|
+
inline: 'inline', id: /\d+/, filename: /.*/,
|
71
|
+
conditions: {method: :get}
|
72
|
+
|
73
|
+
map.connect 'attachments/download/:id',
|
74
|
+
controller: 'apijs', action: 'download',
|
75
|
+
id: /\d+/,
|
76
|
+
conditions: {method: :get}
|
77
|
+
|
78
|
+
map.connect 'apijs/editdesc',
|
79
|
+
controller: 'apijs', action: 'editdesc',
|
80
|
+
conditions: {method: :post}
|
81
|
+
|
82
|
+
map.connect 'apijs/delete',
|
83
|
+
controller: 'apijs', action: 'delete',
|
84
|
+
conditions: {method: :get}
|
85
|
+
end
|
86
|
+
end
|