monotone

monotone Commit Details

Date:2009-01-25 01:54:36 (10 years 4 months ago)
Author:Tony Cooper
Branch:net.venge.monotone.contrib.mtn-browse
Commit:0dec34b0159ffc8d2ba12dbdd1ab96667426f52e
Parents: 1b48e8da92f4774222d4a057fd701c95d8b9e414
Message:Now a little bit better at reporting helper application launch errors to the

user.
Changes:
Mmtn-browse (2 diffs)
Mtranslations/mtn-browse.pot (15 diffs)

File differences

mtn-browse
11581158
11591159
11601160
1161
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
11621177
11631178
11641179
......
11681183
11691184
11701185
1171
1186
11721187
1188
1189
11731190
11741191
11751192
if (defined($mime_obj = Gnome2::VFS::Mime::Type->new($mime_type)));
if (defined($app))
{
$app->launch("file://" . $file_name);
my $status;
if (($status = $app->launch("file://" . $file_name)) ne "ok")
{
my $dialog = Gtk2::MessageDialog->new_with_markup
($browser->{window},
["modal"],
"warning",
"close",
__x("Gnome cannot launch the helper application\n"
. "for MIME type {mime_type}.\nGnome gave:\n"
. "<b><i>{gnome_error_message}</i></b>",
mime_type => $mime_type,
gnome_error_message => $status));
$dialog->run();
$dialog->destroy();
}
}
else
{
"info",
"close",
__x("No application is associated with\n"
. "Mime type {mime_type},\nusing Vi instead.",
. "MIME type {mime_type},\nusing Vi instead.",
mime_type => $mime_type));
$dialog->run();
$dialog->destroy();
system("xterm -e vi " . $file_name . " &");
}
translations/mtn-browse.pot
88
99
1010
11
11
1212
1313
1414
......
1717
1818
1919
20
20
2121
2222
2323
2424
2525
2626
27
27
2828
2929
3030
3131
3232
3333
34
34
3535
3636
3737
3838
39
39
4040
4141
4242
43
43
4444
4545
4646
47
47
4848
4949
5050
51
51
5252
5353
5454
55
55
5656
5757
5858
5959
6060
6161
62
62
6363
6464
6565
6666
67
67
6868
6969
7070
71
71
7272
7373
74
75
76
77
78
79
80
81
82
7483
75
84
7685
7786
7887
79
88
8089
8190
8291
83
92
8493
8594
8695
87
96
8897
8998
9099
91
100
92101
93102
94103
95104
96
105
97106
98107
99108
100
109
101110
102111
103112
104
113
105114
106115
107116
108
117
109118
110119
111120
......
114123
115124
116125
117
126
118127
119128
120129
121130
122
131
123132
124133
125134
126
135
127136
128137
129138
130
139
131140
132141
133142
......
136145
137146
138147
139
148
140149
141150
142151
143
152
144153
145154
146155
147
156
148157
149158
150159
151
160
152161
153162
154163
155
164
156165
157166
158167
159168
160169
161170
162
171
163172
164173
165174
166
175
167176
168177
169178
170179
171180
172
181
173182
174183
175184
......
177186
178187
179188
180
189
181190
182191
183192
......
185194
186195
187196
188
197
189198
190199
191200
192201
193
202
194203
195204
196205
197206
198
207
199208
200209
201210
......
204213
205214
206215
207
216
208217
209218
210219
211220
212
221
213222
214223
215224
......
218227
219228
220229
221
230
222231
223232
224233
......
274283
275284
276285
277
286
278287
279288
280289
281
290
282291
283292
284293
285
294
286295
287296
288297
289
298
290299
291300
292301
293302
294303
295304
296
305
297306
298307
299308
300
309
301310
302311
303312
304
313
305314
306315
307316
308317
309318
310319
311
320
312321
313322
314323
......
396405
397406
398407
399
408
400409
401410
402411
......
404413
405414
406415
407
416
408417
409418
410419
411420
412421
413422
414
423
415424
416425
417426
......
419428
420429
421430
422
431
423432
424433
425434
426435
427
436
428437
429438
430439
431
440
432441
433442
434443
435
444
436445
437446
438447
439
448
440449
441450
442451
443452
444453
445
454
446455
447456
448457
......
466475
467476
468477
469
478
470479
471480
472481
473482
474483
475484
476
485
477486
478487
479488
480489
481490
482491
483
492
484493
485494
486495
487496
488497
489
498
490499
491500
492501
493502
494
503
495504
496505
497506
......
649658
650659
651660
652
661
653662
654663
655664
656
665
657666
658667
659668
660
669
661670
662671
663672
664
673
665674
666675
667676
668
677
669678
670679
671680
......
723732
724733
725734
726
735
727736
728737
729738
730
739
731740
732741
733742
734
743
735744
736745
737746
738
747
739748
740749
741750
742751
743752
744
753
745754
746755
747756
msgstr ""
"Project-Id-Version: mtn-browse 0.1\n"
"Report-Msgid-Bugs-To: support@coosoft.plus.com\n"
"POT-Creation-Date: 2009-01-11 10:45+0000\n"
"POT-Creation-Date: 2009-01-25 00:49+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#: mtn-browse:211
#: mtn-browse:214
#, perl-brace-format
msgid ""
"Your preferences cannot be loaded:\n"
"{error_message}"
msgstr ""
#: mtn-browse:233
#: mtn-browse:236
#, perl-brace-format
msgid ""
"{error_message}\n"
"This is fatal, I am going to exit."
msgstr ""
#: mtn-browse:273
#: mtn-browse:276
#, perl-brace-format
msgid "Cannot open database {database_name}."
msgstr ""
#: mtn-browse:398
#: mtn-browse:403
msgid "Copyright © 2007-2009 Anthony Cooper"
msgstr ""
#: mtn-browse:399
#: mtn-browse:404
msgid "A graphical front-end browser for Monotone VCS databases"
msgstr ""
#: mtn-browse:401 mtn-browse:402
#: mtn-browse:406 mtn-browse:407
msgid "TBD"
msgstr ""
#: mtn-browse:660
#: mtn-browse:665
msgid "Not implemented."
msgstr ""
#: mtn-browse:1074 lib/perl/History.pm:1858
#: mtn-browse:1079 lib/perl/History.pm:1862
#, perl-brace-format
msgid ""
"Cannot generate temporary file name:\n"
"{error_message}."
msgstr ""
#: mtn-browse:1090 lib/perl/Common.pm:521 lib/perl/History.pm:1875
#: mtn-browse:1095 lib/perl/Common.pm:523 lib/perl/History.pm:1879
#, perl-brace-format
msgid "{error_message}."
msgstr ""
#: mtn-browse:1149
#: mtn-browse:1155
msgid "Unknown file type, not viewing."
msgstr ""
#: mtn-browse:1167
#: mtn-browse:1172
#, perl-brace-format
msgid ""
"Gnome cannot launch the helper application\n"
"for MIME type {mime_type}.\n"
"Gnome gave:\n"
"<b><i>{gnome_error_message}</i></b>"
msgstr ""
#: mtn-browse:1188
#, perl-brace-format
msgid ""
"No application is associated with\n"
"Mime type {mime_type},\n"
"MIME type {mime_type},\n"
"using Vi instead."
msgstr ""
#: mtn-browse:1553
#: mtn-browse:1578
msgid "File Name"
msgstr ""
#: mtn-browse:1568
#: mtn-browse:1593
msgid "Last Update"
msgstr ""
#: mtn-browse:1578 lib/perl/AdvancedFind.pm:305 lib/perl/AdvancedFind.pm:657
#: mtn-browse:1603 lib/perl/AdvancedFind.pm:305 lib/perl/AdvancedFind.pm:659
msgid "Author"
msgstr ""
#: mtn-browse:1764
#: mtn-browse:1795
#, perl-brace-format
msgid "<WorkSpace> ({database_name})"
msgstr ""
#: mtn-browse:1806 lib/perl/AdvancedFind.pm:790
#: mtn-browse:1837 lib/perl/AdvancedFind.pm:798
msgid "Fetching branch list"
msgstr ""
#: mtn-browse:1813 lib/perl/AdvancedFind.pm:798
#: mtn-browse:1844 lib/perl/AdvancedFind.pm:806
msgid "Populating branch list"
msgstr ""
#: mtn-browse:1855
#: mtn-browse:1886
msgid "Auto selecting head revision"
msgstr ""
#: mtn-browse:1870
#: mtn-browse:1901
#, perl-brace-format
msgid ""
"The `{branch}' branch has multiple heads\n"
"The head revision ids are:"
msgstr ""
#: mtn-browse:1906 lib/perl/AdvancedFind.pm:847 lib/perl/History.pm:154
#: mtn-browse:1937 lib/perl/AdvancedFind.pm:855 lib/perl/History.pm:154
#: lib/perl/History.pm:355
msgid "Fetching revision list"
msgstr ""
#: mtn-browse:1919 lib/perl/AdvancedFind.pm:862
#: mtn-browse:1950 lib/perl/AdvancedFind.pm:870
msgid "Populating revision list"
msgstr ""
#: mtn-browse:1975
#: mtn-browse:2006
msgid "Fetching manifest"
msgstr ""
#: mtn-browse:1985
#: mtn-browse:2016
#, perl-brace-format
msgid ""
"The `{tag_name}' tag is not unique on this branch.\n"
"The matching revision ids are:"
msgstr ""
#: mtn-browse:2054
#: mtn-browse:2085
msgid "Populating directory list"
msgstr ""
#: mtn-browse:2126
#: mtn-browse:2157
msgid "Populating file details"
msgstr ""
#: mtn-browse:2363
#: mtn-browse:2394
msgid "Unknown Contents"
msgstr ""
#: mtn-browse:2420
#: mtn-browse:2451
msgid "Hex dump:\n"
msgstr ""
#: mtn-browse:2575
#: mtn-browse:2606
msgid ""
"Your version of Monotone does not support\n"
"suspend certificates. I will adjusted your\n"
"preferences accordingly."
msgstr ""
#: mtn-browse:2593 lib/perl/Common.pm:997 lib/perl/Preferences.pm:250
#: mtn-browse:2624 lib/perl/Common.pm:1157 lib/perl/Preferences.pm:250
msgid "Your preferences could not be saved:\n"
msgstr ""
#: mtn-browse:2634
#: mtn-browse:2665
msgid ""
"The Monotone database is currently locked, please\n"
"dismiss this dialog when this is no longer the case."
msgstr ""
#: mtn-browse:2672
#: mtn-browse:2703
#, perl-brace-format
msgid ""
"Problem with monotone request, got:\n"
"This should not be happening!"
msgstr ""
#: mtn-browse:2688
#: mtn-browse:2719
#, perl-brace-format
msgid ""
"Monotone process unexpectedly exiting with:\n"
"This is fatal, I am going to exit."
msgstr ""
#: mtn-browse:2740
#: mtn-browse:2771
#, perl-brace-format
msgid "terminated by signal {number}"
msgstr ""
#: mtn-browse:2745
#: mtn-browse:2776
#, perl-brace-format
msgid "exited with status {number}"
msgstr ""
#: mtn-browse:2753
#: mtn-browse:2784
#, perl-brace-format
msgid ""
"The mtn subprocess just unexpectedly\n"
"It will be restarted when needed."
msgstr ""
#: mtn-browse:2768
#: mtn-browse:2799
#, perl-brace-format
msgid "waitpid failed: {error_message}"
msgstr ""
#: mtn-browse:2799
#: mtn-browse:2830
#, perl-brace-format
msgid "pipe failed: {error_message}"
msgstr ""
msgid "<Author>"
msgstr ""
#: lib/perl/AdvancedFind.pm:309 lib/perl/AdvancedFind.pm:637
#: lib/perl/AdvancedFind.pm:309 lib/perl/AdvancedFind.pm:639
msgid "Branch"
msgstr ""
msgid "<Tag Name>"
msgstr ""
#: lib/perl/AdvancedFind.pm:625
#: lib/perl/AdvancedFind.pm:627
msgid "Revision Id"
msgstr ""
#: lib/perl/AdvancedFind.pm:647
#: lib/perl/AdvancedFind.pm:649
msgid "Date"
msgstr ""
#: lib/perl/AdvancedFind.pm:902
#: lib/perl/AdvancedFind.pm:910
msgid "Finding revisions"
msgstr ""
#: lib/perl/AdvancedFind.pm:934
#: lib/perl/AdvancedFind.pm:942
#, perl-brace-format
msgid ""
"There is a problem with your query, Monotone gave:\n"
"<b><i>{error_message}</i></b>"
msgstr ""
#: lib/perl/AdvancedFind.pm:962
#: lib/perl/AdvancedFind.pm:970
msgid "No revisions matched your query."
msgstr ""
#: lib/perl/AdvancedFind.pm:980
#: lib/perl/AdvancedFind.pm:988
msgid "Populating revision details"
msgstr ""
#: lib/perl/AdvancedFind.pm:1153
#: lib/perl/AdvancedFind.pm:1161
#, perl-brace-format
msgid "Found 1 revision"
msgid_plural "Found {revisions_found} revisions"
msgstr[0] ""
msgstr[1] ""
#: lib/perl/AdvancedFind.pm:1160 lib/perl/FindFiles.pm:656
#: lib/perl/AdvancedFind.pm:1168 lib/perl/FindFiles.pm:656
msgid "Nothing found"
msgstr ""
msgid "Invalid {name} name `{value}'"
msgstr ""
#: lib/perl/Common.pm:171
#: lib/perl/Common.pm:173
#, perl-brace-format
msgid ""
"The {name} subprocess could not start,\n"
"<b><i>{error_message}</b></i>"
msgstr ""
#: lib/perl/Common.pm:228
#: lib/perl/Common.pm:230
#, perl-brace-format
msgid ""
"waitpid failed with:\n"
"<b><i>{error_message}</i></b>"
msgstr ""
#: lib/perl/Common.pm:243
#: lib/perl/Common.pm:245
#, perl-brace-format
msgid ""
"The {name} subprocess failed with an exit status\n"
"<b><i>{error_message}</i></b>"
msgstr ""
#: lib/perl/Common.pm:260
#: lib/perl/Common.pm:262
#, perl-brace-format
msgid "The {name} subprocess was terminated by signal {number}."
msgstr ""
#: lib/perl/Common.pm:358
#: lib/perl/Common.pm:360
msgid "Open Database"
msgstr ""
#: lib/perl/Common.pm:416
#: lib/perl/Common.pm:418
msgid "Not a valid Monotone database."
msgstr ""
#: lib/perl/Common.pm:474
#: lib/perl/Common.pm:476
msgid "Save As"
msgstr ""
#: lib/perl/Common.pm:503
#: lib/perl/Common.pm:505
msgid ""
"File already exists.\n"
"Do you want to replace it?"
msgstr ""
#: lib/perl/Common.pm:504
#: lib/perl/Common.pm:506
msgid "Confirm"
msgstr ""
msgid "No files matched your query."
msgstr ""
#: lib/perl/FindFiles.pm:1060 lib/perl/Preferences.pm:845
#: lib/perl/FindFiles.pm:1064 lib/perl/Preferences.pm:845
#, perl-brace-format
msgid ""
"`{pattern}' is an invalid\n"
"file name pattern."
msgstr ""
#: lib/perl/FindFiles.pm:1083 lib/perl/FindText.pm:401
#: lib/perl/FindFiles.pm:1087 lib/perl/FindText.pm:401
#, perl-brace-format
msgid ""
"`{pattern}' is an invalid\n"
"content search pattern."
msgstr ""
#: lib/perl/FindFiles.pm:1101
#: lib/perl/FindFiles.pm:1105
msgid ""
"The `between' dates are either\n"
"the same or the wrong way round."
msgstr ""
#: lib/perl/FindFiles.pm:1121
#: lib/perl/FindFiles.pm:1125
#, perl-brace-format
msgid "A duration of {months} months is too long."
msgstr ""
#: lib/perl/FindFiles.pm:1135
#: lib/perl/FindFiles.pm:1139
#, perl-brace-format
msgid "A duration of {years} years is too long."
msgstr ""
msgid "unified_diff.patch"
msgstr ""
#: lib/perl/History.pm:1763 lib/perl/History.pm:1770
#: lib/perl/History.pm:1767 lib/perl/History.pm:1774
msgid "Revision Change Log"
msgstr ""
#: lib/perl/History.pm:1776
#: lib/perl/History.pm:1780
msgid "- Revision Change Log"
msgstr ""
#: lib/perl/History.pm:1778
#: lib/perl/History.pm:1782
msgid "+ Revision Change Log"
msgstr ""
#: lib/perl/History.pm:1848
#: lib/perl/History.pm:1852
msgid "OLDER_"
msgstr ""
#: lib/perl/History.pm:1851
#: lib/perl/History.pm:1855
msgid "NEWER_"
msgstr ""
"`{mime_type}'."
msgstr ""
#: lib/perl/Preferences.pm:1083
#: lib/perl/Preferences.pm:1085
msgid "Mime Type"
msgstr ""
#: lib/perl/Preferences.pm:1093
#: lib/perl/Preferences.pm:1095
msgid "File Name Patterns"
msgstr ""
#: lib/perl/Preferences.pm:1103
#: lib/perl/Preferences.pm:1105
msgid "Helper Application"
msgstr ""
#: lib/perl/Preferences.pm:1502
#: lib/perl/Preferences.pm:1511
msgid ""
"The external file comparison application field is\n"
"invalid, please correct before attempting to resave."
msgstr ""
#: lib/perl/Preferences.pm:1590
#: lib/perl/Preferences.pm:1599
msgid "Cannot load system MIME types.\n"
msgstr ""

Archive Download the corresponding diff file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status