Changeset 857408e in git


Ignore:
Timestamp:
21/09/11 14:21:53 (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:
ecff0b8a
Parents:
d8dbdff
Message:

lib/codes.po,src/mainfrm.cc: Make more messages translatable.

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rd8dbdff r857408e  
     1Wed Sep 21 13:20:58 GMT 2011  Olly Betts <olly@survex.com>
     2
     3        * lib/codes.po,src/mainfrm.cc: Make more messages translatable.
     4
    15Wed Sep 21 12:53:02 GMT 2011  Olly Betts <olly@survex.com>
    26
  • lib/codes.po

    rd8dbdff r857408e  
    17811781#~ msgstr ""
    17821782
    1783 #. TRANSLATORS: "Find stations" button label
     1783#. TRANSLATORS: "Find stations" button tooltip
    17841784#: ../src/mainfrm.cc:894
    17851785msgid "Find"
    17861786msgstr "332"
    17871787
    1788 #. TRANSLATORS: "Hide stations" button label
     1788#. TRANSLATORS: "Hide stations" button default tooltip
    17891789#: ../src/mainfrm.cc:896
    17901790msgid "Hide"
    17911791msgstr "333"
    17921792
     1793#. TRANSLATORS: "Hide stations" button tooltip when stations are found
     1794#, c-format
     1795msgid "Hide %d found stations"
     1796msgstr "334"
     1797
    17931798#. TRANSLATORS: checkbox for regular expression search
    1794 #: ../src/mainfrm.cc:914
    17951799msgid "Regular expression"
    1796 msgstr "334"
     1800msgstr ""
    17971801
    17981802#: ../src/mainfrm.cc:193
     
    20792083msgstr "404"
    20802084
     2085#. TRANSLATORS: Note after "Scale" field in dialog to edit a waypoint in a presentation.
     2086msgid " (unused in perspective view)"
     2087msgstr "278"
     2088
     2089#. TRANSLATORS: Field label in dialog to edit a waypoint in a presentation.
     2090msgid "Time: "
     2091msgstr "279"
     2092
     2093#. TRANSLATORS: units+info after time field in dialog to edit a waypoint in a presentation.
     2094msgid " secs (0 = auto; *6 = 6 times auto)"
     2095msgstr "282"
     2096
    20812097#. TRANSLATORS: %s will be replaced with "Aven" currently (and perhaps by "Survex" or other
    20822098#. things in future).
  • src/mainfrm.cc

    rd8dbdff r857408e  
    118118        r4->Add(new wxStaticText(this, 616, wmsg(/*Scale*/154) + wxT(": ")), 0, wxALIGN_CENTRE_VERTICAL);
    119119        r4->Add(scale);
    120         r4->Add(new wxStaticText(this, 617, wxT(" (unused in perspective view)")),
     120        r4->Add(new wxStaticText(this, 617, wmsg(/* (unused in perspective view)*/278)),
    121121                0, wxALIGN_CENTRE_VERTICAL);
    122122        vert->Add(r4, 0, wxALL, 8);
    123123
    124124        wxBoxSizer * r5 = new wxBoxSizer(wxHORIZONTAL);
    125         r5->Add(new wxStaticText(this, 616, wxT("Time: ")), 0, wxALIGN_CENTRE_VERTICAL);
     125        r5->Add(new wxStaticText(this, 616, wmsg(/*Time: */279)), 0, wxALIGN_CENTRE_VERTICAL);
    126126        r5->Add(time);
    127         r5->Add(new wxStaticText(this, 617, wxT(" secs (0 = auto; *6 = 6 times auto)")),
     127        r5->Add(new wxStaticText(this, 617, wmsg(/* secs (0 = auto; *6 = 6 times auto)*/282)),
    128128                0, wxALIGN_CENTRE_VERTICAL);
    129129        vert->Add(r5, 0, wxALL, 8);
     
    23782378
    23792379    if (!m_NumHighlighted) {
    2380         GetToolBar()->SetToolShortHelp(button_HIDE, wmsg(/*No matches were found.*/328));
     2380        GetToolBar()->SetToolShortHelp(button_HIDE, wmsg(/*No matches were found.*/328));
    23812381    } else {
    2382         GetToolBar()->SetToolShortHelp(button_HIDE, wxString::Format(wxT("Unhilight %d found stations"), m_NumHighlighted));
     2382        GetToolBar()->SetToolShortHelp(button_HIDE, wxString::Format(wmsg(/*Hide %d found stations*/334).c_str(), m_NumHighlighted));
    23832383    }
    23842384}
     
    24192419{
    24202420    m_FindBox->SetValue(wxString());
     2421    GetToolBar()->SetToolShortHelp(button_HIDE, wmsg(/*Hide*/333));
    24212422}
    24222423
Note: See TracChangeset for help on using the changeset viewer.