tr
'TITLE_COLOUR',
'NO_TITLE_COLOR'
Code: Select all
<?php
/**
*
* titlecolor [Turkish]
*
* @package language
* @copyright (c) 2017 DavidIQ.com
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
$lang = array_merge($lang, array(
'TITLE_COLOUR' => 'Başlık rengi',
'NO_TITLE_COLOR' => 'Hiçbiri',
));
Then don't install this extension? Not sure why you felt the need to comment here. Do me and everyone else a favor and please don't...
It's on purpose.pikachuturkey wrote: ↑Sat Mar 04, 2017 12:09 pmTurkish translation of Topic Title Color version 1.0.0-a1tr
Why first row is British English ==> "colour" and second row is American English ==>"color"![]()
'TITLE_COLOUR',
'NO_TITLE_COLOR'
Code: Select all
// Make sure it's only letters and numbers and max length of 6
preg_match('#^[A-Z0-9]{6}#i', $title_color, $color_matches);
Code: Select all
// Make sure it's only HEX and max length of 6, case insensitive.
preg_match('#^[A-F0-9]{6}#i', $title_color, $color_matches);
Was planning on doing this through permissions.
Which one exactly?
What conflict?uruguayito wrote: ↑Tue Apr 11, 2017 5:17 pmwhen a user wants leave a message with a colour, there is a conflict with this ext.....![]()