]> git.pld-linux.org Git - packages/parted.git/blob - parted-BIG_FAT_WARNING.patch
up to 3.6
[packages/parted.git] / parted-BIG_FAT_WARNING.patch
1 --- parted-3.1/parted/ui.c.orig 2012-03-04 21:39:46.283904709 +0100
2 +++ parted-3.1/parted/ui.c      2012-03-06 15:55:54.862325698 +0100
3 @@ -161,6 +161,11 @@
4  static const char* banner_msg = N_(
5  "Welcome to GNU Parted! Type 'help' to view a list of commands.\n");
6  
7 +static char* warning_msg = N_(
8 +"\nWARNING: unlike other partitioning software, Parted does *NOT* wait for\n"
9 +"exit to write changes to partition table, you're experimenting on your\n"
10 +"disk's live body.\n");
11 +
12  static const char* usage_msg = N_(
13  "Usage: parted [OPTION]... [DEVICE [COMMAND [PARAMETERS]...]...]\n"
14  "Apply COMMANDs with PARAMETERS to DEVICE.  If no COMMAND(s) are given, "
15 @@ -1577,7 +1582,7 @@
16  
17          print_using_dev (*dev);
18  
19 -        list = str_list_create (_(banner_msg), NULL);
20 +        list = str_list_create (_(banner_msg), _(warning_msg), NULL);
21          str_list_print_wrap (list, screen_width (), 0, 0, stdout);
22          str_list_destroy (list);
23  
24 --- parted-3.5/po/pl.po.orig    2022-05-08 08:30:52.067865409 +0200
25 +++ parted-3.5/po/pl.po 2022-05-08 08:32:36.797298041 +0200
26 @@ -2928,6 +2928,18 @@ msgstr ""
27  
28  #: parted/ui.c:167
29  msgid ""
30 +"\n"
31 +"WARNING: unlike other partitioning software, Parted does *NOT* wait for\n"
32 +"exit to write changes to partition table, you're experimenting on your\n"
33 +"disk's live body.\n"
34 +msgstr ""
35 +"\n"
36 +"UWAGA: w przeciwieństwie do innych programów do partycjonowania, Parted\n"
37 +"*NIE* nie czeka na wyjście z programu z zapisaniem zmian w tablicy partycji\n"
38 +"- używając go eksperymentuje się na żywym organizmie dysku.\n"
39 +
40 +#: parted/ui.c:167
41 +msgid ""
42  "Usage: parted [OPTION]... [DEVICE [COMMAND [PARAMETERS]...]...]\n"
43  "Apply COMMANDs with PARAMETERS to DEVICE.  If no COMMAND(s) are given, run "
44  "in\n"
This page took 0.073092 seconds and 3 git commands to generate.