Пример #1
0
<?php

require_once "inc/gettext.php";
require_once "inc/links.php";
$title = _('FreeDict-Editor');
require_once 'inc/head.php';
?>
<body>

<h1>FreeDict-Editor</h1>

<div style="float:right"><a href="http://xmlsoft.org/"><img
  src="<?php 
echo fdict_url('images/Libxml2-Logo-180x168.gif');
?>
" alt="libxml2" border="0" hspace="10" /></a></div>

<p style="color: red"><?php 
echo _("FreeDict-Editor is unmaintained!");
?>
</p>

<p><?php 
printf(_("The %sdocumentation%s coming with this application includes the list\nof features in the %sintroduction%s."), '<a href="editordoc.html">', '</a>', '<a href="editordoc.html#freedict-editor-introduction">', '</a>');
?>
</p>

<p><?php 
printf(_("No release of the FreeDict-Editor has been made yet.\nYou can checkout the <tt>freedict-editor</tt>\ndirectory from %sgit%s and try compiling it yourself:"), '<a href="https://github.com/freedict/fd-dictionaries/tree/master/freedict-editor" target="_parent">', '</a>');
?>
</p>
Пример #2
0
<h1><?php 
echo _('Translate this Website');
?>
</h1>


<p><?php 
echo _('To make this website available in another language,
please download the file below, add the translations for your language
below the English translations and email the file to
<a href="mailto:micha@luetzschena.de">micha@luetzschena.de</a>.');
?>
</p>

<p style="align: center"><a href="<?php 
echo fdict_url('freedict.pot');
?>
">freedict.pot</a></p>

<p><?php 
echo _('If you want to update an existing translation, probably
because it leaves some part of the website untranslated, you can get the
<tt>.po</tt> file from:');
?>
</p>

<blockquote><a href="https://github.com/freedict/fd-dictionaries/tree/master/website/locale" target="_parent">https://github.com/freedict/fd-dictionaries/tree/master/website/locale</a></blockquote>

<p><?php 
echo sprintf(_('We can recommend %spoedit%s for editing .po files, even though a text editor is is enough in theory.'), '<a href="http://poedit.net/">', '</a>');
?>
Пример #3
0
<?php

require_once "inc/gettext.php";
require_once "inc/links.php";
$title = _('Database as XML');
require_once 'inc/head.php';
?>
<body>

<h1><?php 
echo _('Database as XML');
?>
</h1>


<p><?php 
echo _('The Download Tables are generated from an XML file.
To access that data easily, eg. for use in a program as
<a href="http://stardict.sf.net/" target="_top">Stardict</a>, you can use this URL:');
?>
</p>

<p style="align: center"><a href="<?php 
echo fdict_url('freedict-database.xml');
?>
">freedict-database.xml</a></p>

<?php 
require_once 'inc/footer.php';
Пример #4
0
echo fdict_url('s.css');
?>
" />
 <link rel="alternate" type="application/rss+xml"
  href="http://sourceforge.net/export/rss2_projnews.php?group_id=1419&amp;rss_fulltext=1"
  title="FreeDict Project News at SourceForge" />
 <title>FreeDict</title>
</head>

<frameset cols="225,*">
  <frame name="menu" src="<?php 
echo fdict_url("menu.php{$langparam}");
?>
" scrolling="auto" marginheight="1" marginwidth="3" />
  <frame name="main" src="<?php 
echo fdict_url("overview.php{$langparam}");
?>
" scrolling="auto" marginheight="5" marginwidth="5" />

  <!-- frame NAME="right" SCROLLING="AUTO" MARGINHEIGHT="5" marginwidth=5 NORESIZE
   SRC="http://sourceforge.net/export/projnews.php?group_id=1419&amp;limit=5&amp;flat=1&amp;show_summaries=0" -->

  <noframes>
   <?php 
global $menu_nohead;
$menu_nohead = 1;
include 'menu.php';
?>
  </noframes>
</frameset>
</html>
Пример #5
0
         $r = find_release($d, $platform);
     }
     if (!isset($d) or !isset($r)) {
         continue;
     }
     $appears = true;
     break;
 }
 if (!$appears) {
     continue;
 }
 // row head: image
 echo "<tr>\n<th bgcolor=\"#eeeeee\">";
 $i = langcode2image($l2);
 if (isset($i)) {
     echo "<img src=\"" . fdict_url($i) . "\" alt=\"" . _($english2) . "\" title=\"" . _($english2) . "\" />";
 } else {
     echo _($english2);
 }
 echo "</th>\n";
 // the download cells
 foreach ($columns as $l1 => $english1) {
     if ($l1 == $l2) {
         echo "<td bgcolor=\"#eeeeee\"></td>\n";
         continue;
     }
     $combination = $l1 . '-' . $l2;
     $d = find_dictionary($combination);
     if (isset($d)) {
         $r = find_release($d, $platform);
     }
Пример #6
0
<a href="<?php 
echo fdict_url('images/dataflow.png');
?>
" target="_top"><img
 src="<?php 
echo fdict_url('images/dataflow.png');
?>
" width="100%" style="background-color: white"
border="0" alt="<?php 
printf("%2.0f", filesize('images/dataflow.png') / 1024);
?>
 kB" /></a>

[<a href="<?php 
echo fdict_url('images/dataflow.svgz');
?>
" type="image/svg+xml">SVG Version</a>,
<?php 
printf("%2.0f", filesize('images/dataflow.svgz') / 1024);
?>
 kB,
<?php 
echo _('possibly plugin needed, eg.');
?>
<a href="http://www.adobe.com/svg/viewer/install/main.html"
target="_parent"><?php 
echo _("Adobe's");
?>
</a>]
Пример #7
0
 <li><small><a href="http://apps.sourceforge.net/mediawiki/freedict/index.php?title=Main_Page"
  target="_parent"><?php 
echo _('Wiki');
?>
</a><br /></small></li>
</ul></td>
</tr>
<tr><td class="menu"><a href="<?php 
echo fdict_url('weblang.php');
?>
" target="main"><?php 
echo _('Translate this Website');
?>
</a></td></tr>
<tr><td class="menu"><a href="<?php 
echo fdict_url('db-as-xml.php');
?>
" target="main"><?php 
echo _('Database as XML');
?>
</a>
</td></tr>

<tr><td class="menuNObg" align="center">
 &copy; 2004-<?php 
echo date('Y');
?>
 <?php 
echo _('FreeDict Project');
?>
</td></tr>