stocker welcome on index

Hulp bij het installeren van of op zoek naar een extensie?
Plaats reactie
Jeffrey Kroonenberg
Berichten: 75
Lid geworden op: 13 nov 2016, 17:14
Locatie: Elburg
Contacteer:

stocker welcome on index

Bericht door Jeffrey Kroonenberg » 17 nov 2016, 00:42

  • Adres van je forum: http://www.jeffreykroonenberg.nl
    Event. modificaties op je forum:
    Wanneer ontstond het probleem? na de vertaling aan het maken
    phpBB versie: 3.0.10


    Heb je onlangs iets veranderd aan je forum?
    Wat is het probleem?
Ik ben stockers welkom on index aan het vertalen.
Kunnen jullie de fout ondekken?
Want het foum is nu letterlijk wit :cry:


commons.php

Code: Selecteer alles

<?php
/**
*
* @package phpBB Extension - Welcome on Index
* @copyright (c) 2014 Stoker
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

/**
* 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(
    'WELCOMEONINDEX_UPDATED'	=> 'Welcome On Index settings updated',
	'UP_LATE'             		=> 'jij bent laat wakker %1$s, Ga je Nog niet slapen?',
    'UP_EARLY'             		=> 'Goede Morgen %1$s, Je Bent vroeg vandaag',
    'GOOD_MORNING'           	=> 'Goede Morgen %1$s, wat een heerlijke ochtend is het he?',
	'GOOD_DAY'        			=> 'Goede Dag %1$s, ik hoop dat je geniet van je tijd hier',
    'GOOD_AFTERNOON'       		=> 'Goede Avond %1$s, Tot Slot ben je hier',
    'GOOD_EVENING'           	=> 'Goede Avond %1$s, goed je te zien',
   	'GOOD_NIGHT'           		=> 'Goede Nacht %1$s, het is bed tijd',
    'WELCOME_GUEST'           	=> 'Guest',
    'WELCOME_HOUR'           	=> 'Hour',
    'WELCOME_HOURS'           	=> 'Hours',
   	'WELCOME_DAY'           	=> 'Day',
    'WELCOME_DAYS'           	=> 'Days',
    'WELCOME_MONTH'           	=> 'Month',
    'WELCOME_MONTHS'       		=> 'Months',
   	'WELCOME_YEAR'           	=> 'Year',
    'WELCOME_YEARS'				=> 'Years',
	'WELCOME_TO_MOD'			=> 'welcome to',
	'WELCOME_PLEASE'			=> 'Please',
	'WELCOME_ENJOY'				=> 'to enjoy the full content of this site',
	'WELCOME_OR'				=> 'or',
	'WELCOME_AND'				=> 'and',
	'WELCOME_YOU'				=> 'You joined',
	'MEMBER_FOR'				=> 'You have been member for:',
info_acp_welcomeonindex.php

Code: Selecteer alles

<?php
/**
*
* @package phpBB Extension - Welcome on Index
* @copyright (c) 2014 Stoker
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

/**
* 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
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
	'ACP_WELCOMEONINDEX'			=> 'Welcome On Index',
	'ACP_WELCOMEONINDEX_SETTINGS'	=> 'Welcome settings',
));
welcomeonindex_acp.php

Code: Selecteer alles

<?php
/**
*
* @package phpBB Extension - Welcome on Index
* @copyright (c) 2014 Stoker
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

/**
* 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
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
	'WELCOMEONINDEX_UPDATED'					=> 'Welcome On Index settings updated',
	'ACP_WELCOMEONINDEX_DONATE'					=> 'Please consider a <a href="http://www.phpbb3bbcodes.com/donate.php" onclick="window.open(this.href);return false;"><strong>Donation</strong></a> if you like the Extension',
	'ACP_WELCOMEONINDEX_SETTINGS'				=> 'Welcome On Index settings',
	'ACP_WELCOMEONINDEX_INFO_PREVIEW'			=> 'Welcome On Index preview',
	
	'ACP_WELCOMEONINDEX_INFO'					=> 'Welcome text',
	'ACP_WELCOMEONINDEX_INFO_EXPLAIN'			=> 'You can edit the text which is displayed in the Welcome On Index box.',
	'ACP_ENABLE_WELCOMEONINDEX'					=> 'Enable Welcome On Index',
	'ACP_ENABLE_WELCOMEONINDEX_AVATAR'			=> 'Enable Avatar display',
	'ACP_ENABLE_WELCOMEONINDEX_DAY_MESSAGE'		=> 'Enable Welcome time of day message',
	'ACP_ENABLE_WELCOMEONINDEX_JOINED'			=> 'Enable joined info',
));
welcomeonindex_ucp.php

Code: Selecteer alles

<?php
/**
*
* @package phpBB Extension - Welcome on Index
* @copyright (c) 2014 Stoker
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

/**
* 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(
	'UCP_ENABLE_WELCOMEONINDEX'		=> 'Display Welcome message on index',
));
moet ik all die enable en welcome dingen vertalen naar het nederland?
Of is er een anderen fout?
Laatst gewijzigd door Jim op 17 nov 2016, 00:54, 1 keer totaal gewijzigd.
Reden: Verplaatst vanuit Support naar Extensies

Jim
Berichten: 3900
Lid geworden op: 21 feb 2007, 14:53
Locatie: Groningen
Contacteer:

Re: stocker welcome on index

Bericht door Jim » 17 nov 2016, 00:53

Het lijkt erop dat je de laatste regel van het common.php bestand verwijderd hebt.
Daar hoort op een nieuwe regel nog )); te staan.
Jim Mossing Holsteyn - Beheerder
Documentatie | Algemene voorwaarden | Wiki

Heb je suggesties over het verbeteren van phpBB.nl of andere site-gerelateerde vragen? Stuur me een PB!

Jeffrey Kroonenberg
Berichten: 75
Lid geworden op: 13 nov 2016, 17:14
Locatie: Elburg
Contacteer:

Re: stocker welcome on index

Bericht door Jeffrey Kroonenberg » 17 nov 2016, 01:03

Jim schreef:Het lijkt erop dat je de laatste regel van het common.php bestand verwijderd hebt.
Daar hoort op een nieuwe regel nog )); te staan.
dankje :D
het ik moet zeggen dat ik veel van jullie leer ;)
het is opgelost :bier:

Plaats reactie