Skip to content

Commit

Permalink
Fix language files
Browse files Browse the repository at this point in the history
  • Loading branch information
voltan committed Aug 12, 2014
1 parent 5ee3223 commit 08abebe
Show file tree
Hide file tree
Showing 12 changed files with 274 additions and 160 deletions.
14 changes: 7 additions & 7 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,37 @@
return array(
'category' => array(
array(
'title' => __('Admin'),
'title' => _a('Admin'),
'name' => 'admin'
),
array(
'title' => __('Vote'),
'title' => _a('Vote'),
'name' => 'vote'
),
),
'item' => array(
// Admin
'admin_perpage' => array(
'category' => 'admin',
'title' => __('Perpage'),
'title' => _a('Perpage'),
'description' => '',
'edit' => 'text',
'filter' => 'number_int',
'value' => 50
),
'admin_count' => array(
'category' => 'admin',
'title' => __('Vote count'),
'description' => __('Count of X last vote for show in admin'),
'title' => _a('Vote count'),
'description' => _a('Count of X last vote for show in admin'),
'edit' => 'text',
'filter' => 'number_int',
'value' => 500
),
// vote
'vote_delay' => array(
'category' => 'vote',
'title' => __('Delay time'),
'description' => __('Delay time between two vote for each user. According to second, Set 0 for cancel check'),
'title' => _a('Delay time'),
'description' => _a('Delay time between two vote for each user. According to second, Set 0 for cancel check'),
'edit' => 'text',
'filter' => 'number_int',
'value' => 60
Expand Down
6 changes: 3 additions & 3 deletions config/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
return array(
// Module meta
'meta' => array(
'title' => __('Vote'),
'description' => __('Vote system'),
'version' => '1.1.0',
'title' => _a('Vote'),
'description' => _a('Vote system'),
'version' => '1.2.0',
'license' => 'New BSD',
'logo' => 'image/logo.png',
'readme' => 'docs/readme.txt',
Expand Down
24 changes: 12 additions & 12 deletions config/navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@
return array(
'admin' => array(
'last' => array(
'label' => __('Last votes'),
'permission' => array(
'resource' => 'index',
'label' => _a('Last votes'),
'permission' => array(
'resource' => 'index',
),
'route' => 'admin',
'controller' => 'index',
'action' => 'index',
'route' => 'admin',
'controller' => 'index',
'action' => 'index',
),
'tools' => array(
'label' => __('Tools'),
'permission' => array(
'resource' => 'tools',
'label' => _a('Tools'),
'permission' => array(
'resource' => 'tools',
),
'route' => 'admin',
'controller' => 'tools',
'action' => 'index',
'route' => 'admin',
'controller' => 'tools',
'action' => 'index',
),
),
);
2 changes: 2 additions & 0 deletions config/page.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
// Admin section
'admin' => array(
array(
'title' => _a('Index'),
'controller' => 'index',
'permission' => 'index',
),
array(
'title' => _a('Tools'),
'controller' => 'topic',
'permission' => 'topic',
),
Expand Down
Binary file added locale/en/admin.mo
Binary file not shown.
67 changes: 67 additions & 0 deletions locale/en/admin.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
msgid ""
msgstr ""
"Project-Id-Version: Vote\n"
"POT-Creation-Date: 2014-08-12 16:09+0330\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: _a;_t\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: /var/www/html/local/pi/pi-release-2.4.0/usr/module/"
"vote\n"

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/permission.php:17
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/page.php:17
msgid "Index"
msgstr ""

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/permission.php:23
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/navigation.php:25
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/page.php:22
msgid "Tools"
msgstr ""

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/navigation.php:16
msgid "Last votes"
msgstr ""

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/module.php:16
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/config.php:20
msgid "Vote"
msgstr ""

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/module.php:17
msgid "Vote system"
msgstr ""

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/config.php:16
msgid "Admin"
msgstr ""

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/config.php:28
msgid "Perpage"
msgstr ""

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/config.php:36
msgid "Vote count"
msgstr ""

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/config.php:37
msgid "Count of X last vote for show in admin"
msgstr ""

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/config.php:45
msgid "Delay time"
msgstr ""

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/config/config.php:46
msgid ""
"Delay time between two vote for each user. According to second, Set 0 for "
"cancel check"
msgstr ""
Binary file modified locale/en/default.mo
Binary file not shown.
90 changes: 22 additions & 68 deletions locale/en/default.po
Original file line number Diff line number Diff line change
@@ -1,115 +1,69 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2014-02-19 15:00+0330\n"
"Project-Id-Version: Vote\n"
"POT-Creation-Date: 2014-08-12 16:07+0330\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: /var/www/html/local/pi/pi-develop/usr/module/vote/\n"
"X-Poedit-SearchPath-0: /var/www/html/local/pi/pi-develop/usr/module/vote/"
"template\n"
"X-Poedit-SearchPath-1: /var/www/html/local/pi/pi-develop/usr/module/vote/"
"src\n"
"X-Poedit-SearchPath-2: /var/www/html/local/pi/pi-develop/usr/module/vote/"
"config\n"

#: /var/www/html/local/pi/pi-develop/usr/module/vote/src/Api/Vote.php:29
#: /var/www/html/local/pi/pi-develop/usr/module/vote/src/Api/Vote.php:45
#: /var/www/html/local/pi/pi-develop/usr/module/vote/src/Api/Vote.php:83
#: /var/www/html/local/pi/pi-develop/usr/module/vote/src/Api/Vote.php:86
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: /var/www/html/local/pi/pi-release-2.4.0/usr/module/"
"vote\n"

#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/src/Api/Vote.php:29
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/src/Api/Vote.php:45
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/src/Api/Vote.php:83
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/src/Api/Vote.php:86
msgid "Error to voting"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/src/Api/Vote.php:30
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/src/Api/Vote.php:30
msgid "Your vote number is not true"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/src/Api/Vote.php:46
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/src/Api/Vote.php:46
msgid "Please login for vote"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/src/Api/Vote.php:84
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/src/Api/Vote.php:84
#, php-format
msgid "You can vote after %s second"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/src/Api/Vote.php:87
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/src/Api/Vote.php:87
msgid "You already voted to this item"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/navigation.php:16
msgid "Last votes"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/navigation.php:25
msgid "Tools"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/module.php:16
#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/config.php:20
msgid "Vote"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/module.php:17
msgid "Vote system"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/config.php:16
msgid "Admin"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/config.php:28
msgid "Perpage"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/config.php:36
msgid "Vote count"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/config.php:37
msgid "Count of X last vote for show in admin"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/config.php:45
msgid "Delay time"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/config/config.php:46
msgid ""
"Delay time between two vote for each user. According to second, Set 0 for "
"cancel check"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/template/admin/index_index.phtml:5
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/template/admin/index_index.phtml:5
msgid "ID"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/template/admin/index_index.phtml:6
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/template/admin/index_index.phtml:6
msgid "User"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/template/admin/index_index.phtml:7
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/template/admin/index_index.phtml:7
msgid "Module"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/template/admin/index_index.phtml:8
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/template/admin/index_index.phtml:8
msgid "Table"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/template/admin/index_index.phtml:9
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/template/admin/index_index.phtml:9
msgid "Item"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/template/admin/index_index.phtml:10
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/template/admin/index_index.phtml:10
msgid "Ip"
msgstr ""

#: /var/www/html/local/pi/pi-develop/usr/module/vote/template/admin/index_index.phtml:11
#: /var/www/html/local/pi/pi-release-2.4.0/usr/module/vote/template/admin/index_index.phtml:11
msgid "Create"
msgstr ""
Binary file added locale/fa/admin.mo
Binary file not shown.
Loading

0 comments on commit 08abebe

Please sign in to comment.