[Feed-collector-svn] SF.net SVN: feed-collector: [96] trunk
Status: Beta
Brought to you by:
c167
From: <c1...@us...> - 2007-01-06 16:38:27
|
Revision: 96 http://feed-collector.svn.sourceforge.net/feed-collector/?rev=96&view=rev Author: c167 Date: 2007-01-06 08:38:25 -0800 (Sat, 06 Jan 2007) Log Message: ----------- Modified Paths: -------------- trunk/page_main.php Added Paths: ----------- trunk/i18n/de_DE/ trunk/i18n/de_DE/LC_MESSAGES/ trunk/i18n/en_EN/ trunk/i18n/en_EN/LC_MESSAGES/ Removed Paths: ------------- trunk/i18n/de_DE.php trunk/i18n/en_EN.php trunk/i18n/strings.php trunk/styles/sinorca2/ Deleted: trunk/i18n/de_DE.php =================================================================== --- trunk/i18n/de_DE.php 2007-01-06 15:13:49 UTC (rev 95) +++ trunk/i18n/de_DE.php 2007-01-06 16:38:25 UTC (rev 96) @@ -1,92 +0,0 @@ -<?php -/* - * Language file - * This is the language-file for: - * GERMAN - * - * @version 0.1 - * @author Stefan Valouch - */ -//$TEXT_css_ = - -// General Section -// Strings in here may appear on every page -$TEXT_global_navigation = "Navigation:"; -$TEXT_global_navigate_this_page = "Seitennavigation"; -$TEXT_global_Sample_menu = "Sample menu"; -$TEXT_global_you_are_here = "Sie sind hier: "; -$TEXT_global_main = "Hauptseite"; -$TEXT_global_search = "Suchen"; -$TEXT_global_searchresults = "Suchergebnisse"; -$TEXT_global_show = ""; -$TEXT_global_gototop = "Go to the top of this page"; -$TEXT_global_top = "^ TOP"; -// blocks -$TEXT_global_b1_title = "<a href=\"?page=version\">dev://VERSION</a>"; -$TEXT_global_b1_content = "<u><b>Version: 0.2</b></u><br /> Das ist die erste Version des Scriptes. Ein Teil des Codes funktioniert bereits, aber noch können weder Feeds geparsed werden noch News präsentiert werden."; -$TEXT_global_b2_title = "<a href=\"?page=php\">dev://PHP</a>"; -$TEXT_global_b2_content = "<u><b>Process: 20 %</b></u><br /> Es gibt Probleme mit den Datenbankfunktionen.<br />Der Teil des Codes, der die Projektseiten darstellt, funktioniert wie Sie sehen, sonst würden Sie das hier nicht sehen ;-)"; -$TEXT_global_b3_title = "<a href=\"?page=mysql\">dev://MySQL</a>"; -//$TEXT_global_b3_content = "<u><b>Process: 20 %</b></u><br /> Die Channels-Tabelle ist fast fertig, aber ich finde fast täglich Dinge, die man vielleicht noch hinzunehmen könnte, auch bin ich mir nicht sicher, ob ich für alle benötigten Information entsprechende Spalten in den feed-Tabellen habe."; -$TEXT_global_b3_content = "<u><b>Process: 20 %</b></u><br /> Channels-Tabelle fast fertig, finde fast täglich Dinge, die man vielleicht noch hinzunehmen könnte."; -$TEXT_global_b4_title = "<a href=\"?page=html\">dev://HTML</a>"; -$TEXT_global_b4_content = "<u><b>Process: 10 %</b></u><br /> Diese Seite unterliegt ständiger Entwicklung. \n <span class=\"titleTip\" title=\"At the time\">ATM</span> gibt es keine weiteren Seiten ausser diesen zu sehen, \n aber ich arbeite daran!"; -$TEXT_global_b5_title = "<a href=\"?page=css\">dev://CSS</a>"; -$TEXT_global_b5_content = "<u><b>Process: 90 %</b></u><br /> Das Stylesheet für das Standart-Design ist fast fertig."; -// links -$TEXT_global_links = array('Home'=>'?page=main', 'News'=>'?page=news'); - -// The main Page -// page = main - -$TEXT_main_site_title = "Feed collector - Watch the FEED!"; -$TEXT_main_site_title = "Feed collector - Watch the FEED!"; -$TEXT_main_related_sites = "Related sites:"; -$TEXT_main_more_rel_sites = "More related sites:"; -$TEXT_main_title = "Feed collector!"; -$TEXT_main_welcome = "› Willkommen..."; -$TEXT_main_Sample_menu = "Sample menu"; -$TEXT_main_sites = "Seiten:"; - - -$TEXT_main_1_id = "welcome"; -$TEXT_main_1_title = "Willkommen"; -$TEXT_main_1_content = "<p>Wilkommen auf der Homepage des \"feed collector\". Das ist die Hauptseite, die Ihnen erklären \n wird, was \"feed collector\" ist.<br />Diese Seite ist erst der Anfang, das eigentliche Script \n ist zurzeit noch pre-Alpha</p>"; -$TEXT_main_2_id = "background"; -$TEXT_main_2_title = "Hintergrund: News-feeds"; -$TEXT_main_2_content = "<p>Wir alle wissen, dass das Internet riesig ist.<br />Sehr riesig! Es gibt unzählbar viele \n Seiten. Um uns auf einfache Weise auf dem laufenden zu halten, bieten uns viele Seiten so genannte\n \"news feeds\" an. Diese Feeds sind recht simple <a href=\"http://de.wikipedia.org/wiki/XML\">XML</a>-Dateien, die einige Informationen enthalten. Es gibt einige verschiedene Standarts und dieses Script wird in der Lage sein, die beiden meist verwendetsten zu verarbeiten:<br /></p>\n <ul>\n <li><a href=\"http://de.wikipedia.org/wiki/RSS\">RSS</a> Versionen 0.9, 1.0 und 2.0</li>\n <li><a href=\"http://de.wikipedia.org/wiki/ATOM\">ATOM</a> Version 1.0</li>\n </ul><p> </p>"; -$TEXT_main_3_id = "overview"; -$TEXT_main_3_title = "Und wofür ist dieses Script?"; -$TEXT_main_3_content = "<p>Einige Leute möchten gerne über die Vorgänge auf einer Seite oder die Entwicklung von Programmen informiert sein. Sie können dazu Programme wie\n <a href=\"http://thunderbird-mail.de/\">Mozilla Thunderbird</a> oer <a href=\"http://google.de/\">RSS OWL</a> benutzen. \n Linux-Benutzer, die das Desktop-System <a href=\"http://kde.org/\">KDE</a> benutzen, haben bereits\n ein sehr gutes Programm: <a href=\"http://google.de/\">aKregator</a></p>"; - -// the page dev://HTML -$TEXT_html_site_title = "Feed collector - Watch the FEED!"; -$TEXT_html_related_sites = "Related sites:"; -$TEXT_html_more_rel_sites = "More related sites:"; -$TEXT_html_title = "Feed collector!"; -$TEXT_html_welcome = "› Willkommen..."; -$TEXT_html_Sample_menu = "Sample menu"; -$TEXT_html_sites = "Seiten:"; - -// the page dev://CSS -$TEXT_css_site_title = "Feed collector - Watch the FEED!"; -$TEXT_css_related_sites = "Related sites:"; -$TEXT_css_more_rel_sites = "More related sites:"; -$TEXT_css_title = "Feed collector!"; -$TEXT_css_welcome = "› Willkommen..."; -$TEXT_css_Sample_menu = "Sample menu"; -$TEXT_css_sites = "Seiten:"; -$TEXT_css_1_id = "welcome"; -$TEXT_css_1_title = "Willkommen"; -$TEXT_css_1_content = "<p>Wilkommen auf der Homepage des \"feed collector\". Das ist die Hauptseite, die Ihnen erklären \n wird, was \"feed collector\" ist.<br />Diese Seite ist erst der Anfang, das eigentliche Script \n ist zurzeit noch pre-Alpha</p>"; -$TEXT_css_2_id = "background"; -$TEXT_css_2_title = "Hintergrund: News-feeds"; -$TEXT_css_2_content = "<p>Wir alle wissen, dass das Internet riesig ist.<br />Sehr riesig! Es gibt unzählbar viele \n Seiten. Um uns auf einfache Weise auf dem laufenden zu halten, bieten uns viele Seiten so genannte\n \"news feeds\" an. Diese Feeds sind recht simple <a href=\"http://de.wikipedia.org/wiki/XML\">XML</a>-Dateien, die einige Informationen enthalten. Es gibt einige verschiedene Standarts und dieses Script wird in der Lage sein, die beiden meist verwendetsten zu verarbeiten:<br /></p>\n <ul>\n <li><a href=\"http://de.wikipedia.org/wiki/RSS\">RSS</a> Versionen 0.9, 1.0 und 2.0</li>\n <li><a href=\"http://de.wikipedia.org/wiki/ATOM\">ATOM</a> Version 1.0</li>\n </ul><p> </p>"; -$TEXT_css_3_id = "overview"; -$TEXT_css_3_title = "Und wofür ist dieses Script?"; -$TEXT_css_3_content = "<p>Einige Leute möchten gerne über die Vorgänge auf einer Seite oder die Entwicklung von Programmen informiert sein. Sie können dazu Programme wie\n <a href=\"http://thunderbird-mail.de/\">Mozilla Thunderbird</a> oer <a href=\"http://google.de/\">RSS OWL</a> benutzen. \n Linux-Benutzer, die das Desktop-System <a href=\"http://kde.org/\">KDE</a> benutzen, haben bereits\n ein sehr gutes Programm: <a href=\"http://google.de/\">aKregator</a></p>"; - -// Image -$IMAGE_de = 'German.gif'; - -?> \ No newline at end of file Deleted: trunk/i18n/en_EN.php =================================================================== --- trunk/i18n/en_EN.php 2007-01-06 15:13:49 UTC (rev 95) +++ trunk/i18n/en_EN.php 2007-01-06 16:38:25 UTC (rev 96) @@ -1,80 +0,0 @@ -<?php -/* - * Language file - * This is the language-file for: - * GERMAN - * - * @version 0.1 - * @author Stefan Valouch - */ -//$TEXT__ = - -// General Section -// Strings in here may appear on every page -$TEXT_global_navigate_this_page = "Navigation"; -$TEXT_global_navigation = "Navigation:"; -$TEXT_global_Sample_menu = "Sample menu"; -$TEXT_global_you_are_here = "You are here: "; -$TEXT_global_main = "Hauptseite"; -$TEXT_global_search = "Suchen"; -$TEXT_global_searchresults = "Suchergebnisse"; -$TEXT_global_show = ""; -$TEXT_global_gototop = "Go to the top of this page"; -$TEXT_global_top = "^ TOP"; -// blocks -$TEXT_global_b1_title = "<a href=\"?page=version\">dev://VERSION</a>"; -$TEXT_global_b1_content = "<u><b>Version: 0.2</b></u><br /> This is the initial release. some code is working, but the script cannot parse feeds or display items"; -$TEXT_global_b2_title = "<a href=\"?page=php\">dev://PHP</a>"; -$TEXT_global_b2_content = "<u><b>Progress: 20 %</b></u><br /> There are problems with the database-connection.<br />The page-code, that is finished yet, works fine, otherwise you would not see this ;-)"; -$TEXT_global_b3_title = "<a href=\"?page=mysql\">dev://MySQL</a>"; -$TEXT_global_b3_content = "<u><b>Progress: 20 %</b></u><br /> The Channels-table is nearly finished, but I find \n new things to add every day. I'm not sure if I included all the necesary information \n in the feed_tables."; -$TEXT_global_b4_title = "<a href=\"?page=html\">dev://HTML</a>"; -$TEXT_global_b4_content = "<u><b>Progress: 10 %</b></u><br /> The site is under heavy development. \n <span class=\"titleTip\" title=\"At the time\">ATM</span>, there are no more pages to see, \n cause there are problems with the stylesheets."; -$TEXT_global_b5_title = "<a href=\"?page=css\">dev://CSS</a>"; -$TEXT_global_b5_content = "<u><b>Progress: 90 %</b></u><br /> The stylesheet of the default-template is nearly finished."; - - -// The main Page -// page = main - -$TEXT_main_site_title = "Feed collector - Watch the FEED!"; -$TEXT_main_related_sites = "Related sites:"; -$TEXT_main_more_rel_sites = "More related sites:"; -$TEXT_main_title = "Feed collector!"; -$TEXT_main_welcome = "› Welcome..."; -$TEXT_main_sample_menu = "Sample menu"; -$TEXT_main_sites = "Sites:"; -$TEXT_main_l_highlight = " class=\"highlight\""; -$TEXT_main_l1_link = "?page=main"; -$TEXT_main_l1_title = "Home"; -$TEXT_main_l2_link = ""; -$TEXT_main_l2_title = "Deadlink"; -$TEXT_main_l3_link = ""; -$TEXT_main_l3_title = "Other"; -$TEXT_main_l4_link = ""; -$TEXT_main_l4_title = "Header"; -$TEXT_main_l5_link = ""; -$TEXT_main_l5_title = "Links"; -/* <a href="./index.php" class="highlight">Home</a> | - <a href="./index.php">Deadlink</a> | - <a href="./index.html">Other</a> | - <a href="./index.html">Header</a> | - <a href="./index.html">Links</a> -*/ -$TEXT_main_1_id = "welcome"; -$TEXT_main_1_title = "Welcome"; -$TEXT_main_1_content = "<p>Welcome to the home of \"feed collector\". This is the main page, that will explain You, what \n \"feed collector\" is.<br />This page is only the beginning, as the main script is pre-alpha \n at this time.<p>"; -$TEXT_main_2_id = "background"; -$TEXT_main_2_title = "Background: News-feeds"; -$TEXT_main_2_content = "<p>We all know that the internet is huge.<br />Very huge. There are much more pages and sites \n than anyone could ever count. In order to keep us up to date, there are tens of thousands of sites\n provide so called \"news feeds\". These feeds are quite simple <a href=\"http://en.wikipedia.org/wiki/XML\">XML</a>-pages containing some informations. There are several standarts for these feed files, this script will be able to parse the two most popular ones:<br /></p>\n <ul>\n <li><a href=\"http://en.wikipedia.org/wiki/RSS\">RSS</a> Versions 0.9, 1.0 and 2.0</li>\n <li><a href=\"http://en.wikipedia.org/wiki/ATOM\">ATOM</a> Version 1.0</li>\n </ul>\n<p> </p>"; -$TEXT_main_3_id = "overview"; -$TEXT_main_3_title = "Now what's this script good for?"; -$TEXT_main_3_content = "<p>Some people want to keep an eye on several sites. They can use programms like \n <a href=\"http://thunderbird-mail.de/\">Mozilla Thunderbird</a> or <a href=\"http://google.de/\">RSS OWL</a>. \n Linux users who use the Desktop-system <a href=\"http://kde.org/\">KDE</a> have already a good tool: \n <a href=\"http://google.de/\">aKregator</a></p>"; - -// The error-pages -// page = 404 -$TEXT_404_title = ""; -$TEXT_404_ = ""; - - -?> \ No newline at end of file Deleted: trunk/i18n/strings.php =================================================================== --- trunk/i18n/strings.php 2007-01-06 15:13:49 UTC (rev 95) +++ trunk/i18n/strings.php 2007-01-06 16:38:25 UTC (rev 96) @@ -1,113 +0,0 @@ -<?php -/** - * Created on 02.07.2006 - * This file contains the standard-Strings - * @since 14 - 02.07.2006 - * @author c167 <c1...@us...> - * @version 1.1 - */ - -//$TEXT_css_ = - -// General Section -// Strings in here may appear on every page -$TEXT_global_navigation = _("Navigation:"); -$TEXT_global_navigate_this_page = _("Pagenavigation"); -$TEXT_global_Sample_menu = _("Sample menu"); -$TEXT_global_you_are_here = _("You are here: "); -$TEXT_global_main = _("Main page"); -$TEXT_global_search = _("Search"); -$TEXT_global_searchresults = _("Search results"); -$TEXT_global_show = _("Show"); -$TEXT_global_gototop = _("Go to the top of this page"); -$TEXT_global_top = _("^ TOP"); -// blocks -$TEXT_global_navigate_this_page = _("Navigation"); -$TEXT_global_navigation = _("Navigation:"); -$TEXT_global_Sample_menu = _("Sample menu"); -$TEXT_global_you_are_here = _("You are here: "); -$TEXT_global_main = _("Main page"); -$TEXT_global_search = _("Search"); -$TEXT_global_searchresults = _("Search results"); -$TEXT_global_show = _("Show"); -$TEXT_global_gototop = _("Go to the top of this page"); -$TEXT_global_top = _("^ TOP"); -// links -$TEXT_global_links = array(_("Home")=>'?page=main', _("News")=>'?page=news'); - -// The main Page -// page = main - -$TEXT_main_site_title = _("Feed collector - Watch the FEED!"); -$TEXT_main_related_sites = _("Related sites:"); -$TEXT_main_more_rel_sites = _("More related sites:"); -$TEXT_main_title = _("Feed collector!"); -$TEXT_main_welcome = _("› Welcome..."); -$TEXT_main_sample_menu = _("Sample menu"); -$TEXT_main_sites = _("Sites:"); -$TEXT_main_l_highlight = " class=\"highlight\""; -$TEXT_main_l1_link = "?page=main"; -$TEXT_main_l1_title = _("Home"); -$TEXT_main_l2_link = "link"; -$TEXT_main_l2_title = _("Deadlink"); -$TEXT_main_l3_link = "link"; -$TEXT_main_l3_title = _("Other"); -$TEXT_main_l4_link = "link"; -$TEXT_main_l4_title = _("Header"); -$TEXT_main_l5_link = "link"; -$TEXT_main_l5_title = _("Links"); - -$TEXT_main_1_id = _("welcome"); -$TEXT_main_1_title = _("Welcome"); -$TEXT_main_1_content = _("<p>Welcome to the home of \"feed collector\". This is the main page, that will explain You, what \n \"feed collector\" is.<br />This page is only the beginning, as the main script is pre-alpha \n at this time.<p>"); -$TEXT_main_2_id = _("background"); -$TEXT_main_2_title = _("Background: News-feeds"); -$TEXT_main_2_content = _("<p>We all know that the internet is huge.<br />Very huge. There are much more pages and sites \n than anyone could ever count. In order to keep us up to date, there are tens of thousands of sites\n provide so called \"news feeds\". These feeds are quite simple <a href=\"http://en.wikipedia.org/wiki/XML\">XML</a>-pages containing some informations. There are several standarts for these feed files, this script will be able to parse the two most popular ones:<br /></p>\n <ul>\n <li><a href=\"http://en.wikipedia.org/wiki/RSS\">RSS</a> Versions 0.9, 1.0 and 2.0</li>\n <li><a href=\"http://en.wikipedia.org/wiki/ATOM\">ATOM</a> Version 1.0</li>\n </ul>\n<p> </p>"); -$TEXT_main_3_id = _("overview"); -$TEXT_main_3_title = _("Now what's this script good for?"); -$TEXT_main_3_content = _("<p>Some people want to keep an eye on several sites. They can use programms like \n <a href=\"http://thunderbird-mail.de/\">Mozilla Thunderbird</a> or <a href=\"http://google.de/\">RSS OWL</a>. \n Linux users who use the Desktop-system <a href=\"http://kde.org/\">KDE</a> have already a good tool: \n <a href=\"http://google.de/\">aKregator</a></p>"); - -//Boxes -//$TEXT_main_b1_title = "<a href=\"?page=version\">dev://VERSION</a>"; -$TEXT_main_b1_content = "<u><b>Version: 0.2</b></u><br /> This is the initial release. some code is working, but the script cannot parse feeds or display items"; -$TEXT_main_b2_title = "<a href=\"?page=php\">dev://PHP</a>"; -$TEXT_main_b2_content = "<u><b>Progress: 20 %</b></u><br /> There are problems with the database-connection.<br />The page-code, that is finished yet, works fine, otherwise you would not see this ;-)"; -$TEXT_main_b3_title = "<a href=\"?page=mysql\">dev://MySQL</a>"; -$TEXT_main_b3_content = "<u><b>Progress: 20 %</b></u><br /> The Channels-table is nearly finished, but I find \n new things to add every day. I'm not sure if I included all the necesary information \n in the feed_tables."; -$TEXT_main_b4_title = "<a href=\"?page=html\">dev://HTML</a>"; -$TEXT_main_b4_content = "<u><b>Progress: 10 %</b></u><br /> The site is under heavy development. \n <span class=\"titleTip\" title=\"At the time\">ATM</span>, there are no more pages to see, \n cause there are problems with the stylesheets."; -$TEXT_main_b5_title = "<a href=\"?page=css\">dev://CSS</a>"; -$TEXT_main_b5_content = "<u><b>Progress: 90 %</b></u><br /> The stylesheet of the default-template is nearly finished."; - - -// the page dev://HTML -$TEXT_html_site_title = _("Feed collector - Watch the FEED!"); -$TEXT_html_related_sites = _("Related sites:"); -$TEXT_html_more_rel_sites = _("More related sites:"); -$TEXT_html_title = _("Feed collector!"); -$TEXT_html_welcome = _("› Willkommen..."); -$TEXT_html_Sample_menu = _("Sample menu"); -$TEXT_html_sites = _("Seiten:"); - -// the page dev://CSS -$TEXT_css_site_title = _("Feed collector - Watch the FEED!"); -$TEXT_css_related_sites = _("Related sites:"); -$TEXT_css_more_rel_sites = _("More related sites:"); -$TEXT_css_title = _("Feed collector!"); -$TEXT_css_welcome = _("› Willkommen..."); -$TEXT_css_Sample_menu = _("Sample menu"); -$TEXT_css_sites = _("Seiten:"); -$TEXT_css_1_id = _("welcome"); -$TEXT_css_1_title = _("Willkommen"); -$TEXT_css_1_content = _("<p>Wilkommen auf der Homepage des \"feed collector\". Das ist die Hauptseite, die Ihnen erklären \n wird, was \"feed collector\" ist.<br />Diese Seite ist erst der Anfang, das eigentliche Script \n ist zurzeit noch pre-Alpha</p>"); -$TEXT_css_2_id = _("background"); -$TEXT_css_2_title = _("Hintergrund: News-feeds"); -$TEXT_css_2_content = _("<p>Wir alle wissen, dass das Internet riesig ist.<br />Sehr riesig! Es gibt unzählbar viele \n Seiten. Um uns auf einfache Weise auf dem laufenden zu halten, bieten uns viele Seiten so genannte\n \"news feeds\" an. Diese Feeds sind recht simple <a href=\"http://de.wikipedia.org/wiki/XML\">XML</a>-Dateien, die einige Informationen enthalten. Es gibt einige verschiedene Standarts und dieses Script wird in der Lage sein, die beiden meist verwendetsten zu verarbeiten:<br /></p>\n <ul>\n <li><a href=\"http://de.wikipedia.org/wiki/RSS\">RSS</a> Versionen 0.9, 1.0 und 2.0</li>\n <li><a href=\"http://de.wikipedia.org/wiki/ATOM\">ATOM</a> Version 1.0</li>\n </ul><p> </p>"); -$TEXT_css_3_id = _("overview"); -$TEXT_css_3_title = _("Und wofür ist dieses Script?"); - - -// Image -$IMAGE_de = 'German.gif'; - -?> Modified: trunk/page_main.php =================================================================== --- trunk/page_main.php 2007-01-06 15:13:49 UTC (rev 95) +++ trunk/page_main.php 2007-01-06 16:38:25 UTC (rev 96) @@ -85,9 +85,13 @@ } else { $language = "en_EN"; } -setlocale(LC_ALL, $language); -bindtextdomain("page_$page", "./i18n"); -textdomain("page_$page"); +echo $language; +putenv("LANG=$language"); +echo setlocale(LC_ALL, $language); +echo "<br />"; +echo bindtextdomain("page_main", "./i18n"); +echo "<br />"; +echo textdomain("page_main"); // // Now we're going to replace the placeholders in the template with the important content This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |