Autor Thema: Help with main page of Opencaching.us??  (Gelesen 587 mal)

Offline Mr.Yuck

  • Nano
  • **
  • Beiträge: 42
  • Opencaching.us Admin
Help with main page of Opencaching.us??
« am: 29. April 2013, 19:00:37 »
I see I'm the first to post here in several months, I hope someone can help me out. I'm revamping the "top Menu" of Opencaching.us. We had a button that used to say "Facebook", and link to our facebook page. In it's place, I've created the page articles.php/social with links to all our social media.

However, when I altered the code in my menu.php to say "Social Media" instead of "Facebook" it's not just "Social Media" it's "Social Media-TODO" Does anyone know why this happened, and how to fix it? Here is the code from menu.php for the whole "top menu":

array(
      'title' => tr('abc'),
      'menustring' => tr('abc'),
      'siteid' => 'articles/info',
      'visible' => true,
      'filename' => 'http://wiki.opencaching.us',
      'newwindow' => true
   ),
   array(
      'title' => tr('forum'),
      'menustring' => tr('forum'),
      'siteid' => 'forum',
      'visible' => true,
      'filename' => 'http://forum.opencaching.us',
      'newwindow' => true
   ),
   /* array(
      'title' => 'GCBook',
      'menustring' => 'GCBook',
      'siteid' => 'gcbook',
      'visible' => true,
      'filename' => 'http://gcbook.opencaching.us',
      'newwindow' => true
   ), */


          array(
      'title' => 'Blog',
      'menustring' => 'Blog',
      'siteid' => 'Blog',
      'visible' => true,
      'filename' => 'http://blog.opencaching.us',
      'newwindow' => 'true'
   ),
   array(
      'title' => tr('Social Media'),
      'visible' => true,
      'filename' => 'articles.php?page=social',
      'menustring' => tr('social Media'),
      'siteid' => 'articles/social'
   ),
   /* array(
      'title' => 'CHAT/IRC',
      'menustring' => 'CHAT/IRC',
      'siteid' => 'irc',
      'visible' => true,
      'filename' => 'http://webchat.freenode.net/?nick='.$usr['username'].'&channels=opencaching.us&prompt=1',
      'newwindow' => true
   ), */
   array(
      'title' => tr('Trackables'),
      'menustring' => tr('Trackables'),
      'siteid' => 'Trackables',
      'visible' => true,
      'filename' => 'http://geokrety.org/index.php?lang=en_EN.UTF-8',
      'newwindow' => 'true'
   ),
   array(
      'title' => 'Download',
      'menustring' => 'Download',
      'siteid' => 'Download',
      'visible' => true,
      'filename' => 'http://wiki.opencaching.us/index.php/Downloads',
      'newwindow' => 'true'
   ),

      array(
      'title' => tr('links'),
      'visible' => true,
      'filename' => 'articles.php?page=links',
      'menustring' => tr('links'),
      'siteid' => 'articles/links'
   ),
   array(
      'title' => 'RSS',
      'menustring' => 'RSS',
      'siteid' => 'RSS feed',
      'visible' => true,
      'filename' => 'articles.php?page=rss'
   ),
   array(
      'title' => tr('contact'),
      'visible' => true,
      'filename' => 'articles.php?page=contact',
      'menustring' => tr('contact'),
      'siteid' => 'articles/contact'
   ),
   /* array(
      'title' => tr('shop'),
      'menustring' => tr('shop'),
      'siteid' => 'shop',
      'visible' => true,
      'filename' => 'http://RVRoadTrip.us/geostore.asp',
      'newwindow' => 'true'
   ), */
   array(
      'title' => 'API',
      'menustring' => 'API',
      'siteid' => 'api',
      'visible' => true,
      'filename' => 'http://www.opencaching.us/okapi',
      'newwindow' => 'true'
   ),

Offline flopp

  • Vereinsmitglied
  • Normal
  • *
  • Beiträge: 1010
  • OC-Clean-Team/Support/Entwicklung
    • Flopps Tolles Blog
Re: Help with main page of Opencaching.us??
« Antwort #1 am: 29. April 2013, 19:17:18 »
Hi Mr.Yuck,

my educated guess: the translation for "Social Media" is missing.

Offline Mr.Yuck

  • Nano
  • **
  • Beiträge: 42
  • Opencaching.us Admin
Re: Help with main page of Opencaching.us??
« Antwort #2 am: 29. April 2013, 19:52:04 »
Hi Mr.Yuck,

my educated guess: the translation for "Social Media" is missing.

That's very possible!! I added a top button for "Blog" a couple weeks ago, and that worked. Opencaching.pl does have a blog, so that's probably why that worked. Any idea where I can find translations, and possibly add this one? Opencaching.us is only in Polish and English.

Offline flopp

  • Vereinsmitglied
  • Normal
  • *
  • Beiträge: 1010
  • OC-Clean-Team/Support/Entwicklung
    • Flopps Tolles Blog
Re: Help with main page of Opencaching.us??
« Antwort #3 am: 29. April 2013, 19:58:17 »
In the Opencaching.de branch, the translations are found in http://www.opencaching.de/translate.php via the "admin menu". But I don't know how this is handled in the polish branch.

Offline Mr.Yuck

  • Nano
  • **
  • Beiträge: 42
  • Opencaching.us Admin
Re: Help with main page of Opencaching.us??
« Antwort #4 am: 29. April 2013, 20:44:51 »
In the Opencaching.de branch, the translations are found in http://www.opencaching.de/translate.php via the "admin menu". But I don't know how this is handled in the polish branch.

Thank you!! You sent me in the correct direction regarding the whole language issue. I found a file languages.inc.php that generates the "-todo" message. I have currently commented out the line that puts -todo on the site, although I'm sure that wasn't the way I should have done it. I will contact the .pl developers. Thank you once again.  :)

Offline flopp

  • Vereinsmitglied
  • Normal
  • *
  • Beiträge: 1010
  • OC-Clean-Team/Support/Entwicklung
    • Flopps Tolles Blog
Re: Help with main page of Opencaching.us??
« Antwort #5 am: 29. April 2013, 20:47:50 »
You're welcome ;)

following

  • Gast
Re: Help with main page of Opencaching.us??
« Antwort #6 am: 01. Mai 2013, 22:53:09 »
Harrie also knows how the translations in Polish code work.