Browse Source

Merge branch 'master' of https://github.com/danpros/htmly

pull/426/head
Stefan Björk 5 years ago
parent
commit
a4513058eb
6 changed files with 351 additions and 2 deletions
  1. +85
    -0
      lang/es.ini
  2. +86
    -0
      lang/it.ini
  3. +1
    -1
      lang/pl.ini
  4. +87
    -0
      lang/ru.ini
  5. +86
    -0
      lang/zh-tw.ini
  6. +6
    -1
      system/includes/functions.php

+ 85
- 0
lang/es.ini View File

@ -0,0 +1,85 @@
Add_category = "Añadir categoría"
Add_content = "Agregar contenido"
Add_sub = "Agregar sub categoría"
Admin = "Administración"
All_blog_posts = "Todas las publicaciones del blog"
Archives = "Archivo"
Are_you_sure_you_want_to_delete_ = "¿Está seguro de que desea eliminar <strong>% s </strong>?"
Audio_post = "Publicación de audio"
Audio_post_comment = "Creación de una publicación de blog con audio destacado"
Author = "Autor"
Backup = "Respaldo"
Cancel = "Cancelar"
Categories = "Categorías"
Category = "Categoría"
Clear_cache = "Limpiar cache"
Config = "Configuracion"
Contents = "Contenido"
Created = "Creado"
Delete = "Eliminar"
Description = "Descripción"
Draft = "Borrador"
Edit = "Editar"
Edit_profile = "Editar perfil"
Filename = "Nombre del archivo"
Follow = "Seguir"
Image_post = "Publicación de imagen"
Image_post_comment = "Crear publicación de blog con imagen destacada"
Import = "Importar"
Link_post = "Enlace de la Publicación"
Link_post_comment = "Creación de una publicación de blog con un enlace destacado"
Login = "Iniciar sesión"
Login_page = "Página de inicio de sesión"
Logout = "Cerrar sesión"
Meta_description = "Meta descripción"
Mine = "Mía"
More = "Más"
My_draft = "Mi borrador"
My_posts = "Mis publicaciones"
Newer = "Más nuevo"
Next = "Próximo"
Next_post = "Publicación siguiente"
No_draft_found = "No se encontró ningún borrador"
No_posts_found = "No se han encontrado publicaciones"
No_related_post_found = "No se encontró ninguna publicación relacionada"
Older = "Mayor"
Operations = "Operaciones"
Popular_posts = "Entradas populares"
Popular_tags = "Etiquetas Populares"
Posted_in = "Publicado en"
Posted_on = "Publicado en"
Posts = "Publicaciones"
Prev = "Antiguo"
Prev_post = "Publicación anterior"
Publish = "Publicar"
Publish_draft = "Publicar borrador"
Published = "Publicado"
Quote_post = "Publicación de cotización"
Quote_post_comment = "Crear publicación de blog con cita destacada"
Recent_posts = "Mensajes recientes"
Regular_post = "Correo ordinario"
Regular_post_comment = "Crear una publicación de blog regular"
Related_posts = "Artículos Relacionados"
Revert_to_draft = "Volver a borrador"
Save = "Salvar"
Save_as_draft = "Guardar como borrador"
Search = "Buscar"
Search_for = "Buscar"
Static_page = "Página estática"
Static_page_comment = "Creando página estática"
Static_pages = "Páginas estáticas"
Tag = "Etiqueta"
Tags = "Etiquetas"
Title = "Título"
Uncategorized = "Sin categorizar"
Uncategorized_comment = "Temas que no necesitan una categoría o que no encajan en ninguna otra categoría existente"
Update = "Actualizar"
Update_draft = "Actualizar borrador"
Update_post = "Actualizar publicación"
Video_post = "Publicación de video"
Video_post_comment = "Creación de una publicación de blog con video destacado"
View = "Ver"
Views = "Puntos de vista"
Your_recent_posts = "Tus publicaciones recientes"
by = "por"
read_more = "Lee mas"

+ 86
- 0
lang/it.ini View File

@ -0,0 +1,86 @@
About = "About"
Add_category = "Aggiungi categoria"
Add_content = "Aggiungi contenuto"
Add_sub = "Aggiungi sub"
Admin = "Admin"
All_blog_posts = "Tutti i post del blog"
Archives = "Archivi"
Are_you_sure_you_want_to_delete_ = "Sei sicuro di voler cancellare <strong>%s</strong>?"
Audio_post = "Post audio"
Audio_post_comment = "Crea un post del blog con un audio in evidenza"
Author = "Autore"
Backup = "Backup"
Cancel = "Cancella"
Categories = "Categorie"
Category = "Categoria"
Clear_cache = "Svuota la cache"
Config = "Configurazione"
Contents = "Contenuti"
Created = "Creato"
Delete = "Elimina"
Description = "Descrizione"
Draft = "Bozza"
Edit = "Modifica"
Edit_profile = "Modifica profilo"
Filename = "Nome del file"
Follow = "Segui"
Image_post = "Post immagine"
Image_post_comment = "Crea un post del blog con una immagine in evidenza"
Import = "Importa"
Link_post = "Post link"
Link_post_comment = "Crea un post del blog con un link in evidenza"
Login = "Login"
Login_page = "Pagina di login"
Logout = "Logout"
Meta_description = "Meta description"
Mine = "I miei contenuti"
More = "Leggi di più"
My_draft = "Le mie bozze"
My_posts = "I miei post"
Newer = "Ultimi"
Next = "Successivo"
Next_post = "Post successivo"
No_draft_found = "Nessuna bozza trovata"
No_posts_found = "Nessun post trovato"
No_related_post_found = "Nessun post correlato"
Older = "Più vecchi"
Operations = "Operazioni"
Popular_posts = "Post popolari"
Popular_tags = "Tag popolari"
Posted_in = "Postato in"
Posted_on = "Postato il"
Posts = "Post"
Prev = "Più vecchi"
Prev_post = "Post precedente"
Publish = "Pubblica"
Publish_draft = "Pubblica bozza"
Published = "Pubblicato"
Quote_post = "Post citazione"
Quote_post_comment = "Crea un post del blog con una citazione in evidenza"
Recent_posts = "Post recenti"
Regular_post = "Post semplice"
Regular_post_comment = "Crea un post semplice per il blog"
Related_posts = "Post correlati"
Revert_to_draft = "Trasforma in bozza"
Save = "Salva"
Save_as_draft = "salva come bozza"
Search = "Cerca"
Search_for = "Cerca"
Static_page = "Pagina statica"
Static_page_comment = "crea una pagina statica"
Static_pages = "Pagine statiche"
Tag = "Tag"
Tags = "Tag"
Title = "Titolo"
Uncategorized = "Senza categoria"
Uncategorized_comment = "Argomenti che non necessitano di una categoria, o che non si adattano a nessuna categoria esistente"
Update = "Aggiorna"
Update_draft = "Aggiorna bozza"
Update_post = "Aggiorna post"
Video_post = "Post video"
Video_post_comment = "Crea un post del blog con un video in evidenza"
View = "Vista"
Views = "Viste"
Your_recent_posts = "I tuoi post più recenti"
by = "di"
read_more = "leggi di più"

+ 1
- 1
lang/pl.ini View File

@ -14,7 +14,7 @@ Cancel = "Anuluj"
Categories = "Kategorie"
Category = "Kategoria"
Clear_cache = "Wyczyść pamięć podręczną"
Config = "Konfigóracja"
Config = "Konfiguracja"
Contents = "Zawartość"
Created = "Utworzono"
Delete = "Usuń"


+ 87
- 0
lang/ru.ini View File

@ -0,0 +1,87 @@
About = "О сайте"
Add_category = "Добавить категорию"
Add_content = "Добавить статью"
Add_sub = "Добавить подстраницу"
Admin = "Админ"
All_blog_posts = "Все статьи"
Archives = "Архивы"
Are_you_sure_you_want_to_delete_ = "Вы уверены, что хотите удалить <strong>%s</strong>?"
Audio_post = "Статья с аудио"
Audio_post_comment = "Создать статью с аудио"
Author = "Автор"
Backup = "Резервное копирование"
Cancel = "Отменить"
Categories = "Категории"
Category = "Категория"
Clear_cache = "Очистить кеш"
Config = "Конфигурация"
Contents = "Содержание"
Created = "Создано"
Delete = "Удалить"
Description = "Описание"
Draft = "Черновик"
Edit = "Редактировать"
Edit_profile = "Редактировать профиль"
Filename = "Имя файла"
Follow = "Следовать"
Image_post = "Статья с изображением"
Image_post_comment = "Создать статью с изображением"
Import = "Импорт"
Link_post = "Статья со ссылкой"
Link_post_comment = "Создать статью со ссылкой"
Login = "Войти"
Login_page = "Страница входа"
Logout = "Выйти"
Meta_description = "Мета-описание"
Mine = "Моё"
More = "Подробнее"
My_draft = "Мой черновик"
My_posts = "Мои статьи"
Newer = "Новое"
Next = "Вперед"
Next_post = "Следующая статья"
No_draft_found = "Черновики не найдены"
No_posts_found = "Статьи не найдены"
No_related_post_found = "Нет похожих статей."
No_newer_posts = "Нет новых статей"
Older = "Старое"
Operations = "Операции"
Popular_posts = "Популярные статьи"
Popular_tags = "Популярные теги"
Posted_in = "Опубликовано в"
Posted_on = "Опубликовано "
Posts = "Статьи"
Prev = "Назад"
Prev_post = "Предыдущая статья"
Publish = "Опубликовать"
Publish_draft = "Опубликовать черновик"
Published = "Опубликовано"
Quote_post = "Статья с цитатой"
Quote_post_comment = "Создать статью с цитатой"
Recent_posts = "Новые статьи"
Regular_post = "Стандартная статья"
Regular_post_comment = "Создать стандартную статью"
Related_posts = "Похожие статьи"
Revert_to_draft = "Переключить на черновик"
Save = "Сохранить"
Save_as_draft = "Сохранить как черновик"
Search = "Посик"
Search_for = "Искать"
Static_page = "Статичная страница"
Static_page_comment = "Создать статичную страницу"
Static_pages = "Статичные страницы"
Tag = "Тег"
Tags = "Теги"
Title = "Заголовок"
Uncategorized = "Без категории"
Uncategorized_comment = "Статьи, которым не нужна категория или которые не подходят ни к одной существующей категории."
Update = "Обновить"
Update_draft = "Обновить черновик"
Update_post = "Обновить статью"
Video_post = "Статья с видео"
Video_post_comment = "Создать статью с видео"
View = "Просмотр"
Views = "Просмотры"
Your_recent_posts = "Ваши недавние статьи"
by = ""
read_more = "Читать далее"

+ 86
- 0
lang/zh-tw.ini View File

@ -0,0 +1,86 @@
About = "關於"
Add_category = "增添分類"
Add_content = "增添內容"
Add_sub = "增添子項"
Admin = "管理"
All_blog_posts = "所有部落格文章"
Archives = "備存"
Are_you_sure_you_want_to_delete_ = "你確定你想要刪除 <strong>%s</strong> 嗎?"
Audio_post = "音樂文章"
Audio_post_comment = "以音樂為特色建立部落格文章中"
Author = "作者"
Backup = "備份"
Cancel = "取消"
Categories = "分類"
Category = "分類"
Clear_cache = "清除快取"
Config = "設置"
Contents = "內容"
Created = "已建立"
Delete = "刪除"
Description = "備註"
Draft = "草稿"
Edit = "編輯"
Edit_profile = "編輯個人資料"
Filename = "檔名"
Follow = "跟隨"
Image_post = "影像文章"
Image_post_comment = "Creating blog post with featured image"
Import = "匯入"
Link_post = "連結文章"
Link_post_comment = "Creating blog post with featured link"
Login = "登入"
Login_page = "登入頁面"
Logout = "登出"
Meta_description = "Meta 備註"
Mine = "Mine"
More = "更多"
My_draft = "我的草稿"
My_posts = "我的文章"
Newer = "較新的"
Next = "下一個"
Next_post = "下一篇文章"
No_draft_found = "找不到草稿"
No_posts_found = "找不到文章"
No_related_post_found = "找不到相關文章"
Older = "較舊的"
Operations = "操作"
Popular_posts = "受歡迎文章"
Popular_tags = "受歡迎標籤"
Posted_in = "發文在"
Posted_on = "發文於"
Posts = "文章"
Prev = "舊"
Prev_post = "前一篇文章"
Publish = "發布"
Publish_draft = "發布草稿"
Published = "已發布"
Quote_post = "語錄文章"
Quote_post_comment = "Creating blog post with featured quote"
Recent_posts = "最近貼文"
Regular_post = "一般文章"
Regular_post_comment = "建立一般部落格文章"
Related_posts = "相關文章"
Revert_to_draft = "轉換為草稿"
Save = "儲存"
Save_as_draft = "儲存為草稿"
Search = "搜尋"
Search_for = "搜尋"
Static_page = "靜態頁面"
Static_page_comment = "Creating static page"
Static_pages = "靜態頁面"
Tag = "標籤"
Tags = "標籤"
Title = "標題"
Uncategorized = "未分類的"
Uncategorized_comment = "Topics that don't need a category, or don't fit into any other existing category"
Update = "更新"
Update_draft = "更新草稿"
Update_post = "更新文章"
Video_post = "影片文章"
Video_post_comment = "Creating blog post with featured video"
View = "檢視"
Views = "看過"
Your_recent_posts = "Your recent posts"
by = "由"
read_more = "讀取更多"

+ 6
- 1
system/includes/functions.php View File

@ -1858,9 +1858,14 @@ function disqus($title = null, $url = null)
$disqus = config('disqus.shortname');
$script = <<<EOF
<script type="text/javascript">
var getAbsolutePath = function(href) {
var link = document.createElement('a');
link.href = href;
return link.href;
};
var disqus_shortname = '{$disqus}';
var disqus_title = '{$title}';
var disqus_url = '{$url}';
var disqus_url = getAbsolutePath('{$url}');
(function () {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';


Loading…
Cancel
Save