Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
modify some words
Browse files Browse the repository at this point in the history
  • Loading branch information
xupefei committed Jan 31, 2014
1 parent 1d208d5 commit ef09b6f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 4 additions & 1 deletion LEGUI/App.xaml.cs
Expand Up @@ -69,7 +69,10 @@ private void App_OnStartup(object sender, StartupEventArgs e)
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Locale Emulator", MessageBoxButton.OK, MessageBoxImage.Error);
MessageBox.Show("LEGUI requires administrator privilege to write to the current directory.",
"Locale Emulator",
MessageBoxButton.OK,
MessageBoxImage.Error);
}
finally
{
Expand Down
10 changes: 9 additions & 1 deletion LEProc/Program.cs
Expand Up @@ -19,7 +19,15 @@ internal static class Program
[STAThread]
private static void Main(string[] args)
{
LEConfig.CheckGlobalConfigFile(true);
if (!File.Exists(LEConfig.GlobalConfigPath))
{
MessageBox.Show(
"\"LEConfig.xml\" not found. \r\n" +
"Please run \"LEGUI.exe\" once to let it generate one for you.",
"Locale Emulator Version " + Application.ProductVersion,
MessageBoxButtons.OK,
MessageBoxIcon.Information);
}

if (args.Length == 0)
{
Expand Down

0 comments on commit ef09b6f

Please sign in to comment.