Changeset 243 for trunk/gtk


Ignore:
Timestamp:
Apr 25, 2006, 8:14:37 AM (16 years ago)
Author:
joshe
Message:

A couple minor i18n cleanups.
Add italian translation.
Add an install make target for transmissioncli and transmission-gtk.

Location:
trunk/gtk
Files:
2 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/Makefile

    r242 r243  
    88LDFLAGS += $(LDFLAGS_GTK) ../libtransmission/libtransmission.a
    99
     10all: transmission-gtk .po
     11        @true
     12
    1013transmission-gtk: $(OBJS) ../libtransmission/libtransmission.a
    1114        $(LINK_RULE)
     15
     16.po:
     17        @$(MAKE) -C po
    1218
    1319%.o: %.c ../Makefile.config ../Makefile.common Makefile
     
    1925        @echo "Clean $(OBJS)"
    2026        @$(RM) $(OBJS)
     27        @$(MAKE) -C po clean
    2128
    2229.depend: $(SRCS) ../Makefile.config ../Makefile.common Makefile
    2330        $(DEP_RULE)
    2431
     32install: transmission-gtk .po
     33        $(INSTALL_BIN_RULE)
     34        @$(MAKE) -C po install
     35
     36morepot: $(SRCS)
     37        xgettext --output=po/transmission-gtk.pot --from-code=UTF-8 --add-comments --keyword=_ --keyword=N_ $^
     38
    2539-include .depend
  • trunk/gtk/dialogs.c

    r232 r243  
    8484  GtkWidget *portnum = gtk_spin_button_new_with_range(1, 0xffff, 1);
    8585  GtkWidget *dirstr = gtk_file_chooser_button_new(
    86     _("Choose download directory"),
     86    _("Choose a download directory"),
    8787    GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
    8888  GtkWidget *label;
  • trunk/gtk/main.c

    r242 r243  
    3939#include <glib/gstdio.h>
    4040
    41 #include "defines.h"
    42 
    4341#include "conf.h"
    4442#include "dialogs.h"
     
    216214
    217215  bindtextdomain("transmission-gtk", LOCALEDIR);
     216  bind_textdomain_codeset("transmission-gtk", "UTF-8");
    218217  textdomain("transmission-gtk");
    219218
  • trunk/gtk/po

    • Property svn:ignore set to *.mo
  • trunk/gtk/po/transmission-gtk.pot

    r162 r243  
    99"Project-Id-Version: PACKAGE VERSION\n"
    1010"Report-Msgid-Bugs-To: \n"
    11 "POT-Creation-Date: 2006-03-20 11:30-0800\n"
     11"POT-Creation-Date: 2006-04-25 00:28-0700\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1818"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    1919
    20 #: conf.c:73
     20#: conf.c:87
    2121#, c-format
    2222msgid ""
     
    2525msgstr ""
    2626
    27 #: conf.c:87
     27#: conf.c:102
    2828#, c-format
    2929msgid "Another copy of %s is already running."
    3030msgstr ""
    3131
    32 #: conf.c:90
     32#: conf.c:105
    3333#, c-format
    3434msgid ""
     
    3737msgstr ""
    3838
    39 #: conf.c:109
    40 #, c-format
    41 msgid ""
    42 "Failed to check the directory %s:\n"
    43 "%s"
    44 msgstr ""
    45 
    46 #: conf.c:115 dialogs.c:190 main.c:1093
     39#: conf.c:128 dialogs.c:213 main.c:1130
    4740#, c-format
    4841msgid ""
     
    5144msgstr ""
    5245
    53 #: conf.c:124
    54 #, c-format
    55 msgid "%s is not a directory"
    56 msgstr ""
    57 
    58 #: conf.c:159 conf.c:322
     46#: conf.c:197 conf.c:370
    5947#, c-format
    6048msgid ""
     
    6351msgstr ""
    6452
    65 #: conf.c:170 conf.c:333
     53#: conf.c:216 conf.c:389
    6654#, c-format
    6755msgid ""
     
    7058msgstr ""
    7159
    72 #: conf.c:233 conf.c:434
     60#: conf.c:280 conf.c:491
    7361#, c-format
    7462msgid ""
     
    7765msgstr ""
    7866
    79 #: conf.c:253 conf.c:476
     67#: conf.c:300 conf.c:533
    8068#, c-format
    8169msgid ""
     
    8472msgstr ""
    8573
    86 #: conf.c:260 conf.c:483
     74#: conf.c:307 conf.c:540
    8775#, c-format
    8876msgid ""
     
    9179msgstr ""
    9280
    93 #: dialogs.c:75
     81#: dialogs.c:77
    9482#, c-format
    9583msgid "%s Preferences"
    9684msgstr ""
    9785
    98 #: dialogs.c:83
    99 msgid "_Limit upload speed"
    100 msgstr ""
    101 
    102 #: dialogs.c:86
    103 msgid "Choose download directory"
    104 msgstr ""
    105 
    106 #. limit label and entry
    107 #: dialogs.c:120
     86#: dialogs.c:86 dialogs.c:301
     87msgid "Choose a download directory"
     88msgstr ""
     89
     90#: dialogs.c:94
     91msgid "_Limit download speed"
     92msgstr ""
     93
     94#: dialogs.c:96
     95msgid "Maximum _download speed:"
     96msgstr ""
     97
     98#: dialogs.c:98
     99msgid "Li_mit upload speed"
     100msgstr ""
     101
     102#: dialogs.c:100
    108103msgid "Maximum _upload speed:"
    109104msgstr ""
    110105
    111106#. directory label and chooser
    112 #: dialogs.c:134
    113 msgid "_Download directory:"
     107#: dialogs.c:152
     108msgid "Download di_rectory:"
    114109msgstr ""
    115110
    116111#. port label and entry
    117 #: dialogs.c:143
     112#: dialogs.c:162
    118113msgid "Listening _port:"
    119114msgstr ""
    120115
    121 #: dialogs.c:245
     116#: dialogs.c:288
    122117msgid "Add a Torrent"
    123118msgstr ""
    124119
    125 #: dialogs.c:252
     120#: dialogs.c:295
    126121msgid "Automatically _start torrent"
    127122msgstr ""
    128123
    129 #: dialogs.c:254
     124#: dialogs.c:297
    130125msgid "Use alternate _download directory"
    131126msgstr ""
    132127
    133 #: dialogs.c:258
    134 msgid "Choose a download directory"
    135 msgstr ""
    136 
    137 #: dialogs.c:284
     128#: dialogs.c:327
    138129msgid "Torrent files"
    139130msgstr ""
    140131
    141 #: dialogs.c:286
     132#: dialogs.c:329
    142133msgid "All files"
    143134msgstr ""
    144135
    145 #: dialogs.c:389
     136#: dialogs.c:432
    146137#, c-format
    147138msgid "%s Properties"
    148139msgstr ""
    149140
    150 #: dialogs.c:414 dialogs.c:417
     141#: dialogs.c:457 dialogs.c:460
    151142msgid "Tracker:"
    152143msgstr ""
    153144
    154 #: dialogs.c:419
     145#: dialogs.c:462
    155146msgid "Announce:"
    156147msgstr ""
    157148
    158 #: dialogs.c:420
     149#: dialogs.c:463
    159150msgid "Piece Size:"
    160151msgstr ""
    161152
    162 #: dialogs.c:421
     153#: dialogs.c:464
    163154msgid "Pieces:"
    164155msgstr ""
    165156
    166 #: dialogs.c:422
     157#: dialogs.c:465
    167158msgid "Total Size:"
    168159msgstr ""
    169160
    170 #: dialogs.c:424 dialogs.c:426
     161#: dialogs.c:467 dialogs.c:469
    171162msgid "Seeders:"
    172163msgstr ""
    173164
    174 #: dialogs.c:424 dialogs.c:428
     165#: dialogs.c:467 dialogs.c:471
    175166msgid "?"
    176167msgstr ""
    177168
    178 #: dialogs.c:428 dialogs.c:430
     169#: dialogs.c:471 dialogs.c:473
    179170msgid "Leechers:"
    180171msgstr ""
    181172
    182 #: dialogs.c:434
     173#: dialogs.c:477
    183174msgid "Directory:"
    184175msgstr ""
    185176
    186 #: dialogs.c:435
     177#: dialogs.c:478
    187178msgid "Downloaded:"
    188179msgstr ""
    189180
    190 #: dialogs.c:436
     181#: dialogs.c:479
    191182msgid "Uploaded:"
    192183msgstr ""
    193184
    194 #: main.c:164
    195 msgid "Add"
    196 msgstr ""
    197 
    198 #: main.c:165
    199 msgid "Add a new torrent"
    200 msgstr ""
    201 
    202 #: main.c:166
    203 msgid "Start"
    204 msgstr ""
    205 
    206 #: main.c:168
    207 msgid "Start a torrent that is not running"
    208 msgstr ""
    209 
    210 #: main.c:169
    211 msgid "Stop"
    212 msgstr ""
    213 
    214 #: main.c:171
    215 msgid "Stop a torrent that is running"
    216 msgstr ""
    217 
    218 #: main.c:172
    219 msgid "Remove"
    220 msgstr ""
    221 
    222 #: main.c:173
    223 msgid "Remove a torrent"
    224 msgstr ""
    225 
    226 #: main.c:174
    227 msgid "Properties"
    228 msgstr ""
    229 
    230 #: main.c:175
    231 msgid "Show additional information about a torrent"
    232 msgstr ""
    233 
    234 #: main.c:176
    235 msgid "Preferences"
    236 msgstr ""
    237 
    238 #: main.c:177
    239 msgid "Customize application behavior"
    240 msgstr ""
    241 
    242 #: main.c:203
    243 msgid "Transmission"
    244 msgstr ""
    245 
    246 #: main.c:331 main.c:626 main.c:1105
     185#: ipc.c:209
     186#, c-format
     187msgid ""
     188"Failed to set up socket:\n"
     189"%s"
     190msgstr ""
     191
     192#: ipc.c:230
     193#, c-format
     194msgid "failed to create socket: %s\n"
     195msgstr ""
     196
     197#: ipc.c:239
     198#, c-format
     199msgid "failed to connect to %s: %s\n"
     200msgstr ""
     201
     202#: ipc.c:400 main.c:366 main.c:663 main.c:1142
    247203#, c-format
    248204msgid "Failed to load the torrent file %s"
     
    253209msgstr[1] ""
    254210
    255 #: main.c:422
     211#: ipc.c:418
     212#, c-format
     213msgid "bad IPC protocol version\n"
     214msgstr ""
     215
     216#: main.c:168
     217msgid "Add"
     218msgstr ""
     219
     220#: main.c:169
     221msgid "Add a new torrent"
     222msgstr ""
     223
     224#: main.c:170
     225msgid "Start"
     226msgstr ""
     227
     228#: main.c:172
     229msgid "Start a torrent that is not running"
     230msgstr ""
     231
     232#: main.c:173
     233msgid "Stop"
     234msgstr ""
     235
     236#: main.c:175
     237msgid "Stop a torrent that is running"
     238msgstr ""
     239
     240#: main.c:176
     241msgid "Remove"
     242msgstr ""
     243
     244#: main.c:177
     245msgid "Remove a torrent"
     246msgstr ""
     247
     248#: main.c:178
     249msgid "Properties"
     250msgstr ""
     251
     252#: main.c:179
     253msgid "Show additional information about a torrent"
     254msgstr ""
     255
     256#: main.c:180
     257msgid "Preferences"
     258msgstr ""
     259
     260#: main.c:181
     261msgid "Customize application behavior"
     262msgstr ""
     263
     264#: main.c:219
     265msgid "Transmission"
     266msgstr ""
     267
     268#: main.c:459
    256269msgid "Name"
    257270msgstr ""
    258271
    259272#. this string is only used to determing the size of the progress bar
    260 #: main.c:429
     273#: main.c:466
    261274msgid "  fnord    fnord  "
    262275msgstr ""
    263276
    264 #: main.c:432
     277#: main.c:469
    265278msgid "Progress"
    266279msgstr ""
    267280
    268 #: main.c:703
     281#: main.c:740
    269282#, c-format
    270283msgid "Checking existing files (%.1f%%)"
    271284msgstr ""
    272285
    273 #: main.c:706
     286#: main.c:743
    274287#, c-format
    275288msgid "Finishing in --:--:-- (%.1f%%)"
    276289msgstr ""
    277290
    278 #: main.c:708
     291#: main.c:745
    279292#, c-format
    280293msgid "Finishing in %02i:%02i:%02i (%.1f%%)"
    281294msgstr ""
    282295
    283 #: main.c:712
     296#: main.c:749
    284297#, c-format
    285298msgid "Seeding, uploading to %d of %d peer"
     
    288301msgstr[1] ""
    289302
    290 #: main.c:716
     303#: main.c:753
    291304msgid "Stopping..."
    292305msgstr ""
    293306
    294 #: main.c:718
     307#: main.c:755
    295308#, c-format
    296309msgid "Stopped (%.1f%%)"
    297310msgstr ""
    298311
    299 #: main.c:726
     312#: main.c:763
    300313msgid "Error: "
    301314msgstr ""
    302315
    303 #: main.c:730
     316#: main.c:767
    304317#, c-format
    305318msgid "Downloading from %i of %i peer"
     
    308321msgstr[1] ""
    309322
    310 #: main.c:763
     323#: main.c:800
    311324#, c-format
    312325msgid ""
     
    315328msgstr ""
    316329
    317 #: main.c:766
     330#: main.c:803
    318331#, c-format
    319332msgid ""
     
    322335msgstr ""
    323336
    324 #: main.c:812
     337#: main.c:849
    325338#, c-format
    326339msgid "     Total DL: %s/s     Total UL: %s/s"
    327340msgstr ""
    328341
    329 #: main.c:1081
     342#: main.c:1118
    330343msgid "not a valid torrent file"
    331344msgstr ""
    332345
    333 #: main.c:1082
     346#: main.c:1119
    334347msgid "torrent is already open"
    335348msgstr ""
    336349
    337 #: main.c:1107
     350#: main.c:1144
    338351#, c-format
    339352msgid "Failed to load the torrent file %s: %s"
    340353msgstr ""
    341354
    342 #: main.c:1113
     355#: main.c:1150
    343356#, c-format
    344357msgid "%s (%s)"
    345358msgstr ""
    346359
    347 #: util.c:63
     360#: util.c:64
    348361msgid "B"
    349362msgstr ""
    350363
    351 #: util.c:63
     364#: util.c:64
    352365msgid "KiB"
    353366msgstr ""
    354367
    355 #: util.c:63
     368#: util.c:64
    356369msgid "MiB"
    357370msgstr ""
    358371
    359 #: util.c:63
     372#: util.c:64
    360373msgid "GiB"
    361374msgstr ""
    362375
    363 #: util.c:63
     376#: util.c:64
    364377msgid "TiB"
    365378msgstr ""
    366379
    367 #: util.c:63
     380#: util.c:64
    368381msgid "PiB"
    369382msgstr ""
    370383
    371 #: util.c:63
     384#: util.c:64
    372385msgid "EiB"
    373386msgstr ""
    374387
    375 #: util.c:88
     388#: util.c:89
    376389msgid "N/A"
    377390msgstr ""
    378391
    379392#. this is a UTF-8 infinity symbol
    380 #: util.c:92
     393#: util.c:93
    381394msgid "∞"
    382395msgstr ""
Note: See TracChangeset for help on using the changeset viewer.