Changeset 315


Ignore:
Timestamp:
3/30/2008 2:00:06 PM (7 years ago)
Author:
lowjoel
Message:

-Slightly faster approach to calling xgettext
-Fixed an English string issue

Location:
branches/eraser6/Eraser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Eraser/Eraser.csproj

    r312 r315  
    205205  <PropertyGroup> 
    206206    <PostBuildEvent>cd $(ProjectDir) 
    207 for /R %25%25i in (*.cs) do xgettext --keyword=_ --keyword=_:1c,2 --from-code UTF-8 -j -o "Languages\Eraser.pot" "%25%25i" 
     207if exist "Filelist" ( 
     208    echo The temporary file holding translation files already exist. 
     209    exit 1 
     210) 
     211 
     212for /R %25%25i in (*.cs) do echo %25%25i &gt;&gt; "Filelist" 
     213xgettext --keyword=_ --keyword=_:1c,2 --from-code UTF-8 -j -o "Languages\Eraser.pot" "%25i" 
     214del Filelist 
     215 
    208216for %25%25i in (Languages\*.po) do msgmerge -U --backup=none "%25%25i" "Languages\Eraser.pot" 
    209217 
  • branches/eraser6/Eraser/Program.cs

    r314 r315  
    114114                        key.DeleteValue("PluginSettings"); 
    115115                        MessageBox.Show(S._("Could not load plugin settings. All settings " + 
    116                             "have been lost"), S._("Eraser"), MessageBoxButtons.OK, 
     116                            "have been lost."), S._("Eraser"), MessageBoxButtons.OK, 
    117117                            MessageBoxIcon.Error); 
    118118                    } 
Note: See TracChangeset for help on using the changeset viewer.