Long NavBar entries screwing up UI

Please report bugs here!

Moderator: Thorsten

Post Reply
maxxer
Posts: 33
Joined: Tue Apr 20, 2010 6:35 pm

Long NavBar entries screwing up UI

Post by maxxer »

I just tested upgrading my 1.6 to 1.7, I'm using Italian localization. Navbar entries are probably much longer in Italian, so the navbar won't fit in one line.
The float into li elements makes the rest of the ui go below the categories list.
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Long NavBar entries screwing up UI

Post by Thorsten »

Hi,

I shorted the German and English strings... I only speak these 2 languages. Can you provide new translations for Italian? Would be cool!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
maxxer
Posts: 33
Joined: Tue Apr 20, 2010 6:35 pm

Re: Long NavBar entries screwing up UI

Post by maxxer »

Here's a patch which fixes navbar in IT.

Code: Select all

diff --git a/phpmyfaq/lang/language_it.php b/phpmyfaq/lang/language_it.php
index 24254bd..3ed885e 100644
--- a/phpmyfaq/lang/language_it.php
+++ b/phpmyfaq/lang/language_it.php
@@ -36,9 +36,9 @@ $PMF_LANG["nplurals"] = "2";
 
 // Navigation
 $PMF_LANG["msgCategory"] = "Categorie";
-$PMF_LANG["msgShowAllCategories"] = "Mostra tutte le categorie";
+$PMF_LANG["msgShowAllCategories"] = "Categorie";
 $PMF_LANG["msgSearch"] = "Ricerca";
-$PMF_LANG["msgAddContent"] = "Proposta per una FAQ";
+$PMF_LANG["msgAddContent"] = "Proposta FAQ";
 $PMF_LANG["msgQuestion"] = "Fai una domanda";
 $PMF_LANG["msgOpenQuestions"] = "Domande aperte";
 $PMF_LANG["msgHelp"] = "Aiuto";
@@ -605,7 +605,7 @@ $PMF_LANG["ad_xmlrpc_latest"] = "Questa è l'ultima versione disponibile p
 $PMF_LANG['ad_categ_select'] = 'Selezione la lingua della categoria';
 
 // added v1.5.1 - 2005-09-06 by Thorsten
-$PMF_LANG['msgSitemap'] = 'Mappa del sito';
+$PMF_LANG['msgSitemap'] = 'Mappa sito'; // A bit short... maxxer@yetopen.it
 
 // added v1.5.2 - 2005-09-23 by Lars
 $PMF_LANG['err_inactiveArticle'] = 'Questa FAQ è in revisione e non può essere visualizzata.';
@@ -882,7 +882,7 @@ $PMF_LANG['mainControlCenter'] = 'Configurazione principale';
 $PMF_LANG['recordsControlCenter'] = 'Configurazione delle FAQ';
 
 // added v2.0.0 - 2007-03-17 by Thorsten
-$PMF_LANG['msgInstantResponse'] = 'Ricerca a risposta immediata';
+$PMF_LANG['msgInstantResponse'] = 'Ricerca veloce'; // Immediata -> veloce per far stare la barra di navigazione 2.7 in una sola linea
 $PMF_LANG['msgInstantResponseMaxRecords'] = '. Qui sotto trovi le prime %d faq.';
 
 // added v2.0.0 - 2007-03-29 by Thorsten
I also found out that the login div screws up the page
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Long NavBar entries screwing up UI

Post by Thorsten »

Hi,

thanks, fixed for the next 2.7 preview release.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply