~ubuntu-branches/ubuntu/raring/shotwell/raring

« back to all changes in this revision

Viewing changes to src/Resources.vala

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher, Robert Ancell, Alberto Mardegan
  • Date: 2012-08-28 16:57:19 UTC
  • mfrom: (1.2.14)
  • Revision ID: package-import@ubuntu.com-20120828165719-p6ep5hdo24rssreo
Tags: 0.12.90-0ubuntu1
[ Robert Ancell ]
* New upstream release (LP: #1041011)
* debian/watch:
  - Watch for unstable versions
  - Releases now in .xz format

[ Alberto Mardegan ]
* debian/patches/06_uoa.patch:
  - updated for the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    public const string YORBA_URL = "http://www.yorba.org";
22
22
    public const string WIKI_URL = "http://redmine.yorba.org/projects/shotwell/wiki/Shotwell";
23
23
    public const string FAQ_URL = "http://redmine.yorba.org/projects/shotwell/wiki/ShotwellFAQ";
 
24
    public const string BUG_DB_URL = "http://redmine.yorba.org/projects/shotwell/issues/new";
24
25
    public const string DIR_PATTERN_URI_SYSWIDE = "ghelp:shotwell?other-files";
25
26
 
26
27
    private const string LIB = _LIB;
72
73
    public const string CROP_PIVOT_RETICLE = "shotwell-crop-pivot-reticle";
73
74
    public const string PUBLISH = "applications-internet";
74
75
    public const string MERGE = "shotwell-merge-events";
75
 
    public const string FACES_TOOL = "faces";
76
76
 
77
77
    public const string ICON_APP = "shotwell.svg";
78
78
    public const string ICON_APP16 = "shotwell-16.svg";
107
107
    public const string ICON_ONE_EVENT = "one-event";
108
108
    public const string ICON_ONE_TAG = "one-tag";
109
109
    public const string ICON_TAGS = "multiple-tags";
110
 
    public const string ICON_ONE_FACE = "one-face";
111
 
    public const string ICON_FACES = "many-faces";
112
110
    public const string ICON_FOLDER_CLOSED = "folder";
113
111
    public const string ICON_FOLDER_OPEN = "folder-open";
114
112
    public const string ICON_IMPORTING = "go-down";
258
256
    public const string ADJUST_DATE_TIME_LABEL = _("Adjust Date and Time");
259
257
    
260
258
    public const string ADD_TAGS_MENU = _("Add _Tags...");
 
259
    public const string ADD_TAGS_CONTEXT_MENU = _("_Add Tags...");
261
260
    public const string ADD_TAGS_TITLE = _("Add Tags");
262
261
 
263
262
    public const string PREFERENCES_MENU = _("_Preferences");
267
266
    public const string EXTERNAL_EDIT_RAW_MENU = _("Open With RA_W Editor");
268
267
    
269
268
    public const string SEND_TO_MENU = _("Send _To...");
 
269
    public const string SEND_TO_CONTEXT_MENU = _("Send T_o...");
270
270
    
271
271
    public const string FIND_MENU = _("_Find...");
272
272
    public const string FIND_LABEL = _("Find");
276
276
    
277
277
    public const string UNFLAG_MENU = _("Un_flag");
278
278
 
279
 
#if ENABLE_FACES    
280
 
    public const string FACES_MENU = _("Faces");
281
 
    public const string FACES_LABEL = _("Faces");
282
 
    public const string FACES_TOOLTIP = _("Mark faces of people in the photo");
283
 
    public const string MODIFY_FACES_LABEL = _("Modify Faces");
284
 
    public const string DELETE_FACE_TITLE = _("Delete Face");
285
 
    public const string DELETE_FACE_SIDEBAR_MENU = _("_Delete");
286
 
    public const string RENAME_FACE_SIDEBAR_MENU = _("_Rename...");
287
 
#endif
288
 
 
289
279
    public string launch_editor_failed(Error err) {
290
280
        return _("Unable to launch editor: %s").printf(err.message);
291
281
    }
370
360
        return _("Delete Search \"%s\"").printf(name);
371
361
    }
372
362
    
373
 
    public static string rename_face_exists_message(string name) {
374
 
        return _("Unable to rename face to \"%s\" because the face already exists.").printf(name);
375
 
    }
376
 
    
377
 
    public string remove_face_from_photos_menu(string name, int count) {
378
 
        return ((count == 1) ? _("Remove Face \"%s\" From _Photo") :
379
 
            _("Remove Face \"%s\" From _Photos")).printf(name);
380
 
    }
381
 
    
382
 
    public string remove_face_from_photos_label(string name, int count) {
383
 
        return ((count == 1) ? _("Remove Face \"%s\" From Photo") :
384
 
            _("Remove Face \"%s\" From Photos")).printf(name);
385
 
    }
386
 
    
387
 
    public string rename_face_menu(string name) {
388
 
        return _("Re_name Face \"%s\"...").printf(name);
389
 
    }
390
 
    
391
 
    public string rename_face_label(string old_name, string new_name) {
392
 
        return _("Rename Face \"%s\" to \"%s\"").printf(old_name, new_name);
393
 
    }
394
 
    
395
 
    public string delete_face_menu(string name) {
396
 
        return _("_Delete Face \"%s\"").printf(name);
397
 
    }
398
 
    
399
 
    public string delete_face_label(string name) {
400
 
        return _("Delete Face \"%s\"").printf(name);
401
 
    }
402
 
    
403
363
    private unowned string rating_menu(Rating rating) {
404
364
        switch (rating) {
405
365
            case Rating.REJECTED:
683
643
 
684
644
        File icons_dir = AppDirs.get_resources_dir().get_child("icons");
685
645
        add_stock_icon(icons_dir.get_child("crop.svg"), CROP);
686
 
#if ENABLE_FACES
687
 
        add_stock_icon(icons_dir.get_child("faces-tool.png"), FACES_TOOL);
688
 
#endif
689
646
        add_stock_icon(icons_dir.get_child("redeye.png"), REDEYE);
690
647
        add_stock_icon(icons_dir.get_child("image-adjust.svg"), ADJUST);
691
648
        add_stock_icon(icons_dir.get_child("pin-toolbar.svg"), PIN_TOOLBAR);