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

All: fix some issues in messages to translate. Remove fully outdated files

parent 4cbbce3a
Loading
Loading
Loading
Loading
+12 −10
Original line number Original line Diff line number Diff line
@@ -24,18 +24,20 @@ Contribute to KiCad (under Linux)
	cd kicad_john
	cd kicad_john
	mkdir build; cd build
	mkdir build; cd build
	cmake ../ -DKICAD_TESTING_VERSION=ON -DCMAKE_BUILD_TYPE=Debug
	cmake ../ -DKICAD_TESTING_VERSION=ON -DCMAKE_BUILD_TYPE=Debug
    to build a debug version
    or
	cmake ../ -DKICAD_TESTING_VERSION=ON -DCMAKE_BUILD_TYPE=Release
    to build a release version
	make -j 4				# this is for a 4 core machine
	make -j 4				# this is for a 4 core machine


7) Repeat step 5 and 6 until satisfied.
7) Repeat step 5 and 6 until satisfied.


8) Delete the "build" folder and create a patch:
8) Create a patch:
	cd kicad_john
	in kicad_john:
	rm -R ./build
    if some files are added: bzr add [FILE...]
	bzr add .
	bzr diff  > my_changes.patch
	bzr status
	bzr diff  > gui_better_zoom.patch


9) Send the patch file "gui_better_zoom.patch" to the KiCad developers mailing list.
9) Send the patch file "my_changes.patch" to the KiCad developers mailing list.
   in the subject of the e-mail include the keyword "[PATCH]".
   in the subject of the e-mail include the keyword "[PATCH]".
   in the body of the e-mail clearly explain what you have done.
   in the body of the e-mail clearly explain what you have done.


+10 −11
Original line number Original line Diff line number Diff line
@@ -9,12 +9,11 @@ AUTHORS.txt - The authors, contributors, document writers and translators li
CHANGELOG.txt       - This years changelog (see for previous years Documentation/changelogs)
CHANGELOG.txt       - This years changelog (see for previous years Documentation/changelogs)
CMakeList.txt       - CMAKE build tool script
CMakeList.txt       - CMAKE build tool script
COPYRIGHT.txt       - A copy of the GNU General Public License Version 2
COPYRIGHT.txt       - A copy of the GNU General Public License Version 2
CTestConfig.txt - Support for CTest and CDash testing tools
CTestConfig.cmake   - Support for CTest and CDash testing tools
Doxyfile        - Doxygen preferences
Doxyfile            - Doxygen config file for Kicad
INSTALL.txt         - The release (binairy) installation instructions
INSTALL.txt         - The release (binairy) installation instructions
TODO.txt            - Todo list
TODO.txt            - Todo list
uncrustify.cfg  - Uncrustify code formatting tool preferences
uncrustify.cfg      - Uncrustify config file for uncrustify sorces formatting tool
version.txt     - The current stable released version


Subdirectories
Subdirectories
--------------
--------------
@@ -37,6 +36,6 @@ packaging - Files for packaging on Windows and Mac OSX
pcbnew         - Sourcecode of the printed circuit board editor
pcbnew         - Sourcecode of the printed circuit board editor
polygon        - Sourcecode of the polygon library
polygon        - Sourcecode of the polygon library
resources      - Resources for installation, freedesktop mime-types for linux
resources      - Resources for installation, freedesktop mime-types for linux
scripts        - Helper scripts. For building, sourcecode packaging, font setting, pcb adjusting.
scripts        - Helper scripts. For building, sourcecode packaging.
template       - Project template(s)
template       - Project template(s)
+4 −4
Original line number Original line Diff line number Diff line
@@ -281,7 +281,7 @@ bool DSNLEXER::IsSymbol( int aTok )
void DSNLEXER::Expecting( int aTok ) throw( IO_ERROR )
void DSNLEXER::Expecting( int aTok ) throw( IO_ERROR )
{
{
    wxString errText;
    wxString errText;
    errText.Printf( _("Expecting %s"), GetChars( GetTokenString( aTok ) ) );
    errText.Printf( _("Expecting '%s'"), GetChars( GetTokenString( aTok ) ) );
    THROW_PARSE_ERROR( errText, CurSource(), CurLine(), CurLineNumber(), CurOffset() );
    THROW_PARSE_ERROR( errText, CurSource(), CurLine(), CurLineNumber(), CurOffset() );
}
}


@@ -298,7 +298,7 @@ void DSNLEXER::Expecting( const char* text ) throw( IO_ERROR )
void DSNLEXER::Unexpected( int aTok ) throw( IO_ERROR )
void DSNLEXER::Unexpected( int aTok ) throw( IO_ERROR )
{
{
    wxString errText;
    wxString errText;
    errText.Printf( _("Unexpected %s"), GetChars( GetTokenString( aTok ) ) );
    errText.Printf( _("Unexpected '%s'"), GetChars( GetTokenString( aTok ) ) );
    THROW_PARSE_ERROR( errText, CurSource(), CurLine(), CurLineNumber(), CurOffset() );
    THROW_PARSE_ERROR( errText, CurSource(), CurLine(), CurLineNumber(), CurOffset() );
}
}


+1 −1
Original line number Original line Diff line number Diff line
@@ -452,7 +452,7 @@ void DIALOG_EDIT_COMPONENT_IN_LIBRARY::BrowseAndSelectDocFile( wxCommandEvent& e


void DIALOG_EDIT_COMPONENT_IN_LIBRARY::DeleteAllFootprintFilter( wxCommandEvent& event )
void DIALOG_EDIT_COMPONENT_IN_LIBRARY::DeleteAllFootprintFilter( wxCommandEvent& event )
{
{
    if( IsOK( this, _( "OK to Delete FootprintFilter LIST" ) ) )
    if( IsOK( this, _( "OK to delete the footprint filter list ?" ) ) )
    {
    {
        m_FootprintFilterListBox->Clear();
        m_FootprintFilterListBox->Clear();
        m_ButtonDeleteAllFootprintFilter->Enable( false );
        m_ButtonDeleteAllFootprintFilter->Enable( false );
+13 −13
Original line number Original line Diff line number Diff line
@@ -305,10 +305,10 @@ void AddMenusForComponentField( wxMenu* PopMenu, SCH_FIELD* Field )
    {
    {
        switch( Field->GetId() )
        switch( Field->GetId() )
        {
        {
        case REFERENCE: name = _( "Move reference" ); break;
        case REFERENCE: name = _( "Move Reference" ); break;
        case VALUE:     name = _( "Move value" ); break;
        case VALUE:     name = _( "Move Value" ); break;
        case FOOTPRINT: name = _( "Move footprint field" ); break;
        case FOOTPRINT: name = _( "Move Footprint Field" ); break;
        default:        name = _( "Move field" ); break;
        default:        name = _( "Move Field" ); break;
        }
        }


        msg = AddHotkeyName( name, s_Schematic_Hokeys_Descr,
        msg = AddHotkeyName( name, s_Schematic_Hokeys_Descr,
@@ -318,10 +318,10 @@ void AddMenusForComponentField( wxMenu* PopMenu, SCH_FIELD* Field )


    switch( Field->GetId() )
    switch( Field->GetId() )
    {
    {
    case REFERENCE: name = _( "Rotate reference" ); break;
    case REFERENCE: name = _( "Rotate Reference" ); break;
    case VALUE:     name = _( "Rotate value" ); break;
    case VALUE:     name = _( "Rotate Value" ); break;
    case FOOTPRINT: name = _( "Rotate footprint field" ); break;
    case FOOTPRINT: name = _( "Rotate Footprint Field" ); break;
    default:        name = _( "Rotate field" ); break;
    default:        name = _( "Rotate Field" ); break;
    }
    }


    msg = AddHotkeyName( name, s_Schematic_Hokeys_Descr, HK_ROTATE );
    msg = AddHotkeyName( name, s_Schematic_Hokeys_Descr, HK_ROTATE );
@@ -333,19 +333,19 @@ void AddMenusForComponentField( wxMenu* PopMenu, SCH_FIELD* Field )
    {
    {
    case REFERENCE:
    case REFERENCE:
        id = HK_EDIT_COMPONENT_REFERENCE;
        id = HK_EDIT_COMPONENT_REFERENCE;
        name = _( "Edit reference" );
        name = _( "Edit Reference" );
        break;
        break;
    case VALUE:
    case VALUE:
        id = HK_EDIT_COMPONENT_VALUE;
        id = HK_EDIT_COMPONENT_VALUE;
        name = _( "Edit value" );
        name = _( "Edit Value" );
        break;
        break;
    case FOOTPRINT:
    case FOOTPRINT:
        id = HK_EDIT_COMPONENT_FOOTPRINT;
        id = HK_EDIT_COMPONENT_FOOTPRINT;
        name = _( "Edit footprint field" );
        name = _( "Edit Footprint Field" );
        break;
        break;
    default:
    default:
        id = HK_EDIT;
        id = HK_EDIT;
        name = _( "Edit field" );
        name = _( "Edit Field" );
        break;
        break;
    }
    }
    msg = AddHotkeyName( name, s_Schematic_Hokeys_Descr, id );
    msg = AddHotkeyName( name, s_Schematic_Hokeys_Descr, id );
Loading