File translation.diff of Package yast2-drbd
Index: yast2-drbd-2.13.1/src/resource_conf.ycp
===================================================================
--- yast2-drbd-2.13.1.orig/src/resource_conf.ycp 2009-01-12 10:35:11.000000000 +0800
+++ yast2-drbd-2.13.1/src/resource_conf.ycp 2009-01-12 10:36:51.000000000 +0800
@@ -338,7 +338,7 @@
{
if ((string)UI::QueryWidget(`id(`n1_name), `Value) == (string)UI::QueryWidget(`id(`n2_name), `Value))
{
- Popup::Warning("Node names must be different.");
+ Popup::Warning(_("Node names must be different."));
ret = nil;
continue;
}
@@ -348,7 +348,7 @@
string str = (string) UI::QueryWidget(`id(the_id), `Value);
if (str == nil || size(str) == 0)
{
- Popup::Warning("Please fill out all fields.");
+ Popup::Warning(_("Please fill out all fields."));
ret = nil;
break;
}
Index: yast2-drbd-2.13.1/src/startup_conf.ycp
===================================================================
--- yast2-drbd-2.13.1.orig/src/startup_conf.ycp 2009-01-12 10:35:10.000000000 +0800
+++ yast2-drbd-2.13.1/src/startup_conf.ycp 2009-01-12 10:36:18.000000000 +0800
@@ -90,7 +90,7 @@
if (! Service::Start("drbd")) {
//Report::Error ( Service::Error());
- Report::Error ("Start Drbd service failed");
+ Report::Error (_("Start Drbd service failed"));
}
continue;
}
@@ -98,7 +98,7 @@
if (ret == "stop_now") {
if (! Service::Stop("drbd")) {
//Report::Error ( Service::Error() );
- Report::Error ("Stop Drbd service failed");
+ Report::Error (_("Stop Drbd service failed"));
}
continue;
}