diff --git a/app/views/admin/resources/_pages.html.erb b/app/views/admin/resources/_pages.html.erb deleted file mode 100644 index b65baa642a..0000000000 --- a/app/views/admin/resources/_pages.html.erb +++ /dev/null @@ -1,3 +0,0 @@ - <%= link_to <%= _("Previous page"), { :id => pages.current.previous } if pages.current.previous -%> - <%= pagination_links pages, :name => 'id' -%> - <%= link_to _("Next page"), { :id => pages.current.next } if pages.current.next -%> diff --git a/app/views/admin/resources/_resource_list.html.erb b/app/views/admin/resources/_resource_list.html.erb deleted file mode 100644 index d2d56426f7..0000000000 --- a/app/views/admin/resources/_resource_list.html.erb +++ /dev/null @@ -1,20 +0,0 @@ -<%= render_void_table(@resources.size, 6) %> -<% for upload in @resources -%> -
<%= resource_action_links(upload) %>
-<%= _("Filename")%> (<%= _('right-click for link')%>) | -<%= _("Content Type")%> | -<%= _("File Size")%> | -<%= _("Date")%> | +<%= t(".filename")%> (<%= t('.right_click_for_link')%>) | +<%= t(".content_type")%> | +<%= t(".file_size")%> | +<%= t(".date")%> |
---|---|---|---|---|---|---|---|
+ <% if upload.mime =~ /image/ %>
+ <%= link_to upload.upload_url, rel: 'lightbox' do %>
+ <%= image_tag(upload.upload.thumb.url) %>
+ <% end %>
+ <% else %>
+ <%= link_to(upload.upload_url, upload.upload_url) -%>
+ <% end %>
+ <%= resource_action_links(upload) %> + |
+ + <%= upload.mime %> + | +<%=h upload.size rescue 0 -%> bytes | +<%= format_date upload.created_at -%> | +
noindex, follow
meta tags in every category page, removing them from search engines and preventing duplicate content issues", ""
- l.store "Do not index tags", ""
- l.store "Checking this box will add noindex, follow
meta tags in every tags page, removing them from search engines and preventing duplicate content issues", ""
- l.store "Robots.txt", ""
- l.store "You robots.txt file is not writeable. Publify won't be able to write it", ""
- l.store "Use dofollow in comments", ""
- l.store "Use canonical URL", ""
- l.store "Read more about %s", ""
- l.store "Google", ""
- l.store "Google Analytics", ""
- l.store "Google Webmaster Tools validation link", ""
- l.store "Custom tracking code", ""
- l.store "Global settings", ""
- l.store "This will display", ""
- l.store "at the bottom of each post in the RSS feed", ""
- l.store "Here you can add anything you want to appear in your application header, such as analytics service tracking code.", ""
-
# app/views/admin/seo/titles.html.erb
l.store "The blog's name", ""
l.store "The blog's tagline / description", ""
diff --git a/lang/fr_FR.rb b/lang/fr_FR.rb
index 94a860f518..63126f8c62 100644
--- a/lang/fr_FR.rb
+++ b/lang/fr_FR.rb
@@ -165,25 +165,14 @@
l.store "Previous page", "Page précédente"
l.store "Next page", "Page suivante"
- # app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "Envoyer un fichier sur votre site"
- l.store "Upload", "Ajouter un fichier joint"
- l.store "Media Library", "Bibliothèque de média"
-
# app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "Êtes-vous certain de vouloir supprimer ce fichier"
l.store "Delete this file from the webserver?", "Supprimer complètement ce fichier du site ?"
l.store "File Uploads", "Ajout de fichiers"
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "Fichier"
- l.store "Content Type", "Type de contenu"
- l.store "File Size", "Taille du fichier"
l.store "Thumbnail", "Miniatures"
l.store "Medium size", "Taille moyenne"
l.store "Original size", "Fichier original"
l.store "Files", "Fichiers"
- l.store "right-click for link", "clic droit pour le lien"
l.store "Browse", "Parcourir"
# app/views/admin/seo/index.html.erb
diff --git a/lang/he_IL.rb b/lang/he_IL.rb
index bfe1b00b10..559e6a395f 100644
--- a/lang/he_IL.rb
+++ b/lang/he_IL.rb
@@ -160,25 +160,12 @@
l.store "Pages", "דפים"
l.store "Are you sure you want to delete the page", "האם אתה בטוח שברצונך למחוק דף זה ?"
l.store "Delete this page", "מחק דף זה"
- l.store "Content Type", "סוג התוכן"
l.store "Previous page", "הדף הקודם"
l.store "Next page", "הדף הבא"
-
- # app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "העלה קובץ לאתר שלך"
l.store "File", "קובץ"
- l.store "Upload", "העלה"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "האם אתה בטוח שברצונך למחוק קובץ זה ?"
l.store "Delete this file from the webserver?", "למחוק קובץ זה מהשרת"
l.store "File Uploads", "העלאות קבצים"
- l.store "File Size", "גודל הקובץ"
- l.store "right-click for link", "לחיצה ימנית לקישור"
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "שם הקובץ"
- l.store "Browse", ""
# app/views/admin/seo/index.html.erb
l.store "SEO", ""
@@ -210,7 +197,6 @@
l.store "Publify offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.", ""
l.store "Here are some examples to get you started.", ""
l.store "Permalink format", ""
- l.store "Date and title", ""
l.store "Month and title", ""
l.store "Title only", ""
l.store "You can custom your URL structure using the following tags:", ""
@@ -231,10 +217,8 @@
l.store "Replaced with the category/tag name", ""
l.store "Replaced with the current search phrase", ""
l.store "Replaced with the current time", ""
- l.store "Replaced with the current date", ""
l.store "Replaced with the current month", ""
l.store "Replaced with the current year", ""
- l.store "Replaced by the archive date", ""
# app/views/admin/settings/_submit.html.erb
l.store "Update settings", ""
diff --git a/lang/it_IT.rb b/lang/it_IT.rb
index bb468a4bcd..fb6942110a 100644
--- a/lang/it_IT.rb
+++ b/lang/it_IT.rb
@@ -131,30 +131,14 @@
l.store "Delete this page", "Elimina questa pagina"
# app/views/admin/resources/_mime_edit.html.erb
- l.store "Content Type", "Tipo di contenuto"
l.store "Previous page", "Pagina precedente"
l.store "Next page", "Pagina successiva"
-
- # app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "Invia un file al tuo sito"
l.store "File", "File"
- l.store "Upload", "Invia"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "Sei sicuro di voler eliminare questo file"
l.store "Delete this file from the webserver?", "Eliminare questo file dal webserver ?"
l.store "File Uploads", "Invia file"
- # app/views/admin/resources/images.html.erb
- l.store "Thumbnail", ""
- l.store "File Size", "Dimensione"
- l.store "right-click for link", "clicca col destro per il link"
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "Nome del file"
- l.store "Browse", ""
-
# app/views/admin/seo/index.html.erb
l.store "SEO", ""
l.store "Global SEO settings", ""
@@ -185,7 +169,6 @@
l.store "Description template", ""
l.store "Paginated archives", ""
- l.store "Dated archives", ""
l.store "The blog's name", ""
l.store "The blog's tagline / description", ""
l.store "Replaced with the category/tag name", ""
diff --git a/lang/ja_JP.rb b/lang/ja_JP.rb
index 191db5494a..acc11082e7 100644
--- a/lang/ja_JP.rb
+++ b/lang/ja_JP.rb
@@ -117,32 +117,14 @@
l.store "Pages","ページ"
l.store "Are you sure you want to delete the page", "本当にこのページを削除してよろしいですか?"
l.store "Delete this page", "このページを削除"
-
- # app/views/admin/profiles/index.html.erb
l.store "Your profile", "あなたのプロフィール"
-
- # app/views/admin/resources/_mime_edit.html.erb
- l.store "Content Type", "コンテンツタイプ"
l.store "Previous page", "前のページ"
l.store "Next page", "次のページ"
-
- # app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "サイトにファイルをアップロード"
l.store "File", "ファイル"
- l.store "Upload", "アップロード"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "本当にこのファイルを削除してよろしいですか?"
l.store "Delete this file from the webserver?", "webサーバーからこのファイルを削除しますか?"
l.store "File Uploads", "ファイルアップロード"
- l.store "File Size", "ファイルサイズ"
- l.store "right-click for link", "右クリックでリンク"
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "ファイル名"
- l.store "Browse", ""
-
# app/views/admin/seo/index.html.erb
l.store "SEO", ""
l.store "Global SEO settings", ""
@@ -169,7 +151,6 @@
# app/views/admin/seo/permalinks.html.erb
l.store "Here are some examples to get you started.", ""
- l.store "Date and title", ""
l.store "Month and title", ""
l.store "Title only", ""
l.store "your article slug. Using this slug is mandatory.", ""
@@ -185,7 +166,6 @@
l.store "Description template", ""
l.store "Articles", ""
l.store "Paginated archives", ""
- l.store "Dated archives", ""
l.store "Search results", ""
l.store "Help on title settings", ""
l.store "The blog's tagline / description", ""
diff --git a/lang/lt_LT.rb b/lang/lt_LT.rb
index 7ad043f268..871ef6179e 100644
--- a/lang/lt_LT.rb
+++ b/lang/lt_LT.rb
@@ -80,31 +80,13 @@
l.store "Pages","Seiten"
l.store "Are you sure you want to delete the page", "Sind Sie sicher, diese Seite zu löschen"
l.store "Delete this page", "Diese Seite löschen"
-
- # app/views/admin/profiles/index.html.erb
l.store "Your profile", ""
-
l.store "Previous page", "Buvęs puslapis" # reikia kitaip kazkaip
l.store "Next page", "Sekantis puslapis"
-
- # app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "Legen Sie einen Dateianhang an ihrer Site an"
- l.store "File", ""
- l.store "Upload", "Upload"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "Sind Sie sicher, diese Datei zu löschen"
l.store "Delete this file from the webserver?", "Diese Datei vom Webserver löschen?"
l.store "File Uploads", "Dateianhänge"
- l.store "Thumbnail", ""
- l.store "File Size", "Dateigröße"
- l.store "right-click for link", ""
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "Dateiname"
- l.store "Browse", ""
-
# app/views/admin/seo/index.html.erb
l.store "SEO", ""
l.store "Global SEO settings", ""
diff --git a/lang/nb_NO.rb b/lang/nb_NO.rb
index a8024f79f1..473e0d8f9e 100644
--- a/lang/nb_NO.rb
+++ b/lang/nb_NO.rb
@@ -222,32 +222,16 @@
l.store "New Redirect", "Ny omdirigering"
l.store "From", "Fra"
l.store "To", "Til"
-
- # app/views/admin/redirects/new.html.erb
l.store "%s Redirect", "%s omdirigering"
-
l.store "Previous page", "Forrige side"
l.store "Next page", "Neste side"
-
- # app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "Last opp en fil til siden din"
l.store "File", "Fil"
- l.store "Upload", "Last opp"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "Er du sikker på du vil slette denne filen"
l.store "Delete this file from the webserver?", "Slett denne filen fra webtjeneren?"
l.store "File Uploads", "Opplastede filer"
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "Filnavn"
- l.store "Content Type", "Innholdstype (Content Type)"
- l.store "File Size", "Filstørrelse"
l.store "Thumbnail", "Thumbnail"
l.store "Medium size", "Mellomstor"
l.store "Original size", "Opprinnelig størrelse"
- l.store "right-click for link", "høyreklikk for lenke"
- l.store "Browse", ""
# app/views/admin/seo/index.html.erb
l.store "General settings", "Generelle innstillinger"
@@ -371,7 +355,6 @@
l.store "Latitude, Longitude", "Breddegrad, lengdegrad"
l.store "your latitude and longitude", "din breddegrad og lengdegrad"
l.store "example", "for eksempel"
- l.store "Media", ""
l.store "Image thumbnail size", "Liten bildestørrelse"
l.store "Image medium size", "Mellomstor bildestørrelse"
l.store "Write", "Skriv"
diff --git a/lang/nl_NL.rb b/lang/nl_NL.rb
index da37418b9e..f963ddc2cf 100644
--- a/lang/nl_NL.rb
+++ b/lang/nl_NL.rb
@@ -202,30 +202,14 @@
l.store "Are you sure you want to delete the page", "Weet je zeker dat je deze pagina wilt verwijderen"
l.store "Delete this page", "Verwijder deze pagina"
l.store "Your profile", "Je profiel"
- l.store "Content Type", "Content Type"
l.store "Previous page", "Vorige pagina"
l.store "Next page", "Volgende pagina"
-
- # app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "Upload een bestand naar je site"
l.store "File", "Bestand"
- l.store "Upload", "Upload"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "Weet je zeker dat je dit bestand wilt verwijderen?"
l.store "Delete this file from the webserver?", "Verwijder dit bestand van de webserver?"
l.store "File Uploads", "Bestand Uploads"
-
l.store "Thumbnail", "Voorafbeelding"
- l.store "File Size", "Bestandsgrootte"
- l.store "right-click for link", "rechts-klikken voor link"
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "Bestandsnaam"
- l.store "Browse", ""
-
- # app/views/admin/seo/index.html.erb
l.store "SEO", ""
l.store "Global SEO settings", ""
l.store "Titles", ""
diff --git a/lang/pl_PL.rb b/lang/pl_PL.rb
index c256d9d998..6ea4f1e6f4 100644
--- a/lang/pl_PL.rb
+++ b/lang/pl_PL.rb
@@ -137,29 +137,16 @@
l.store "Your profile", ""
# app/views/admin/resources/_mime_edit.html.erb
- l.store "Content Type", "Typ treści"
l.store "Previous page", "Poprzednia strona"
l.store "Next page", "Następna strona"
# app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "Wyślij plik na swój blog"
l.store "File", "Plik"
- l.store "Upload", "Wyślij"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "Czy na pewno chcesz skasować ten plik"
l.store "Delete this file from the webserver?", "Skasować ten plik z serwera?"
l.store "File Uploads", "Wysłane pliki"
- l.store "Thumbnail", ""
- l.store "File Size", "Rozmiar pliku"
- l.store "right-click for link", "Kliknij PPM by uzyskać łącze"
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "Nazwa pliku"
- l.store "Browse", ""
-
# app/views/admin/seo/index.html.erb
l.store "SEO", ""
l.store "Global SEO settings", ""
@@ -199,10 +186,8 @@
l.store "Replaced with the category/tag name", ""
l.store "Replaced with the current search phrase", ""
l.store "Replaced with the current time", ""
- l.store "Replaced with the current date", ""
l.store "Replaced with the current month", ""
l.store "Replaced with the current year", ""
- l.store "Replaced by the archive date", ""
# app/views/admin/settings/_submit.html.erb
l.store "Update settings", ""
diff --git a/lang/pt_BR.rb b/lang/pt_BR.rb
index 04518ec9a9..995412fd06 100644
--- a/lang/pt_BR.rb
+++ b/lang/pt_BR.rb
@@ -171,32 +171,12 @@
# app/views/admin/profiles/index.html.erb
l.store "Your profile", ""
-
- # app/views/admin/resources/_mime_edit.html.erb
- l.store "Content Type", "Content Type"
-
- # app/views/admin/resources/_pages.html.erb
l.store "Previous page", "Página anterior"
l.store "Next page", "Página siguiente"
-
- # app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "Sube un Archivo a tu sitio"
- l.store "File", ""
- l.store "Upload", "Subir"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "¿Estás seguro que deseas eliminar este archivo?"
l.store "Delete this file from the webserver?", "¿Eliminar este archivo del servidor?"
l.store "File Uploads", "Archivos subidos"
- l.store "Thumbnail", ""
- l.store "File Size", "Tamaño del Archivo"
- l.store "right-click for link", ""
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "Nombre del archivo"
- l.store "Browse", ""
-
# app/views/admin/seo/index.html.erb
l.store "SEO", ""
l.store "Global SEO settings", ""
diff --git a/lang/ro_RO.rb b/lang/ro_RO.rb
index 2ff645f8f1..5960cb0cb9 100644
--- a/lang/ro_RO.rb
+++ b/lang/ro_RO.rb
@@ -61,28 +61,14 @@
l.store "Pages","Pagini"
l.store "Are you sure you want to delete the page", "Ești sigur că dorești să ștergi această pagină"
l.store "Delete this page", "Șterge această pagină"
- l.store "Content Type", "Tip de conținut (content type)"
l.store "Previous page", "Pagina anterioară"
l.store "Next page", "Pagina următoare"
- l.store "Upload a File to your Site", "Încarcă un fișier în site"
- l.store "Upload", "Încarcă"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "Ești sigur că dorești să ștergi acest fișier"
l.store "Delete this file from the webserver?", "Ștergi acest fișier de pe server?"
l.store "File Uploads", "Încărcări de fișiere"
-
- l.store "Thumbnail", ""
- l.store "File Size", "Dimensiunea fișierului"
- l.store "right-click for link", ""
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "Nume de fișier"
l.store "Browse", ""
l.store "Displays links to monthly archives", ""
l.store "Displays a list of authors ordered by name with links to their articles and profile", ""
- l.store "Livesearch", ""
- l.store "Adds livesearch to your Publify blog", ""
l.store "This widget just displays links to Publify main site, this blog's admin and RSS.", ""
l.store "Show pages for this blog", ""
l.store "Static", ""
diff --git a/lang/zh_CN.rb b/lang/zh_CN.rb
index af5e63f67b..f15814210c 100644
--- a/lang/zh_CN.rb
+++ b/lang/zh_CN.rb
@@ -178,32 +178,13 @@
l.store "Pages","页数"
l.store "Are you sure you want to delete the page", "你確定要刪除此頁?"
l.store "Delete this page", "刪除此頁"
- l.store "Content Type", "內容類型"
-
- # app/views/admin/resources/_pages.html.erb
l.store "Previous page", "前一頁"
l.store "Next page", "下一頁"
-
- # app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "上傳一個檔案到你的網點"
l.store "File", "檔案"
- l.store "Upload", "上傳"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "你確定要刪除此檔案?"
l.store "Delete this file from the webserver?", "從網路伺服器刪除此檔案?"
l.store "File Uploads", "檔案上載"
- # app/views/admin/resources/images.html.erb
- l.store "Thumbnail", ""
- l.store "File Size", "檔案大小"
- l.store "Images", ""
- l.store "right-click for link", "右鍵連結"
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "檔案名稱"
- l.store "Browse", ""
-
# app/views/admin/seo/index.html.erb
l.store "SEO", ""
l.store "Global SEO settings", ""
@@ -236,11 +217,9 @@
l.store "Replaced with the category/tag name", ""
l.store "Replaced with the current search phrase", ""
l.store "Replaced with the current time", ""
- l.store "Replaced with the current date", ""
l.store "Replaced with the current month", ""
l.store "Replaced with the current year", ""
l.store "Replaced with the current page number", ""
- l.store "Replaced by the archive date", ""
l.store "Enable comments by default", "預設為可以回應"
l.store "Enable Trackbacks by default", "預設為可以引用"
l.store "Enable feedback moderation", "適度可以反饋"
diff --git a/lang/zh_TW.rb b/lang/zh_TW.rb
index 48d5d90474..a7e3222acd 100644
--- a/lang/zh_TW.rb
+++ b/lang/zh_TW.rb
@@ -103,29 +103,12 @@
# app/views/admin/profiles/index.html.erb
l.store "Your profile", ""
- # app/views/admin/resources/_mime_edit.html.erb
- l.store "Content Type", "內容類型"
-
- # app/views/admin/resources/_pages.html.erb
l.store "Previous page", "前一頁"
l.store "Next page", "下一頁"
-
- # app/views/admin/resources/_upload.html.erb
- l.store "Upload a File to your Site", "上傳一個檔案到你的網點"
l.store "File", "檔案"
- l.store "Upload", "上傳"
-
- # app/views/admin/resources/destroy.html.erb
l.store "Are you sure you want to delete this file", "你確定要刪除此檔案?"
l.store "Delete this file from the webserver?", "從網路伺服器刪除此檔案?"
l.store "File Uploads", "檔案上載"
-
- l.store "Thumbnail", ""
- l.store "File Size", "檔案大小"
- l.store "right-click for link", "右鍵連結"
-
- # app/views/admin/resources/index.html.erb
- l.store "Filename", "檔案名稱"
l.store "Browse", ""
# app/views/admin/seo/index.html.erb
@@ -171,11 +154,9 @@
l.store "Replaced with the category/tag name", ""
l.store "Replaced with the current search phrase", ""
l.store "Replaced with the current time", ""
- l.store "Replaced with the current date", ""
l.store "Replaced with the current month", ""
l.store "Replaced with the current year", ""
l.store "Replaced with the current page number", ""
- l.store "Replaced by the archive date", ""
l.store "Enable comments by default", "預設為可以回應"
l.store "Enable Trackbacks by default", "預設為可以引用"
l.store "Enable feedback moderation", "適度可以反饋"