SimplePortal

Support => Install and Upgrade => Topic started by: lg965 on March 27, 2012, 12:48:14 PM

Title: upgrade 2.3.4 -> 2.3.5 language
Post by: lg965 on March 27, 2012, 12:48:14 PM
is there any change in the language file?

 :D


Title: Re: upgrade 2.3.4 -> 2.3.5 language
Post by: Kryzen on March 27, 2012, 12:53:18 PM
Welcome to Simple Portal! :) Yeah, you can find a list below:

First of all, update the version numbers in each language file.

SPortal.language.php
Find and remove:
Code: [Select]
global $scripturl, $context;
Find:
Code: [Select]
$txt['sp_who_index'] = 'Viewing the <a href="' . $scripturl . '">Portal</a>.';
$txt['sp_who_forum'] = 'Viewing the <a href="' . $scripturl . '?action=forum">Forum</a>.';
$txt['sp_who_page'] = 'Viewing the page &quot;<a href="' . $scripturl . '?page=%1$s">%2$s</a>&quot;.';
Replace with:
Code: [Select]
$txt['sp_who_index'] = 'Viewing the <a href="%s">Portal</a>.';
$txt['sp_who_forum'] = 'Viewing the <a href="%s?action=forum">Forum</a>.';
$txt['sp_who_page'] = 'Viewing the page &quot;<a href="%3$s?page=%1$s">%2$s</a>&quot;.';

Find:
Code: [Select]
$context['user']['is_admin'] ? 'We\'re sorry. It seems this shoutbox only existed in your head.' : 'Sorry, this shoutbox does not exist.';Replace with:
Code: [Select]
'Sorry, this shoutbox does not exist.';
SPortalAdmin.language.php
Find:
Code: [Select]
$txt['sp_admin_shoutbox_block_redirect_message'] = 'Congratulations, you have created a new shoutbox! Although it won\'t be displayed anywhere within your forum yet.<br />
You will need to create a shoutbox block before your users can use the shoutbox. Click <a href="%s">here</a> to create a new shoutbox block for this shoutbox.<br /><br />
Click <a href="%s">here</a> to continue to your list of shoutboxes.';
Replace with:
Code: [Select]
$txt['sp_admin_shoutbox_block_redirect_message'] = '<p>Congratulations, you have created a new shoutbox!</p>
<p>Although it won\'t be displayed anywhere within your forum yet. You will need to create a shoutbox block before your users can use the shoutbox.</p>
<p>Click <a href="%s">here</a> to create a new shoutbox block for this shoutbox.</p>
<p>Click <a href="%s">here</a> to continue to your list of shoutboxes.</p>';
Title: Re: upgrade 2.3.4 -> 2.3.5 language
Post by: lg965 on April 02, 2012, 12:57:31 PM
ok thank you,
update successfull!

Cheers!
Title: Re: upgrade 2.3.4 -> 2.3.5 language
Post by: Kryzen on April 02, 2012, 12:58:47 PM
You're welcome, glad to hear the update went fine :)

Dr. Deejay
Title: Re: upgrade 2.3.4 -> 2.3.5 language
Post by: tomeh on April 02, 2012, 07:24:24 PM
And for me it's useful, thanks
SimplePortal 2.3.8 © 2008-2024, SimplePortal