• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Contributions (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

/invite lang fix

Post a bug fix, a new feature, a theme ...

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
2 posts • Page 1 of 1

Postby Beni » Sun Aug 05, 2007 1:48 pm

The "blabla was invited by" sentence was hardoced.

Two things are neccessary to fix this issue:

invite.class.php, line 91:
- $cmdp["param"] = $nicktoinvite.' was invited by '.$sender;
+ $cmdp["param"] = _pfc("%s was invited by %s", $nicktoinvite, $sender);

Language files:
Add somewhere, prefferably beneath the other /inivte sting:
// line 91 in invite.class.php
$GLOBALS["i18n"]["%s was invited by %s"] = "ENTER CORRECT TRANSLATION HERE";

For both German translations this would be:
// line 91 in invite.class.php
$GLOBALS["i18n"]["%s was invited by %s"] = "%s wurde von %s eingeladen";
Beni
Member
 
Posts: 65
Joined: Thu Sep 21, 2006 10:50 am
Top

Postby phpfreechat » Tue Aug 07, 2007 8:48 am

Thank you, your changes are included in 1095 and 1096 revisions.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top


Post a reply
2 posts • Page 1 of 1

Return to Contributions (v1.x)

Who is online

Users browsing this forum: No registered users and 2 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub