| Kort |
|
|---|---|
<?php /** * LOCALE Language File for PLUG Plugin * * @package Cotonti * @version VERSION * @author Cotonti Translators Team * @copyright Copyright (c) 2008-2009 Cotonti Team * @license BSD */ /** * Plugin Title & Subtitle */ /** * Plugin Body */ /** * Plugin Config */ ?>Ok, this is what we came up with for plugin translations. LOCALE - replace with the translation language (e.g. Dutch) PLUG - replace with the plugin name (e.g. ComEdit) VERSION - replace with the Cotonti version the language file is made for (it is a bit confusing for me, I'd rather put here plugin version, so I leave it for discussion -- like the template itself) Revision History: 19.03.2009 - changed <?PHPto <?php, fixed copyright notice. Thanks to dervan SED.by - создание сайтов, разработка плагинов и тем для Котонти
Відредаговано: Kort (19.03.2009 22:56, 16 років тому) |
| dervan |
|
|---|---|
|
my opinion for "Plugin Config" section: all english texts for config must be exists in "setup" plugin part, and it's necessary to repeat all these texts in "Plugin Config" section in english lang-file
|
| Dayver |
|
|---|---|
# dervan : my opinion for "Plugin Config" section: all english texts for config must be exists in "setup" plugin part, and it's necessary to repeat all these texts in "Plugin Config" section in english lang-fileI do not agree with you .... English Langpack should include these lines because all translations are from English as from default lang. Pavlo Tkachenko aka Dayver
|
| dervan |
|
|---|---|
# Dayver : I do not agree with you ....why don't you agree? where i told that english should not be default? |
| Dayver |
|
|---|---|
|
Sorry, in first post I do not understand you .... in fact, I fully agree with you
Pavlo Tkachenko aka Dayver
|
| dervan |
|
|---|---|
|
sorry for my english :)
|
| Kort |
|
|---|---|
|
Apology accepted
![]() Template updated (check Revision History). Please update your localizations accordingly! SED.by - создание сайтов, разработка плагинов и тем для Котонти
Відредаговано: Kort (19.03.2009 17:50, 16 років тому) |
| pieter |
|
|---|---|
|
Is there a way to download the latest updated version of the files in Trunk?
I want to download this, to start from it to do the translation. If I do this, the structure is already OK. EDIT: founded on the bottom ... can we help you ...
Відредаговано: pieter (20.03.2009 03:21, 16 років тому) |
| dervan |
|
|---|---|
|
IMO, it's need to check for legal running of code
now used code like this:
if (!defined('SED_CODE')) { die('Wrong URL.'); }
but this code is not convenient to Cotonti Coding Styleconventional code:
if (!defined('SED_CODE'))
{
die('Wrong URL.');
}
but this code is not compactcompact code with the same check:
defined('SED_CODE') or die('Wrong URL.');
i suggest to add this check in template:
<?php
/**
* LOCALE Language File for PLUG Plugin
*
* @package Cotonti
* @version VERSION
* @author Cotonti Translators Team
* @copyright Copyright (c) 2008-2009 Cotonti Team
* @license BSD
*/
defined('SED_CODE') or die('Wrong URL.');
/**
* Plugin Title & Subtitle
*/
|