~ubuntu-branches/ubuntu/vivid/tin/vivid

« back to all changes in this revision

Viewing changes to src/lang.c

  • Committer: Package Import Robot
  • Author(s): Marco d'Itri
  • Date: 2012-01-06 15:04:11 UTC
  • mfrom: (1.2.17)
  • Revision ID: package-import@ubuntu.com-20120106150411-vftxaked1sscxt1t
Tags: 1:2.1.0-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *  Module    : lang.c
4
4
 *  Author    : I. Lea
5
5
 *  Created   : 1991-04-01
6
 
 *  Updated   : 2011-01-30
 
6
 *  Updated   : 2011-11-14
7
7
 *  Notes     :
8
8
 *
9
 
 * Copyright (c) 1991-2011 Iain Lea <iain@bricbrac.de>
 
9
 * Copyright (c) 1991-2012 Iain Lea <iain@bricbrac.de>
10
10
 * All rights reserved.
11
11
 *
12
12
 * Redistribution and use in source and binary forms, with or without
87
87
constext txt_attachments_tagged[] = N_("%d attachments tagged");
88
88
constext txt_attachment_untagged[] = N_("Untagged attachment");
89
89
constext txt_attrib_menu_com[] = N_("Attributes Menu Commands");
 
90
constext txt_attrib_no_scope[] = N_("attribute with no scope: %s");
90
91
#ifdef NNTP_ABLE
91
92
        constext txt_auth_failed[] = N_("%d Authentication failed");
92
93
        constext txt_auth_failed_nopass[] = N_("NNTP authorization password not found for %s");
687
688
constext txt_option_not_enabled[] = N_("Option not enabled. Recompile with %s.");
688
689
constext txt_options_menu[] = N_("Options Menu");
689
690
constext txt_options_menu_com[] = N_("Options Menu Commands");
690
 
constext txt_out_of_memory[] = "%s: memory exhausted trying to allocate %d bytes in file %s line %d";
 
691
constext txt_out_of_memory[] = "%s: memory exhausted trying to allocate %lu bytes in file %s line %d";
691
692
 
692
693
constext txt_pcre_error_at[] = N_("Error in regex: %s at pos. %d '%s'");
693
694
constext txt_pcre_error_num[] = N_("Error in regex: pcre internal error %d");
811
812
constext txt_select_config_file_option[] = N_("Select option number before text or use arrow keys and <CR>. 'q' to quit.");
812
813
constext txt_select_group[] = N_("Select group> ");
813
814
constext txt_select_pattern[] = N_("Enter selection pattern [%s]> ");
814
 
constext txt_select_thread[] = N_("Select thread > ");
 
815
constext txt_select_thread[] = N_("Select thread> ");
815
816
constext txt_send_bugreport[] = N_("%s %s %s (\"%s\") [%s]: send a DETAILED bug report to %s\n");
816
817
constext txt_servers_active[] = N_("servers active-file");
817
818
constext txt_skipping_newgroups[] = N_("Cannot move into new newsgroups. Subscribe first...");
1077
1078
#endif /* HAVE_PGP_GPG */
1078
1079
 
1079
1080
#ifdef M_UNIX
1080
 
        constext txt_copyright_notice[] = "%s (c) Copyright 1991-2011 Iain Lea.";
 
1081
        constext txt_copyright_notice[] = "%s (c) Copyright 1991-2012 Iain Lea.";
1081
1082
#endif /* M_UNIX */
1082
1083
 
1083
1084
#ifdef NNTP_ABLE
1245
1246
        N_("References"),
1246
1247
        N_("Both Subject and References"),
1247
1248
        N_("Multipart Subject"),
1248
 
        N_("Percentage Match")
 
1249
        N_("Percentage Match"),
 
1250
        NULL
1249
1251
};
1250
1252
 
1251
1253
/*
1252
1254
 * Whether to use wildmat() or regexec() for matching strings
1253
1255
 */
1254
 
constext *txt_wildcard_type[] = { "WILDMAT", "REGEX" };
 
1256
constext *txt_wildcard_type[] = { "WILDMAT", "REGEX", NULL };
1255
1257
 
1256
1258
/*
1257
1259
 * Handling of uuencoded data in pager
1259
1261
constext *txt_hide_uue_type[] = {
1260
1262
        N_("No"),
1261
1263
        N_("Yes"),
1262
 
        N_("Hide All")
 
1264
        N_("Hide All"),
 
1265
        NULL
1263
1266
};
1264
1267
 
1265
1268
/*
1269
1272
        N_("None"),
1270
1273
        N_("Address"),
1271
1274
        N_("Full Name"),
1272
 
        N_("Address and Name")
 
1275
        N_("Address and Name"),
 
1276
        NULL
1273
1277
};
1274
1278
 
1275
1279
/*
1278
1282
constext *txt_thread_score_type[] = {
1279
1283
        N_("Max"),
1280
1284
        N_("Sum"),
1281
 
        N_("Average")
 
1285
        N_("Average"),
 
1286
        NULL
1282
1287
};
1283
1288
 
1284
1289
constext *txt_show_info_type[] = {
1285
1290
        N_("None"),
1286
1291
        N_("Lines"),
1287
1292
        N_("Score"),
1288
 
        N_("Lines & Score")
 
1293
        N_("Lines & Score"),
 
1294
        NULL
1289
1295
};
1290
1296
 
1291
1297
#ifdef HAVE_COLOR
1309
1315
                N_("Light Blue"),
1310
1316
                N_("Light Pink"),
1311
1317
                N_("Light Cyan"),
1312
 
                N_("Light White")
 
1318
                N_("Light White"),
 
1319
                NULL
 
1320
        };
 
1321
        constext *txt_backcolors[] = {
 
1322
                N_("Default"),
 
1323
                N_("Black"),
 
1324
                N_("Red"),
 
1325
                N_("Green"),
 
1326
                N_("Brown"),
 
1327
                N_("Blue"),
 
1328
                N_("Pink"),
 
1329
                N_("Cyan"),
 
1330
                N_("White"),
 
1331
                NULL
1313
1332
        };
1314
1333
#endif /* HAVE_COLOR */
1315
1334
 
1319
1338
constext *txt_marks[] = {
1320
1339
        N_("Nothing"),
1321
1340
        N_("Mark"),
1322
 
        N_("Space")
 
1341
        N_("Space"),
 
1342
        NULL
1323
1343
};
1324
1344
 
1325
1345
/*
1332
1352
        N_("Reverse video"),
1333
1353
        N_("Blinking"),
1334
1354
        N_("Half bright"),
1335
 
        N_("Bold")
 
1355
        N_("Bold"),
 
1356
        NULL
1336
1357
};
1337
1358
 
1338
1359
/* different options for auto_cc_bcc */
1340
1361
        N_("No"),
1341
1362
        N_("Cc"),
1342
1363
        N_("Bcc"),
1343
 
        N_("Cc and Bcc")
 
1364
        N_("Cc and Bcc"),
 
1365
        NULL
1344
1366
};
1345
1367
 
1346
1368
/* different confirm choices */
1352
1374
        N_("commands & quit"),
1353
1375
        N_("commands & select"),
1354
1376
        N_("quit & select"),
1355
 
        N_("commands & quit & select")
 
1377
        N_("commands & quit & select"),
 
1378
        NULL
1356
1379
};
1357
1380
 
1358
1381
/* different options for goto_next_unread */
1361
1384
        N_("PageDown"),
1362
1385
        N_("PageNextUnread"),
1363
1386
        N_("PageDown or PageNextUnread"),
 
1387
        NULL
1364
1388
};
1365
1389
 
1366
1390
/* different options for quick_kill_header / quick_select_header */
1373
1397
        N_("Msg-ID: & last References: only"),
1374
1398
        N_("Message-ID: entry only"),
1375
1399
        N_("Lines:"),
 
1400
        NULL
1376
1401
};
1377
1402
 
1378
1403
/* different options for trim_article_body */
1385
1410
        N_("Compact multiple and skip leading"),
1386
1411
        N_("Compact multiple and skip trailing"),
1387
1412
        N_("Compact mltpl., skip lead. & trai."),
 
1413
        NULL
1388
1414
};
1389
1415
 
1390
1416
/*
1392
1418
 */
1393
1419
/* TODO: can any of this go away? */
1394
1420
constext *txt_mime_encodings[] = {
1395
 
        txt_8bit, txt_base64, txt_quoted_printable, txt_7bit
 
1421
        txt_8bit, txt_base64, txt_quoted_printable, txt_7bit,
 
1422
        NULL
1396
1423
};
1397
1424
 
1398
1425
constext *content_encodings[] = {
1399
 
        "7bit", "quoted-printable", "base64", "8bit", "binary", "x-uuencode"
 
1426
        "7bit", "quoted-printable", "base64", "8bit", "binary", "x-uuencode",
 
1427
        NULL
1400
1428
};
1401
1429
 
1402
 
const char *content_types[] = {
1403
 
        "text", "multipart", "application", "message", "image", "audio", "video"
 
1430
constext *content_types[] = {
 
1431
        "text", "multipart", "application", "message", "image", "audio", "video",
 
1432
        NULL
1404
1433
};
1405
1434
 
1406
1435
/*
1410
1439
constext *txt_post_process_types[] = {
1411
1440
                N_("No"),
1412
1441
                N_("Shell archive"),
1413
 
                N_("Yes")
 
1442
                N_("Yes"),
 
1443
                NULL
1414
1444
};
1415
1445
 
1416
1446
constext *txt_sort_a_type[] = {
1424
1454
                N_("Score (descending)"),
1425
1455
                N_("Score (ascending)"),
1426
1456
                N_("Lines: (descending)"),
1427
 
                N_("Lines: (ascending)")
 
1457
                N_("Lines: (ascending)"),
 
1458
                NULL
1428
1459
};
1429
1460
 
1430
1461
constext *txt_sort_t_type[] = {
1432
1463
                N_("Score (descending)"),
1433
1464
                N_("Score (ascending)"),
1434
1465
                N_("Last posting date (descending)"),
1435
 
                N_("Last posting date (ascending)")
 
1466
                N_("Last posting date (ascending)"),
 
1467
                NULL
1436
1468
};
1437
1469
 
1438
1470
/* Ways of handling bogus groups */
1439
1471
constext *txt_strip_bogus_type[] = {
1440
1472
                N_("Always Keep"),
1441
1473
                N_("Always Remove"),
1442
 
                N_("Mark with D on selection screen")
 
1474
                N_("Mark with D on selection screen"),
 
1475
                NULL
1443
1476
};
1444
1477
 
1445
1478
/* Ways of handling killed articles */
1446
1479
constext *txt_kill_level_type[] = {
1447
1480
                N_("Kill only unread arts"),
1448
1481
                N_("Kill all arts & show with K"), /* TODO: s/K/art_marked_killed/ */
1449
 
                N_("Kill all arts and never show")
 
1482
                N_("Kill all arts and never show"),
 
1483
                NULL
1450
1484
};
1451
1485
 
1452
1486
/* Various quoting styles */
1458
1492
                N_("Quote empty lines"),
1459
1493
                N_("Compress quotes, quote empty lines"),
1460
1494
                N_("Quote sigs & empty lines"),
1461
 
                N_("Comp. q., quote sigs & empty lines")
 
1495
                N_("Comp. q., quote sigs & empty lines"),
 
1496
                NULL
1462
1497
};
1463
1498
 
1464
1499
#ifdef CHARSET_CONVERSION
1473
1508
        "ISO-2022-CN", "ISO-2022-CN-EXT", "ISO-2022-JP", "ISO-2022-JP-1",
1474
1509
        "ISO-2022-JP-2",
1475
1510
        "Big5",
1476
 
        "UTF-8"
 
1511
        "UTF-8",
 
1512
        NULL
1477
1513
};
1478
1514
#endif /* CHARSET_CONVERSION */
1479
1515
 
1483
1519
        "ISO-2022-CN", "ISO-2022-CN-EXT", "ISO-2022-JP", "ISO-2022-JP-1",
1484
1520
        "ISO-2022-JP-2", "ISO-2022-KR",
1485
1521
        "HZ-GB-2312",
1486
 
        /* sentinel */
1487
 
        ""
 
1522
        NULL
1488
1523
};
1489
1524
 
1490
1525
/* different mailbox formats */
1491
1526
constext *txt_mailbox_formats[] = {
1492
1527
        "MBOXO",
1493
1528
        "MBOXRD",
1494
 
        "MMDF"
 
1529
        "MMDF",
 
1530
        NULL
1495
1531
};
1496
1532
 
1497
1533
/* interactive mailers */
1498
1534
constext *txt_interactive_mailers[] = {
1499
1535
        N_("no"),
1500
1536
        N_("with headers"),
1501
 
        N_("without headers")
 
1537
        N_("without headers"),
 
1538
        NULL
1502
1539
};
1503
1540
 
1504
1541
#ifdef HAVE_UNICODE_NORMALIZATION
1508
1545
        N_("NFKC"),
1509
1546
        N_("NFKD"),
1510
1547
        N_("NFC"),
1511
 
        N_("NFD")
 
1548
        N_("NFD"),
1512
1549
#       else
1513
1550
#               ifdef HAVE_LIBIDN
1514
 
        N_("NFKC")
 
1551
        N_("NFKC"),
1515
1552
#               endif /* HAVE_LIBIDN */
1516
1553
#       endif /* HAVE_LIBICUUC */
 
1554
        NULL
1517
1555
};
1518
1556
#endif /* HAVE_UNICODE_NORMALIZATION */
1519
1557
 
1529
1567
        N_("Color Options"),
1530
1568
        NULL
1531
1569
};
 
1570
#else
 
1571
struct opttxt txt_highlight_options = {
 
1572
        NULL,
 
1573
        N_("Highlight Options"),
 
1574
        NULL
 
1575
};
1532
1576
#endif /* HAVE_COLOR */
1533
1577
 
1534
1578
struct opttxt txt_getart_limit_options = {
2692
2736
#   2 = highlight with D on selection screen\n")
2693
2737
};
2694
2738
 
 
2739
#if defined(HAVE_ALARM) && defined(SIGALRM)
 
2740
struct opttxt txt_nntp_read_timeout_secs = {
 
2741
        N_("Enter number of seconds to wait for a response from the server. <CR> sets."),
 
2742
        N_("NNTP read timeout in seconds"),
 
2743
        N_("# Time in seconds to wait for a response from the server (0=no timeout)\n")
 
2744
};
 
2745
#endif /* HAVE_ALARM && SIGALRM */
 
2746
 
2695
2747
struct opttxt txt_reread_active_file_secs = {
2696
2748
        N_("Enter number of seconds until active file will be reread. <CR> sets."),
2697
2749
        N_("Interval in secs to reread active"),