Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Spanish translations #23

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
yii2-pages
==========

Just testing some changes in this plugin.

[![Latest Stable Version](https://poser.pugx.org/bupy7/yii2-pages/v/stable)](https://packagist.org/packages/bupy7/yii2-page)
[![Total Downloads](https://poser.pugx.org/bupy7/yii2-pages/downloads)](https://packagist.org/packages/bupy7/yii2-pages)
[![Latest Unstable Version](https://poser.pugx.org/bupy7/yii2-pages/v/unstable)](https://packagist.org/packages/bupy7/yii2-pages)
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "bupy7/yii2-pages",
"name": "purt09/yii2-pages",
"description": "A static pages module implements CRUD using Imperavi Redactor.",
"type": "yii2-extension",
"keywords": ["yii2", "extension", "static", "pages", "module"],
"homepage": "https://github.com/bupy7/yii2-pages",
"license": "BSD-3-Clause",
"version": "1.4.1",
"version": "1.4.3",
"authors": [
{
"name": "Belosloodcev Vasily",
Expand All @@ -32,12 +32,12 @@
},
"autoload": {
"psr-4": {
"bupy7\\pages\\": "src"
"purt09\\pages\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"bupy7\\pages\\tests\\": "tests"
"purt09\\pages\\tests\\": "tests"
}
},
"scripts": {
Expand Down
26 changes: 26 additions & 0 deletions src/messages/es/core.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* Language 'EN'.
*
* @author Vasilij Belosludcev http://mihaly4.ru
* @since 1.0.0
*/
return [
'ID' => 'ID',
'TITLE' => 'Título',
'DISPLAY_TITLE' => 'Título a mostrar',
'ALIAS' => 'Alias',
'PUBLISHED' => 'Publicado',
'CONTENT' => 'Contenido',
'TITLE_BROWSER' => 'Título del navegador',
'META_KEYWORDS' => 'Claves Meta',
'META_DESCRIPTION' => 'Descripción Meta',
'CREATED_AT' => 'Creado',
'UPDATED_AT' => 'Modificado',
'PAGE_NOT_FOUND' => 'La página solicitada no existe.',
'CREATE' => 'Crear',
'UPDATE' => 'Editar',
'MODULE_NAME' => 'Páginas',
'SAVE_SUCCESS' => 'El elemnto de ha guardado correctamente',
'DELETE_SUCCESS' => 'El elemento se ha borrado correctamente',
];
2 changes: 1 addition & 1 deletion src/models/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function rules()
return [
[['title'], 'required'],
[['display_title', 'published'], 'boolean'],
[['content'], 'string', 'max' => 65535],
[['content'], 'string'],
[['title', 'alias', 'title_browser'], 'string', 'max' => 255],
[['meta_keywords'], 'string', 'max' => 200],
[['meta_description'], 'string', 'max' => 160],
Expand Down