Changeset 2341559 in git


Ignore:
Timestamp:
21/09/11 05:21:23 (8 years ago)
Author:
Olly Betts <olly@…>
Branches:
add-show-splays, line_contents, master, stereo, svn/github/master, svn/origin/master, svn/tags/1.2.1, svn/tags/1.2.2, svn/tags/1.2.3, svn/tags/1.2.4, svn/tags/1.2.5, svn/trunk, travis-osx
Children:
fbc1d32
Parents:
45af761
Message:

lib/codes.po,src/cavernlog.cc: Allow the "Reprocess" button label in
aven's cavern log window to be translated.

git-svn-id: file:///home/survex-svn/survex/trunk@3742 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r45af761 r2341559  
     1Wed Sep 21 04:20:52 GMT 2011  Olly Betts <olly@survex.com>
     2
     3        * lib/codes.po,src/cavernlog.cc: Allow the "Reprocess" button label in
     4          aven's cavern log window to be translated.
     5
    16Wed Sep 21 04:07:29 GMT 2011  Olly Betts <olly@survex.com>
    27
  • lib/codes.po

    r45af761 r2341559  
    10251025#. TRANSLATORS: menu commands for (pe) style choices (may become menu entries later)
    10261026#~ msgid "elevation"
    1027 #~ msgstr "184"
     1027#~ msgstr ""
     1028
     1029#. TRANSLATORS: Label for button in aven's cavern log window which causes the
     1030#. survey data to be reprocessed.
     1031msgid "Reprocess"
     1032msgstr "184"
    10281033
    10291034#: ../src/cmdline.c:219
  • src/cavernlog.cc

    r45af761 r2341559  
    22 * Run cavern inside an Aven window
    33 *
    4  * Copyright (C) 2005,2006,2010 Olly Betts
     4 * Copyright (C) 2005,2006,2010,2011 Olly Betts
    55 *
    66 * This program is free software; you can redistribute it and/or modify
     
    366366    int retval = pclose(cavern_out);
    367367    if (retval) {
    368         AppendToPage(wxT("<avenbutton default id=1234 name=\"Reprocess\">"));
     368        AppendToPage(wxString::Format(wxT("<avenbutton default id=1234 name=\"%s\">"),
     369                                      wmsg(/*Reprocess*/184).c_str()));
    369370        if (retval == -1) {
    370371            wxString m = wxT("Problem running cavern: ");
     
    376377    }
    377378    if (link_count) {
    378         AppendToPage(wxT("<avenbutton id=1234 name=\"Reprocess\">"));
     379        AppendToPage(wxString::Format(wxT("<avenbutton id=1234 name=\"%s\">"),
     380                                      wmsg(/*Reprocess*/184).c_str()));
    379381        AppendToPage(wxString::Format(wxT("<avenbutton default id=%d>"), (int)wxID_OK));
    380382        Update();
Note: See TracChangeset for help on using the changeset viewer.