Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-17 05:35:18

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Lang/help server fixes

Hopefully all the kinks are out, but you never know. Let me know if there’s still something not working right, or, god forbid, something new that’s broken.

For translators:

  • All languages should be able to have help translated.
  • There should be no more broken links.
  • A couple people needed to have multiple accounts because they translate more than one language. That is no longer necessary, you can access them all from one account.
  • Let me know if you have links to edit languages you don’t look after, or if some are missing.
  • Some tweaks to the help popup.
  • Some other UI tweaks, see if you notice them.
  • Behind-the-scenes stuff you probably don’t care about.

I’ve probably forgotten one thing or another.

For people that are not translators: you should be able to install/update your language(s) as before, so let me know if that has stopped working correctly.

Last edited by Mary (2007-08-17 05:38:20)

Offline

#2 2007-08-17 08:56:46

beata
New Member
From: Taiwan
Registered: 2006-09-14
Posts: 9
Website

Re: Lang/help server fixes

Good job!

Thank you, it’s nice to heard this great news.

However, there is still have one small problem — the client side.
The target of help link in user’s administration panel(zh-tw) is pointed to zh

So, I edited both of popHelp and popHelpSubtle methods in lib/txplib_html.php:


		$lang = (LANG == 'cs-cz' || LANG == 'el-gr' || LANG == 'ja-jp') ? 
			substr(LANG, 3, 2): substr(LANG, 0, 2);
# changed into
		$lang = (LANG == 'cs-cz' || LANG == 'el-gr' || LANG == 'ja-jp') ? 
			substr(LANG, 3, 2) : (LANG == 'zh-tw' || LANG == 'zh-cn') ?
			LANG : substr(LANG, 0, 2);

Sadly, it didn’t work! The parameter name of language to the help document seems to be changed.
Therefore, I made another change ( lang => language ).


			' href="http://rpc.textpattern.com/help/?item='.$help_var.a.'lang='.$lang.'"'.
# changed into
			' href="http://rpc.textpattern.com/help/?item='.$help_var.a.'language='.$lang.'"'.

Now, we have a correct language parameter along with its correct value.
Everything works fine.

Last edited by beata (2007-08-17 09:09:00)

Offline

#3 2007-08-17 11:39:34

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Lang/help server fixes

A very good news indeed.

Couple of things:

  • Backend: could you add the proper html lang attribute, where they are needed? It would help for some UA features.
  • Frontend: the main header is still “Textpattern Help” hardcoded
  • Frontend: the search box is still hardcoded in English. Strings: Search, Go, Search results for “...”, result found, return to top of the page.

Offline

#4 2007-08-18 14:19:59

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Lang/help server fixes

Mei: Indeed, already fixed, before I posted.

Jeremie: Yes, I’m aware of those.

:)

Offline

Board footer

Powered by FluxBB