Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » TheIDE : allow single translation file in main package
Re: TheIDE : allow single translation file in main package [message #38223 is a reply to message #38222] Fri, 07 December 2012 12:19 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1308
Registered: September 2007
Ultimate Contributor
Hi, both things are quite unrelated.

The context can be set by \v option (see manual) :

t_("myContext\vMyString");

The patch above just allows to keep a single translation file per application, collecting ALL translations from single packages, if they don't have internal .t files.
Anyays, you still have the choice of a translation file per package as before; if you provide it, the behaviour is to collect strings from the package in its corresponding .t file.
If you don't have a .t inside package, but you have a .t file in main package, then the patch allows to collect ALL translations of ALL packages belonging to the application in main package's .t file.

Hope it's clear enough....

Max
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: true dynamic dispatching with Upp?
Next Topic: Fixing translations
Goto Forum:
  


Current Time: Sat Jul 19 11:21:11 CEST 2025

Total time taken to generate the page: 0.03051 seconds