>From 8c1e839c2df9749869a8dbf1804df22fac8d04e0 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Fri, 14 Aug 2009 12:47:27 +0200 Subject: [PATCH] Merge some of the menu generation --- transl/lang.php | 2 +- transl/lib.php | 9 +++++++++ transl/resfile.php | 2 +- transl/resource.php | 3 +-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/transl/lang.php b/transl/lang.php index 91aee9d..5f0fd6f 100644 --- a/transl/lang.php +++ b/transl/lang.php @@ -88,7 +88,7 @@ function dump_table($table) <?php echo get_lang_name($lang) ?> language - Wine translations -

>

+

diff --git a/transl/lib.php b/transl/lib.php index e584f3c..9e5b1a7 100644 --- a/transl/lib.php +++ b/transl/lib.php @@ -252,6 +252,9 @@ function dump_menu_root() function dump_menu_lang($lang, $link = TRUE) { + dump_menu_root(); + echo " > "; + if ($link) echo gen_lang_a($lang); echo get_lang_name($lang); @@ -261,6 +264,9 @@ function dump_menu_lang($lang, $link = TRUE) function dump_menu_resfile($lang, $resfile, $link = TRUE) { + dump_menu_lang($lang); + echo " > "; + if ($link) echo gen_resfile_a($lang, $resfile); echo get_resfile_name($resfile); @@ -270,6 +276,9 @@ function dump_menu_resfile($lang, $resfile, $link = TRUE) function dump_menu_resource($lang, $resfile, $type, $id) { + dump_menu_resfile($lang, $resfile); + echo " > "; + echo get_resource_name($type, $id); } diff --git a/transl/resfile.php b/transl/resfile.php index f956845..29909ed 100644 --- a/transl/resfile.php +++ b/transl/resfile.php @@ -15,7 +15,7 @@ $msgs = array(); Module <?php echo $resfile?> - Wine translations - > > +

Module

diff --git a/transl/resource.php b/transl/resource.php index 4fdd9f0..d8f1e20 100644 --- a/transl/resource.php +++ b/transl/resource.php @@ -18,8 +18,7 @@ $compare = isset($_REQUEST['compare']); <?php echo get_resource_name($type, $id) ?> from <?php echo $resfile?> - Wine translation - > > > - +

Dump of

-- 1.6.0.6