diff --git a/__init__.py b/__init__.py index d1d959c..48d12c4 100644 --- a/__init__.py +++ b/__init__.py @@ -2,5 +2,6 @@ from flask import Blueprint, g, request, session, redirect, url_for, current_app from paramecio2.libraries.db.webmodel import WebModel from settings import config +from modules.cuchulublog.i18n import cuchulublog cuchulublog_app=Blueprint('cuchulublog_app', __name__) diff --git a/i18n/__init__py b/i18n/__init__py new file mode 100644 index 0000000..e69de29 diff --git a/i18n/cuchulublog.py b/i18n/cuchulublog.py new file mode 100644 index 0000000..1743b56 --- /dev/null +++ b/i18n/cuchulublog.py @@ -0,0 +1,176 @@ +#!/usr/bin/env python3 + +from paramecio2.libraries.i18n import I18n + +I18n.l['en-US']=I18n.l.get('en-US', {}) + +I18n.l['en-US']['cuchulublog']=I18n.l['en-US'].get('cuchulublog', {}) + +I18n.l['en-US']['cuchulublog']['home']='Home' + +I18n.l['en-US']['cuchulublog']['post']='Post' + +I18n.l['en-US']['cuchulublog']['projects']='Projects' + +I18n.l['en-US']['cuchulublog']['blog_last_post']='Blog - lasts posts' + +I18n.l['en-US']['cuchulublog']['contact']='Contact' + +I18n.l['en-US']['cuchulublog']['about']='About' + +I18n.l['en-US']['cuchulublog']['published']='Published' + +I18n.l['en-US']['cuchulublog']['permanent_link']='Permanent link' + +I18n.l['en-US']['cuchulublog']['error_cannot_send_email']='Error: no puedo enviar el email' + +I18n.l['en-US']['cuchulublog']['fill_this_form_for_contact']='Rellene este formulario para contactar' + +I18n.l['en-US']['cuchulublog']['name']='Nombre' + +I18n.l['en-US']['cuchulublog']['email']='Email' + +I18n.l['en-US']['cuchulublog']['subject']='Subject' + +I18n.l['en-US']['cuchulublog']['text']='Text' + +I18n.l['en-US']['cuchulublog']['send_form']='Send form' + +I18n.l['en-US']['cuchulublog']['email_sended_successfully']='Se envió el email correctamente. Pronto nos pondremos en contacto' + +I18n.l['en-US']['cuchulublog']['geek_enthusiast_linux_user']='Geek enthusiast. Linux user, Debian user, Archlinux user, Gentoo user, Fedora user. Free software supporter. Specialized in Linux sysadmin, backend, and frontend' + +I18n.l['en-US']['cuchulublog']['all_repositories']='All repositories' + +I18n.l['en-US']['cuchulublog']['new_and_old_repositories']='New and old repositories with my software' + +I18n.l['en-US']['cuchulublog']['a_series_of_shortcuts']='A series of shortcuts and libraries for Flask and Bottle, with ORM, Datetime shortcuts for Arrow library, templates shortcuts for Mako templates and more' + +I18n.l['en-US']['cuchulublog']['a_simple_tool_for_make']='A simple tool for make tasks in remote linux servers. Similar to ansible' + +I18n.l['en-US']['cuchulublog']['a_simple_monit_tool_based_in_psutil']='A simple monitoritation tool based in psutil and flask for monitoring servers. You can define webhooks for process events with tools how node-red' + +I18n.l['en-US']['cuchulublog']['simple_and_fast_framework']='Simple and fast framework router based in php with modern technics how Composer, PSR-4 and more' + +I18n.l['en-US']['cuchulublog']['a_mvc_framework_based_in_php']='A MVC framework based in php modern technics how Composer, PSR-4 and more. Deprecated' + +I18n.l['en-US']['cuchulublog']['legacy_projects']='Legacy Projects' + +I18n.l['en-US']['cuchulublog']['phangoapp_php_tools']='PhangoApp php tools' + +I18n.l['en-US']['cuchulublog']['tools_for_php_devel']='Tools for php development using modern techniques how Composer, PSR-4 for packaging and more...' + +I18n.l['en-US']['cuchulublog']['posts']='Posts' + +I18n.l['en-US']['cuchulublog']['read_more']='Read more' + +I18n.l['en-US']['cuchulublog']['blog']='Blog' + +I18n.l['en-US']['cuchulublog']['welcome_to_cuchulu']='Welcome to cuchulu.com!!!' + +I18n.l['en-US']['cuchulublog']['cuchulu_is_set_projects']='Cuchulu.com is a set of projects of Antonio de la Rosa, a coder and Linux sysadmin from Spain.' + +I18n.l['en-US']['cuchulublog']['you_can_find_multiple']='You can find multiple utilities for Linux administration, cloud systems, monitoritation tools and more.' + +I18n.l['en-US']['cuchulublog']['of_course_if_you_need']='Of course, if you need Linux admin services, create an App or other computer enginering services, you can contact me.' + +I18n.l['en-US']['cuchulublog']['blog_last_posts']='Blog - Last posts' + +I18n.l['en-US']['cuchulublog']['a_simple_web_framework']='A simple web framework with shorcuts and hooks for Flask, Mako templates, etc...' + +I18n.l['en-US']['cuchulublog']['git_repo']='Git repository' + +I18n.l['en-US']['cuchulublog']['documentation']='Documentation' + +I18n.l['en-US']['cuchulublog']['a_simple_monit_script_writed']='A simple monitoritation script writed in Python for save systemd data from a server (Linux or Windows) in a MySQL database' + +I18n.l['en-US']['cuchulublog']['a_simple_representation_of_data']='A simple representation of data from PastafariStats Agent data' + +I18n.l['en-US']['cuchulublog']['a_set_of_tools_for']='A set of tools for control Linux servers' + +I18n.l['es-ES']=I18n.l.get('es-ES', {}) + +I18n.l['es-ES']['cuchulublog']=I18n.l['es-ES'].get('cuchulublog', {}) + +I18n.l['es-ES']['cuchulublog']['home']='Home' + +I18n.l['es-ES']['cuchulublog']['post']='Post' + +I18n.l['es-ES']['cuchulublog']['projects']='Proyectos' + +I18n.l['es-ES']['cuchulublog']['blog_last_post']='Blog - últimos posts' + +I18n.l['es-ES']['cuchulublog']['contact']='Contacto' + +I18n.l['es-ES']['cuchulublog']['about']='About' + +I18n.l['es-ES']['cuchulublog']['published']='Publicado' + +I18n.l['es-ES']['cuchulublog']['permanent_link']='Enlace permanente' + +I18n.l['es-ES']['cuchulublog']['error_cannot_send_email']='Error: no puedo enviar el email' + +I18n.l['es-ES']['cuchulublog']['fill_this_form_for_contact']='Rellene este formulario para contactar' + +I18n.l['es-ES']['cuchulublog']['name']='Nombre' + +I18n.l['es-ES']['cuchulublog']['email']='Email' + +I18n.l['es-ES']['cuchulublog']['subject']='Asunto' + +I18n.l['es-ES']['cuchulublog']['text']='Texto' + +I18n.l['es-ES']['cuchulublog']['send_form']='Enviar formulario' + +I18n.l['es-ES']['cuchulublog']['email_sended_successfully']='Se envió el email correctamente. Pronto nos pondremos en contacto' + +I18n.l['es-ES']['cuchulublog']['geek_enthusiast_linux_user']='Geek enthusiast. Linux user, Debian user, Archlinux user, Gentoo user, Fedora user. Free software supporter. Specialized in Linux sysadmin, backend, and frontend' + +I18n.l['es-ES']['cuchulublog']['all_repositories']='Todos los repositorios' + +I18n.l['es-ES']['cuchulublog']['new_and_old_repositories']='Antiguos y nuevos repositorios' + +I18n.l['es-ES']['cuchulublog']['a_series_of_shortcuts']='Una serie de shorcuts y librerias para Flask y Bottle, con un sencillo orm, functiones Datetime basada en la librería Arrow, shortcuts para Mako y más.' + +I18n.l['es-ES']['cuchulublog']['a_simple_tool_for_make']='Una herramienta sencilla para hacer tareas en servidores Linux de forma remota. Similar a Ansible' + +I18n.l['es-ES']['cuchulublog']['a_simple_monit_tool_based_in_psutil']='Una sencilla herramienta de monitorización basada en psutil para recolectar datos y flask para la visualización. Puedes definir webhooks para procesar eventos con herramientas como node-red' + +I18n.l['es-ES']['cuchulublog']['simple_and_fast_framework']='Simple y rápido router framework basado en php usando técnicas modernas como composer, PSR-4 y más' + +I18n.l['es-ES']['cuchulublog']['a_mvc_framework_based_in_php']='Un clásico framework MVC basado en modernas técnicas de php como Composer, PSR-4 y más. En modo mantenimiento' + +I18n.l['es-ES']['cuchulublog']['legacy_projects']='Proyectos legacy' + +I18n.l['es-ES']['cuchulublog']['phangoapp_php_tools']='PhangoApp php tools' + +I18n.l['es-ES']['cuchulublog']['tools_for_php_devel']='Herramientas para desarrollo en php usando técnicas modernas como Composer, PSR-4 y más...' + +I18n.l['es-ES']['cuchulublog']['posts']='Posts' + +I18n.l['es-ES']['cuchulublog']['read_more']='Leer más' + +I18n.l['es-ES']['cuchulublog']['blog']='Blog' + +I18n.l['es-ES']['cuchulublog']['welcome_to_cuchulu']='Bienvenido a Cuchulu.com!!!' + +I18n.l['es-ES']['cuchulublog']['cuchulu_is_set_projects']='Cuchulu.com es un conjunto de proyectos de Antonio de al Rosa, un coder y administrador Linux de España.' + +I18n.l['es-ES']['cuchulublog']['you_can_find_multiple']='Aquí puede encontrar múltiples utilidades para administración de Linux, sistemas cloud, herramientas de monitorización y más.' + +I18n.l['es-ES']['cuchulublog']['of_course_if_you_need']='Por supuesto, si necesita servicios de administración Linux, crear una aplicación u otros servicios de ingeniería informática, puede contactarme.' + +I18n.l['es-ES']['cuchulublog']['blog_last_posts']='Blog - Últimos posts' + +I18n.l['es-ES']['cuchulublog']['a_simple_web_framework']='Un simple framework con shorcuts y hooks para Flask, Mako templates, etc...' + +I18n.l['es-ES']['cuchulublog']['git_repo']='Repositorio Git' + +I18n.l['es-ES']['cuchulublog']['documentation']='Documentación' + +I18n.l['es-ES']['cuchulublog']['a_simple_monit_script_writed']='Un sencillo script para monitorización escrito en Python para guardar datos de sistema de un servidor (Linux o Windows) en una base de datos MySQL' + +I18n.l['es-ES']['cuchulublog']['a_simple_representation_of_data']='Una simple representación de datos para PastafariStats Agent data' + +I18n.l['es-ES']['cuchulublog']['a_set_of_tools_for']='Un conjunto de herramientas para controlar servidores Linux' +