TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 09:15:30 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 212
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 110
  • Total: 110

TP 0.9.8 language files and errors

Started by agridoc, July 04, 2007, 09:03:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

agridoc

At first I have to apologize as I should have seen it earlier. Unfortunately, I still have no much time available.  :(

There are changes in TP 0.9.8 language files that will affect functionality and will cause problems in use with other languages, if not properly translated.


The main problem is that, while the text remains the same in the same line, the number in the text parameter name for article options changes in TP 0.9.8.
$txt['tp-articleoptionsxx'] =

The only language file changed in TP 0.9.8 is TPortalAdmin.english.php

The main changes are

Lines 253-254

TP 0.9.7
$txt['tp-articleoptions9'] = 'Show all articles in same category';
$txt['tp-articleoptions10'] = 'Show links to other categories';


TP 0.9.8
$txt['tp-articleoptions11'] = 'Show all articles in same category';
$txt['tp-articleoptions12'] = 'Show links to other categories';



Lines 268-274

TP 0.9.7
$txt['tp-articleoptions11'] = 'Show comments underneath article';
$txt['tp-articleoptions14'] = 'Show number of views';
$txt['tp-articleoptions15'] = 'Show ratings';

$txt['tp-articleoptions12'] = 'Allow to comment?';
$txt['tp-articleoptions13'] = 'Do not collapse comments initially';
$txt['tp-articleoptions16'] = 'Allow to rate?';


TP 0.9.8
$txt['tp-articleoptions13'] = 'Show comments underneath article';
$txt['tp-articleoptions16'] = 'Show number of views';
$txt['tp-articleoptions17'] = 'Show ratings';

$txt['tp-articleoptions14'] = 'Allow to comment?';
$txt['tp-articleoptions15'] = 'Do not collapse comments initially';
$txt['tp-articleoptions18'] = 'Allow to rate?';


The _UNTRANSLATED language files are not corrected so translated files by experienced translators were wrong, while new translations are OK, as they were done from beginning.

There are also a few other changes that don't affect functionality. If necessary, I will make a full list.

They can be found easily with an ASCII compare of the english files used for translation and the files in the released version.

The changes in numbers can be corrected but some others can't be without knowledge of the language.


ADD ON: Other changes in TPortalAdmin.english.php that will need changes of translation in language files. They are not include in UNTRANSLATED files.

Line 94
$txt['tp-numberofposts']='Number of forum-posts to show on front page:';


Line 96
$txt['tp-lengthofposts']='Number of characters to show per forum-post:';


Line 98-99
$txt['tp-onlyforum']='Only forum-posts';
$txt['tp-bothforum']='Forum-posts and articles - sorted on date';


Line 101
$txt['tp-singlepage']='Featured article and front page blocks';


Line 265
$txt['tp-frontpage_layout'] = 'Articles layout for the front page:';


Lines 375-385. They replace lines 375-381
<p><b>TP Admin</b><br />Bloc, IchBin.
    </p>
<p><b>TP Support</b><br />G6, Aku, Anunlike, Lesmond, Tuxie, deniz, nokonium, Max,
           Moocat, Rasyr, gerrymo, BorgBOB, and redone.</p>
<p><b>TP Interface</b><br />Xarcell.
<p><b>TP Server</b><br />Ray.
<p><b>TP Press</b><br />PhilH, Maya.
<p><b>TP SMF</b><br />eldacar.
<p><b>TP Themes</b><br />crip, StormLrd and RebelRose.</p>
<p><b>TP Language</b><br />Agridoc.</p>
<p><b>TP Code</b><br />JPDeni, eeek, Thurnok, J.A.Cortina and feline,</p>


Lines added, 415-437.  They are properly contained in UNTRANSLATED language files. I just put them here for a complete reference.
// 0.9.8
$txt['tp-adminpanels'] = 'Panels';
$txt['tp-adminpanels2'] = 'Settings for the panels';
$txt['tp-vertical'] = 'Show the blocks vertically(default)';
$txt['tp-horisontal'] = 'Show the blocks horizontally';
$txt['tp-grid'] = 'Show the blocks according to a grid';
$txt['tp-blockwidth'] = 'Width of each block on horizontal or grid layout';
$txt['tp-usebottombar'] = 'Use bottom panel';
$txt['tp-usetopbar'] = 'Use top panel:';
$txt['tp-hide_topbar_forum'] = 'Hide top panel when in forum?';
$txt['tp-hide_bottombar_forum'] = 'Hide bottom panel when in forum?';
$txt['tp-bottomsideblocks'] = 'Bottom Blocks';
$txt['tp-topsideblocks'] = 'Top Blocks';
$txt['tp-addbottomblock'] = 'Add Bottom Block';
$txt['tp-addtopblock'] = 'Add Top Block';
$txt['tp-moveup'] = 'Move to top blocks';
$txt['tp-movedown'] = 'Move to bottom blocks';
$txt['tp-frontpageoptions'] = 'Visual options for frontpage <br /><span class="smalltext">( disabled in Single Page option )</span>';

$txt['tp-articleoptions9'] = 'Show bottomblocks';
$txt['tp-articleoptions10'] = 'Show topblocks';
$txt['tp-shortname_article'] = 'Query title:';
$txt['tp-panelsettings'] = 'Panel Settings';



Translator credits

We had a team discussion about this. Bloc decided that a translator can add a comment in line 2 of each TP language file in the form

// [Language name] translation by [Tranlator(s) name(s)]

This is for version TP 0.9.8.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

GravuTrad

#1
ok, saw (and thanks to unknownn to remember me to see this).

I do another french pack and give here.

GravuTrad

packs joined.

Can someone in the team put the downloads up to date please? Thanks.

agridoc

#3
Thank you GravuTrad, I will take care of this.  :)
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

GravuTrad

thanks agridoc. ;)

Please tell me when it will be ok, cause i don't see any french pack in the downloads for now...

agridoc

I checked the files, some corrections are needed. I completed the report of changes in the first message of this topic.

It's better this way as some may not be familiar with ASCII compare.

  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

lbuisson

Hi for information zip french file seems to be corrumpt in download section :(

lbuisson

Dear all,

I download Gravutrad version and found in some é problems and modify his file.

Only French file has problem not utf8

joomlamz

Try download portugueses Files

all utf8 and Normal..


Thank you....