| From Christian Brochec <[email protected]> 
| Tue, 20 Dec 2011 19:43:55 +0100
| Subject: [Audacity-translation] links to manual in Audacity programme (Help 
menu)
> 
> Here is my po file

Christian,

If I save your attached file in poedit then launch Audacity and click on
either "version internet" link in "Bienvenu dans Audacity", the link 
goes to the expected online French version of Quick Help or Manual.  
Do you agree? 

The Help menu items for Quick Help and Manual go to the locally installed 
(English) Manual if "Location of Manual" in the Interface Preferences is 
set to "Local". 

If "Location of Manual" is set to "Internet", then the link is not determined 
in HelpText.cpp but in Menus.cpp, but those strings have not been set to 
be translated.   

You'd need to make this or similar change in Menus.cpp to make the URL
a translatable string:

Index: Menus.cpp
=================================================
--- Menus.cpp   (revision 11380)
+++ Menus.cpp   (working copy)
@@ -5791,7 +5791,10 @@
    ShowHelpDialog( 
       this, 
       FileNames::HtmlHelpIndexFile(true),
-      wxT("http://manual.audacityteam.org/index.php?title=Quick_Help"; ));
+      /* i18n-hint: You can add your two-digit country code to the end of
+      * this URL if there is a near-complete translation, for example
+      * http://manual.audacityteam.org/index.php?title=Quick_Help/fr */
+      (_("http://manual.audacityteam.org/index.php?title=Quick_Help"; )));
 }
 
 void AudacityProject::OnManual()
@@ -5799,7 +5802,10 @@
    ShowHelpDialog( 
       this, 
       FileNames::HtmlHelpIndexFile(false),
-      wxT("http://manual.audacityteam.org/index.php?title=Main_Page"; ));
+      /* i18n-hint: You can add your two-digit country code to the end of
+      * this URL if there is a near-complete translation, for example
+      * http://manual.audacityteam.org/index.php?title=Main_Page/fr */
+      (_("http://manual.audacityteam.org/index.php?title=Main_Page"; )));
 }
 
 void AudacityProject::OnShowLog()

I don't know if Martyn would want to do that. I suppose it doesn't hurt, 
given the internet links in the Welcome Screen are already going to 
the French online Manual when French language is selected.

But is the French Manual complete enough to link to it, or does it need
more of a warning on the front page that it isn't complete? Is it 50%
complete, or 75% complete? 

When it is complete enough, we would also want to consider how we 
could distribute a French Manual for local use as per:
http://wiki.audacityteam.org/wiki/Bug:361 .




Gale 


> Le 20/12/2011 19:28, Gale Andrews a écrit :
> > | From Christian Brochec<[email protected]>
> > | Tue, 20 Dec 2011 19:11:45 +0100
> > | Subject: [Audacity-translation] links to manual in Audacity programme 
> > (Help menu)
> >> they link to adresses indicated in my previous message.
> >>
> >> I do the same work as yours and tested it clicking on Quick help (in web
> >> browser) second line of Help menu (I hope it's correct)
> >>
> >> I deleted Line feed characters so first link in PoEdit is :
> >>    [[file:quick_help.html|Aide rapide]] (doit être installé sur votre
> >> machine, ou sinon<a
> >> href=\"http://manual.audacityteam.org/man/Quick_Help/fr\";>  version
> >> internet</a>)
> >> in one entiere line.
> > Christian,
> >
> > If you are saying it still doesn't work, please send me your working fr.po
> > file off list.
> >
> >
> > Thanks
> >
> >
> >
> > Gale
> >
> >
> >



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Audacity-translation mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-translation

Reply via email to