Help with main page of Opencaching.us??

All postings beginning with "How can i configure (or implement) ..."
Antworten
Mr.Yuck

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'
),
Benutzeravatar
flopp
Vereinsmitglied
Vereinsmitglied
Beiträge: 1008
Registriert: 18.03.2012, 17:02

Hi Mr.Yuck,

my educated guess: the translation for "Social Media" is missing.
[url=http://www.flopp-caching.de/]Flopps Tolle Karte[/url] | [url=http://www.florian-pigorsch.de/oc]OC[/url] | [url=http://www.florian-pigorsch.de/gc]GC[/url] | [url=http://florian-pigorsch.de/+]G+[/url] | [url=http://florian-pigorsch.de/t]Tw[/url] | [url=http://florian-pigorsch.de/fb]Fb[/url]
Mr.Yuck

[quote="flopp"]
Hi Mr.Yuck,

my educated guess: the translation for "Social Media" is missing.
[/quote]

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.
Benutzeravatar
flopp
Vereinsmitglied
Vereinsmitglied
Beiträge: 1008
Registriert: 18.03.2012, 17:02

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.
[url=http://www.flopp-caching.de/]Flopps Tolle Karte[/url] | [url=http://www.florian-pigorsch.de/oc]OC[/url] | [url=http://www.florian-pigorsch.de/gc]GC[/url] | [url=http://florian-pigorsch.de/+]G+[/url] | [url=http://florian-pigorsch.de/t]Tw[/url] | [url=http://florian-pigorsch.de/fb]Fb[/url]
Mr.Yuck

[quote="flopp"]
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.
[/quote]

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.  :)
Benutzeravatar
flopp
Vereinsmitglied
Vereinsmitglied
Beiträge: 1008
Registriert: 18.03.2012, 17:02

You're welcome ;)
[url=http://www.flopp-caching.de/]Flopps Tolle Karte[/url] | [url=http://www.florian-pigorsch.de/oc]OC[/url] | [url=http://www.florian-pigorsch.de/gc]GC[/url] | [url=http://florian-pigorsch.de/+]G+[/url] | [url=http://florian-pigorsch.de/t]Tw[/url] | [url=http://florian-pigorsch.de/fb]Fb[/url]
following

[url=http://forum.opencaching-network.org/index.php?action=profile;u=384]Harrie[/url] also knows how the translations in Polish code work.
Antworten