Commit e356e6dc authored by jean-pierre charras's avatar jean-pierre charras
Browse files

Fix issues about translations:

Eeschema: one string with a bad char (\a, not useable in internationalized strings).
Dialog_page_settings: use not translated strings in code, so strings can be freely translated for the UI.
(Initial code was not working with existing translations)
Update 2 icons.
parent 45445dd8
Loading
Loading
Loading
Loading
+78 −83
Original line number Diff line number Diff line
@@ -8,89 +8,84 @@
static const unsigned char png[] = {
 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
 0xce, 0x00, 0x00, 0x05, 0x17, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xbd, 0x96, 0xdf, 0x6f, 0x14,
 0x55, 0x14, 0xc7, 0x3f, 0xf7, 0xce, 0xce, 0xee, 0x4e, 0x77, 0xbb, 0x3b, 0x4a, 0x2b, 0x5d, 0x37,
 0x82, 0xd0, 0x2e, 0x5b, 0xf9, 0xb5, 0x12, 0xe8, 0x83, 0x18, 0xa8, 0xc6, 0x44, 0x94, 0x84, 0xa4,
 0x2f, 0x18, 0x63, 0x24, 0x06, 0x49, 0x34, 0xf2, 0xa2, 0x89, 0xf2, 0xe0, 0x9b, 0x89, 0x7f, 0x00,
 0x09, 0xd1, 0xc4, 0x12, 0xab, 0x31, 0x3c, 0x18, 0x5e, 0x04, 0x2d, 0x18, 0x1e, 0x0c, 0x62, 0xd1,
 0x18, 0x52, 0x13, 0x28, 0x3f, 0x0a, 0xa5, 0x34, 0x50, 0x6a, 0x61, 0xe9, 0x8f, 0xfd, 0x31, 0x65,
 0xa7, 0xdd, 0xdd, 0x99, 0xb9, 0x3e, 0x40, 0x27, 0x5d, 0xba, 0x18, 0x88, 0x89, 0x27, 0x39, 0x99,
 0x3b, 0xb9, 0x77, 0xce, 0x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8e, 0x1f, 0x3f, 0xfe, 0xf9, 0xd8, 0xd8,
 0x58, 0x3c, 0x1a, 0x8d, 0x12, 0x0c, 0x06, 0x5d, 0xb5, 0x11, 0x8d, 0x06, 0xc2, 0x1b, 0x08, 0x6e,
 0xf5, 0x73, 0xb3, 0x11, 0x84, 0xb1, 0x01, 0x5d, 0x43, 0xc2, 0x46, 0x50, 0x02, 0xb8, 0xc0, 0x7a,
 0x2a, 0x95, 0xf2, 0xb2, 0xd9, 0xec, 0x47, 0xf1, 0x78, 0x3c, 0xb9, 0xbc, 0xbc, 0xfc, 0xf5, 0x5f,
 0x8c, 0x86, 0xc8, 0x61, 0x09, 0x89, 0x45, 0xfd, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44,
 0xae, 0x42, 0x60, 0x82,
};

const BITMAP_OPAQUE find_xpm[1] = {{ png, sizeof( png ), "find_xpm" }};
+51 −52

File changed.

Preview size limit exceeded, changes collapsed.

+107 −629

File changed.

Preview size limit exceeded, changes collapsed.

+10 −10
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
        <dc:title />
      </cc:Work>
    </rdf:RDF>
  </metadata>
@@ -37,15 +37,15 @@
     guidetolerance="10"
     inkscape:pageopacity="0"
     inkscape:pageshadow="2"
     inkscape:window-width="1600"
     inkscape:window-height="841"
     inkscape:window-width="1280"
     inkscape:window-height="968"
     id="namedview52"
     showgrid="true"
     inkscape:zoom="25.615385"
     inkscape:cx="20.436413"
     inkscape:cy="13"
     inkscape:window-x="0"
     inkscape:window-y="28"
     inkscape:window-x="-4"
     inkscape:window-y="-4"
     inkscape:window-maximized="1"
     inkscape:current-layer="svg2"
     inkscape:snap-to-guides="true"
@@ -160,14 +160,14 @@
  <text
     xml:space="preserve"
     style="font-size:13.32437897px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#fff6f6;fill-opacity:1;stroke:none;font-family:Sans"
     x="14.758149"
     y="20.166557"
     x="16.649334"
     y="21.141987"
     id="text3035"
     sodipodi:linespacing="125%"
     transform="scale(0.96099942,1.0405834)"><tspan
     transform="scale(0.96099939,1.0405834)"><tspan
       sodipodi:role="line"
       id="tspan3037"
       x="14.758149"
       y="20.166557"
       x="16.649334"
       y="21.141987"
       style="font-weight:bold;fill:#fff6f6;fill-opacity:1;-inkscape-font-specification:Sans Bold">#</tspan></text>
</svg>
+51 −14
Original line number Diff line number Diff line
@@ -49,6 +49,29 @@
wxPoint DIALOG_PAGES_SETTINGS::s_LastPos( -1, -1 );
wxSize  DIALOG_PAGES_SETTINGS::s_LastSize;

// List of page formats.
// should be statically initialized, because we need both
// the translated and the not translated version.
// when displayed in dialog we should explicitely call wxGetTranslation()
// to show the translated version.
const wxString pageFmts[] =
{
    _("A4 210x297mm"),
    _("A3 297x420mm"),
    _("A2 420x594mm"),
    _("A1 594x841mm"),
    _("A0 841x1189mm"),
    _("A 8.5x11in"),
    _("B 11x17in"),
    _("C 17x22in"),
    _("D 22x34in"),
    _("E 34x44in"),
    _("USLetter 8.5x11in"),
    _("USLegal 8.5x14in"),
    _("USLedger 11x17in"),
    _("User (Custom)"),
    wxT("")                 // end of list
};

void EDA_DRAW_FRAME::Process_PageSettings( wxCommandEvent& event )
{
@@ -92,6 +115,18 @@ void DIALOG_PAGES_SETTINGS::initDialog()

    SetFocus();

    // initalize page format choice box and page format list.
    // The first shows translated strings, the second contains not tralated strings
    m_paperSizeComboBox->Clear();
    for( unsigned ii = 0; ; ii++ )
    {
        if( pageFmts[ii].IsEmpty() )
            break;
        m_pageFmt.Add( pageFmts[ii] );
        m_paperSizeComboBox->Append( wxGetTranslation( pageFmts[ii] ) );
    }


#ifdef EESCHEMA
    // Init display value for sheet User size
    wxString format = m_TextSheetCount->GetLabel();
@@ -232,7 +267,10 @@ void DIALOG_PAGES_SETTINGS::OnCancelClick( wxCommandEvent& event )

void DIALOG_PAGES_SETTINGS::OnPaperSizeChoice( wxCommandEvent& event )
{
    wxString paperType = m_paperSizeComboBox->GetStringSelection();
    int idx = m_paperSizeComboBox->GetSelection();
    if( idx < 0 )
        idx = 0;
    const wxString paperType = m_pageFmt[idx];
    if( paperType.Contains( PAGE_INFO::Custom ) )
    {
        m_orientationComboBox->Enable( false );
@@ -364,14 +402,15 @@ void DIALOG_PAGES_SETTINGS::OnComment4TextUpdated( wxCommandEvent& event )

void DIALOG_PAGES_SETTINGS::SavePageSettings( wxCommandEvent& event )
{
    bool        retSuccess;
    bool retSuccess = false;

    m_save_flag = true;

    // wxFormBuilder must use "A4", "A3", etc for choices, in all languages/translations
    const wxString paperType = m_paperSizeComboBox->GetStringSelection();
    int idx = m_paperSizeComboBox->GetSelection();
    if( idx < 0 )
        idx = 0;
    const wxString paperType = m_pageFmt[idx];

    // here we assume translators will keep original paper size spellings
    if( paperType.Contains( PAGE_INFO::Custom ) )
    {
        GetCustomSizeMilsFromDialog();
@@ -506,15 +545,11 @@ limits\n%.1f - %.1f %s!\nSelect another custom paper size?" ),

void DIALOG_PAGES_SETTINGS::SetCurrentPageSizeSelection( const wxString& aPaperSize )
{
    // use wxChoice to store the sheet type in the wxChoice's choice
    // i.e. "A4", "A3", etc, anywhere within the text of the label.
    // D(printf("m_paperSizeComboBox->GetCount() = %d\n", (int) m_paperSizeComboBox->GetCount() );)

    // search all the child wxRadioButtons for a label containing our paper type
    for( unsigned i = 0;  i < m_paperSizeComboBox->GetCount();  ++i )
    // search all the not translated label list containing our paper type
    for( unsigned i = 0; i < m_pageFmt.GetCount(); ++i )
    {
        // parse each label looking for aPaperSize within it
        wxStringTokenizer st( m_paperSizeComboBox->GetString( i ) );
        wxStringTokenizer st( m_pageFmt[i] );

        while( st.HasMoreTokens() )
        {
@@ -609,8 +644,10 @@ void DIALOG_PAGES_SETTINGS::UpdatePageLayoutExample()

void DIALOG_PAGES_SETTINGS::GetPageLayoutInfoFromDialog()
{
    // wxFormBuilder must use "A4", "A3", etc for choices, in all languages/translations
    const wxString paperType = m_paperSizeComboBox->GetStringSelection();
    int idx = m_paperSizeComboBox->GetSelection();
    if( idx < 0 )
        idx = 0;
    const wxString paperType = m_pageFmt[idx];

    // here we assume translators will keep original paper size spellings
    if( paperType.Contains( PAGE_INFO::Custom ) )
Loading