Author: Diego Barrios Romero <[email protected]>
Date:   Fri Feb 17 01:47:10 2012 +0100

Internationalized strings

---

 synfig-core/src/tool/main.cpp |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/synfig-core/src/tool/main.cpp b/synfig-core/src/tool/main.cpp
index 84b98e0..fb70c69 100644
--- a/synfig-core/src/tool/main.cpp
+++ b/synfig-core/src/tool/main.cpp
@@ -459,25 +459,26 @@ int main(int ac, char* av[])
                        Layer::Handle layer =
                                
synfig::Layer::create(vm["layer-info"].as<string>());
 
-                       cout << "Layer Name: " << layer->get_name() << endl;
-                       cout << "Localized Layer Name: " << 
layer->get_local_name() << endl;
-                       cout << "Version: " << layer->get_version() << endl;
+                       cout << _("Layer Name: ") << layer->get_name() << endl;
+                       cout << _("Localized Layer Name: ")
+                                << layer->get_local_name() << endl;
+                       cout << _("Version: ") << layer->get_version() << endl;
 
                        Layer::Vocab vocab = layer->get_param_vocab();
                        for(; !vocab.empty(); vocab.pop_front())
                        {
-                               cout << "param - " << vocab.front().get_name();
+                               cout << _("param - ") << 
vocab.front().get_name();
                                if(!vocab.front().get_critical())
-                                       cout << " (not critical)";
-                               cout << endl << "\tLocalized Name: "
+                                       cout << _(" (not critical)");
+                               cout << endl << _("\tLocalized Name: ")
                                         << vocab.front().get_local_name() << 
endl;
 
                                if(!vocab.front().get_description().empty())
-                                       cout << "\tDescription: "
+                                       cout << _("\tDescription: ")
                                                 << 
vocab.front().get_description() << endl;
 
                                if(!vocab.front().get_hint().empty())
-                                       cout << "\tHint: "
+                                       cout << _("\tHint: ")
                                                 << vocab.front().get_hint() << 
endl;
                        }
 


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to