Changeset 1999
- Timestamp:
- 5/1/2010 10:01:48 AM (3 years ago)
- Location:
- trunk/eraser/Eraser.Util
- Files:
-
- 5 added
- 4 edited
-
Eraser.Util.csproj (modified) (2 diffs)
-
ExtensionMethods/IO.cs (modified) (1 diff)
-
FileSize.cs (modified) (1 diff)
-
Logger.cs (modified) (2 diffs)
-
Strings.en.resx (added)
-
Strings.it.resx (added)
-
Strings.nl.resx (added)
-
Strings.pl.resx (added)
-
Strings.resx (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.Util/Eraser.Util.csproj
r1985 r1999 154 154 </BootstrapperPackage> 155 155 </ItemGroup> 156 <ItemGroup> 157 <EmbeddedResource Include="Strings.en.resx" /> 158 <EmbeddedResource Include="Strings.it.resx" /> 159 <EmbeddedResource Include="Strings.nl.resx" /> 160 <EmbeddedResource Include="Strings.pl.resx" /> 161 <EmbeddedResource Include="Strings.resx" /> 162 </ItemGroup> 156 163 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 157 164 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. … … 164 171 <PropertyGroup> 165 172 <PreBuildEvent>call "$(SolutionDir)UpdateVersions.bat" "$(SolutionDir)\." "$(SolutionDir)Version.cs.in" "$(SolutionDir)Version.cs" 166 </PreBuildEvent> 173 csgettext --merge --recursive EN,NL,IT,PL "$(ProjectDir)\." Strings 174 if ERRORLEVEL 0 exit 0</PreBuildEvent> 167 175 </PropertyGroup> 168 176 </Project> -
trunk/eraser/Eraser.Util/ExtensionMethods/IO.cs
r1802 r1999 219 219 else 220 220 throw new IOException(string.Format(CultureInfo.CurrentCulture, 221 "Could not load file icon from {0}", info.FullName),221 S._("Could not load file icon from {0}"), info.FullName), 222 222 Win32ErrorCode.GetExceptionForWin32Error(Marshal.GetLastWin32Error())); 223 223 } -
trunk/eraser/Eraser.Util/FileSize.cs
r1802 r1999 162 162 //List of units, in ascending scale 163 163 string[] units = new string[] { 164 "bytes",165 "KB",166 "MB",167 "GB",168 "TB",169 "PB",170 "EB"164 S._("bytes"), 165 S._("KB"), 166 S._("MB"), 167 S._("GB"), 168 S._("TB"), 169 S._("PB"), 170 S._("EB") 171 171 }; 172 172 -
trunk/eraser/Eraser.Util/Logger.cs
r1802 r1999 507 507 508 508 Target.OnEventLogged(this, new LogEventArgs( 509 new LogEntry( /*S._*/("Session started"), LogLevel.Information)));509 new LogEntry(S._("Session started"), LogLevel.Information))); 510 510 } 511 511 … … 540 540 541 541 Target.OnEventLogged(this, new LogEventArgs( 542 new LogEntry( /*S._*/("Session ended"), LogLevel.Information)));542 new LogEntry(S._("Session ended"), LogLevel.Information))); 543 543 Threads = null; 544 544 Target = null;
Note: See TracChangeset
for help on using the changeset viewer.
