[chronojump] Added persons merge strings



commit e03a412a44ece539cfbbc8ff868f7bc3561575e7
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Oct 19 16:16:16 2022 +0200

    Added persons merge strings

 src/gui/person/addModify.cs | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/src/gui/person/addModify.cs b/src/gui/person/addModify.cs
index 1b169d7ba..cf71c6f17 100644
--- a/src/gui/person/addModify.cs
+++ b/src/gui/person/addModify.cs
@@ -154,6 +154,14 @@ public class PersonAddModifyWindow
        //PersonAddModifyWindow (Gtk.Window parent, Session currentSession, Person currentPerson, bool 
showCapturePhoto)
        PersonAddModifyWindow (Gtk.Window parent, Session currentSession, Person currentPerson)
        {
+               //this strings will be used on merge persons code. Now are here just to be translated in the 
meantime.
+               LogB.Information (Catalog.GetString ("Merge with another person"));
+               LogB.Information (string.Format (Catalog.GetString ("Merge persons '{0}' with '{1}' in all 
sessions."), "xavi", "jordi") + "\n" +
+                       string.Format (Catalog.GetString ("All tests of person '{0}' will be assigned to 
person '{1}'."),
+                               "jordi", "xavi")); //Are you sure?
+               LogB.Information (Catalog.GetString ("Please, choose person's parameters."));
+               LogB.Information (string.Format (Catalog.GetString ("Please, choose person's parameters at 
session {0}."), "session"));
+
                Glade.XML gladeXML;
                gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "person_win.glade", "person_win", 
null);
                gladeXML.Autoconnect(this);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]