bug-sourceinstall
[Top][All Lists]
Advanced

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

[bug-sourceinstall] [patch #6317] patch for sourceinstall-gtk/action.c


From: Jorma Karvonen
Subject: [bug-sourceinstall] [patch #6317] patch for sourceinstall-gtk/action.c
Date: Thu, 06 Dec 2007 20:41:40 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; fi-FI; rv:1.8.1.8) Gecko/20071015 SUSE/2.0.0.8-1.2 Firefox/2.0.0.8

URL:
  <http://savannah.gnu.org/patch/?6317>

                 Summary: patch for sourceinstall-gtk/action.c
                 Project: GNU Source Installer
            Submitted by: jormak
            Submitted on: Thursday 12/06/2007 at 22:41
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

47c47
<     char *title = "Adding new package";
---
>     char *title = gettext ( "Adding new package" );
56,57c56,57
<       dialog_warning(title, "Invalid package",
<                      "Not a regular file or directory:", filename);
---
>       dialog_warning(title, gettext ( "Invalid package" ),
>                      gettext ( "Not a regular file or directory:" ), 
> filename);
62,63c62,63
<       dialog_warning(title, "Package already exists",
<                      "Could not create already existing package:",
---
>       dialog_warning(title, gettext ( "Package already exists" ),
>                      gettext ( "Could not create already existing package:" ),
75,76c75,76
<       dialog_warning(title, "Error updating package information",
<                      "Could not update and close the package information.",
---
>       dialog_warning(title, gettext ( "Error updating package information" ),
>                      gettext ( "Could not update and close the package 
> information."
),
85,86c85,86
<       dialog_message(title, "Package added successfully",
<                      "Your new package has been successfully added.", 0);
---
>       dialog_message(title, gettext ( "Package added successfully" ),
>                      gettext ( "Your new package has been successfully 
> added." ), 0);
103c103
<                      "Could not initialize build.", 0);
---
>                      gettext ( "Could not initialize build." ), 0);
111,112c111,112
<           dialog_warning(title, "Could not change build directory",
<                          "Could not change build directory to reconfigure 
package.",
---
>           dialog_warning(title, gettext ( "Could not change build directory" 
> ),
>                          gettext ( "Could not change build directory to 
> reconfigure package."
),
125c125
<                          "Error detecting configuration script.", 0);
---
>                          gettext ( "Error detecting configuration script." ), 
> 0);
141,142c141,142
<       dialog_warning(title, "Makefile detection failed",
<                      "Failed to detect Makefile or Makefile features.",
---
>       dialog_warning(title, gettext ( "Makefile detection failed" ),
>                      gettext ( "Failed to detect Makefile or Makefile 
> features." ),
153,154c153,154
<           dialog_warning(title, "Staged installation not supported",
<                          "This package does not support staged installation.",
---
>           dialog_warning(title, gettext ( "Staged installation not supported"
),
>                          gettext ( "This package does not support staged 
> installation." ),
161,162c161,162
<               (title, "Staged installation not supported",
<                "This package does not support staged installation.\nHowever, 
prefix
redirection could work. It is error-prone and discouraged.\n\nDo you want to
try using prefix redirection?",
---
>               (title, gettext ( "Staged installation not supported" ),
>                gettext ( "This package does not support staged 
> installation.\nHowever,
prefix redirection could work. It is error-prone and discouraged.\n\nDo you
want to try using prefix redirection?" ),
175,176c175,176
<                          "Could not install the configured source code.\n"
<                          "Check console for the reasons behind the error.",
---
>                          gettext ( "Could not install the configured source 
> code.\n"
>                          "Check console for the reasons behind the error." ),
187c187
<                      "Package build processes failed.\n"
---
>                      gettext ( "Package build processes failed.\n"
190c190
<                      "choosing Save Log.", 0);
---
>                      "choosing Save Log." ), 0);
202,203c202,203
<                          "Test installation failed.\n"
<                          "Real installation will not be attempted.", 0);
---
>                          gettext ( "Test installation failed.\n"
>                          "Real installation will not be attempted." ), 0);
212,213c212,213
<               dialog_warning(title, "Conflict test failed",
<                              "Could not perform the package conflict test.",
---
>               dialog_warning(title, gettext ( "Conflict test failed" ),
>                              gettext ( "Could not perform the package 
> conflict test." ),
231,232c231,232
<               i = dialog_confirm(title, "Conflicts detected",
<                                  "Installing this package would overwrite 
files of other
packages!\nThe files involved are:\n",
---
>               i = dialog_confirm(title, gettext ( "Conflicts detected" ),
>                                  gettext ( "Installing this package would 
> overwrite files of other
packages!\nThe files involved are:\n" ),
234c234
<                                  "Do you really want to overwrite the already 
claimed files?");
---
>                                  gettext ( "Do you really want to overwrite 
> the already claimed
files?" ));
252,253c252,253
<                          "Failed to install binaries to their final 
location.\n"
<                          "See the console for the reasons behind the error.",
---
>                          gettext ( "Failed to install binaries to their final 
> location.\n"
>                          "See the console for the reasons behind the error." 
> ),
274c274
<     char *title = "Configuration";
---
>     char *title = gettext ( "Configuration" );
283c283
<                          "Failed to detect configure options.", 0);
---
>                          gettext ( "Failed to detect configure options." ), 
> 0);
300,301c300,301
<                      "Configuration script failed.\n"
<                      "Check the console for the reasons behind the error.\n",
---
>                      gettext ( "Configuration script failed.\n"
>                      "Check the console for the reasons behind the error.\n" 
> ),
323c323
<     char *title = "Find configure script";
---
>     char *title = gettext ( "Find configure script" );
329c329
<                      "Error searching for a suitable configuration script.",
---
>                      gettext ( "Error searching for a suitable configuration 
> script."
),
335,336c335,336
<       dialog_warning(title, "No configuration script available",
<                      "Could not detect a suitable script or script-generating 
script",
---
>       dialog_warning(title, gettext ( "No configuration script available" ),
>                      gettext ( "Could not detect a suitable script or 
> script-generating
script" ),
348c348
<                                      "Multiple build directories have been 
detected.\nThis is a
sometimes a deprecated way to support different systems.\nPlease select a
build directory from these choices.",
---
>                                      gettext ( "Multiple build directories 
> have been detected.\nThis
is a sometimes a deprecated way to support different systems.\nPlease select a
build directory from these choices." ),
358c358
<                      "Could not move to the build subdirectory.", 0);
---
>                      gettext ( "Could not move to the build subdirectory." ), 
> 0);
375c375
<     char *title = "Install package";
---
>     char *title = gettext ( "Install package" );
383,385c383,385
<       dialog_warning(title, "Failed to find source code",
<                      "This package source code is not reachable, \n"
<                      "even though it should be available.", 0);
---
>       dialog_warning(title, gettext ( "Failed to find source code" ),
>                      gettext ( "This package source code is not reachable, \n"
>                      "even though it should be available." ), 0);
396,397c396,397
<       dialog_warning(title, "Error closing package",
<                      "Error trying to finalize and close the package.",
---
>       dialog_warning(title, gettext ( "Error closing package" ),
>                      gettext ( "Error trying to finalize and close the 
> package." ),
406,407c406,407
<       dialog_message(title, "Installation complete",
<                      "Package has been successfully installed.", 0);
---
>       dialog_message(title, gettext ("Installation complete" ),
>                      gettext ( "Package has been successfully installed." ), 
> 0);
415c415
<     char *title = "Remove package";
---
>     char *title = gettext ( "Remove package" );
431,432c431,432
<                              "Could not initialize build for source-assisted "
<                              "uninstallation.", 0);
---
>                              gettext ( "Could not initialize build for 
> source-assisted "
>                              "uninstallation." ), 0);
442c442
<                          "Could not uninstall binaries.", 0);
---
>                          gettext ( "Could not uninstall binaries." ), 0);
453c453
<                          "Could not remove stored source code", 0);
---
>                          gettext ( "Could not remove stored source code" ), 
> 0);
463,464c463,464
<       dialog_warning(title, "Error closing package",
<                      "Could not finalize and close the package.", 0);
---
>       dialog_warning(title, gettext ( "Error closing package" ),
>                      gettext ( "Could not finalize and close the package." ), 
> 0);
472,473c472,473
<       dialog_message(title, "Removal complete",
<                      "Package has been successfully removed.", 0);
---
>       dialog_message(title, gettext ( "Removal complete" ),
>                      gettext ( "Package has been successfully removed." ), 0);
481c481
<     char *title = "Uninstall package";
---
>     char *title = gettext ( "Uninstall package" );
495,496c495,496
<                          "Could not initialize build "
<                          "for source-assisted uninstallation.", 0);
---
>                          gettext ( "Could not initialize build "
>                          "for source-assisted uninstallation." ), 0);
506c506
<                      "Could not uninstall binaries.", 0);
---
>                      gettext ( "Could not uninstall binaries." ), 0);
516,517c516,517
<       dialog_warning(title, "Error closing package",
<                      "Could not finalize and close the package.", 0);
---
>       dialog_warning(title, gettext ( "Error closing package" ),
>                      gettext ( "Could not finalize and close the package." ), 
> 0);
525,526c525,526
<       dialog_message(title, "Package uninstalled",
<                      "The package has been uninstalled successfully.",
---
>       dialog_message(title, gettext ( "Package uninstalled" ),
>                      gettext ( "The package has been uninstalled 
> successfully." ),
535c535
<     char *title = "Upgrade package";
---
>     char *title = gettext ( "Upgrade package" );
546,547c546,547
<       dialog_warning(title, "Invalid package",
<                      "Not a regular file or directory:", filename);
---
>       dialog_warning(title, gettext ( "Invalid package" ),
>                      gettext ( "Not a regular file or directory:" ), 
> filename);
552,553c552,553
<       dialog_warning(title, "Invalid old package",
<                      "Could not read old package name.", 0);
---
>       dialog_warning(title, gettext ( "Invalid old package" ),
>                      gettext ( "Could not read old package name." ), 0);
561,562c561,562
<       dialog_warning(title, "Cannot start package upgrade",
<                      "Could not start the upgrade procedure, "
---
>       dialog_warning(title, gettext ( "Cannot start package upgrade" ),
>                      gettext ( "Could not start the upgrade procedure, "
564c564
<                      "and that the new package name is valid", 0);
---
>                      "and that the new package name is valid" ), 0);
583,584c583,584
<       dialog_message(title, "Package upgraded successfully.",
<                      "Your package has been successfully upgraded.", 0);
---
>       dialog_message(title, gettext ( "Package upgraded successfully." ),
>                      gettext ( "Your package has been successfully upgraded." 
> ), 0);
586,587c586,587
<       dialog_message(title, "Package _not_ upgraded.",
<                      "The old package has been restored.", 0);
---
>       dialog_message(title, gettext ( "Package _not_ upgraded." ),
>                      gettext ( "The old package has been restored." ), 0);
594c594
<     char *title = "Export information";
---
>     char *title = gettext ( "Export information" );
598c598
<                      "Failed to export the package information.", 0);
---
>                      gettext ( "Failed to export the package information." ), 
> 0);
601,602c601,602
<       dialog_message(title, "Information successfully exported",
<                      "Package information has been successfully written to",
---
>       dialog_message(title, gettext ( "Information successfully exported" ),
>                      gettext ( "Package information has been successfully 
> written to"
),
611c611
<     char *title = "Export binary package";
---
>     char *title = gettext ( "Export binary package" );
619c619
<                      "Failed to export binary package.", 0);
---
>                     gettext ( "Failed to export binary package." ), 0);
627,628c627,628
<       dialog_message(title, "Binary package successfully exported",
<                      "Binary package has been successfully written as",
---
>       dialog_message(title, gettext ("Binary package successfully exported" ),
>                      gettext ( "Binary package has been successfully written 
> as" ),




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?6317>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]