Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sys_27 committed Nov 2, 2013
1 parent b7595ff commit 1c686e6
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 10 deletions.
2 changes: 1 addition & 1 deletion xFunc.Maths/Expressions/MathFunctionCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#endif
#if !PORTABLE
using System.Runtime.Serialization;
using xFunc.Maths.Resources;
#endif
using xFunc.Maths.Resources;

namespace xFunc.Maths.Expressions
{
Expand Down
2 changes: 1 addition & 1 deletion xFunc.Maths/xFunc.Maths (.Net 2.0).csproj
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<Compile Include="MathParser.cs" />
<Compile Include="MathProcessor.cs" />
<Compile Include="MathSimplifier.cs" />
<Compile Include="NumberSystem.cs" />
<Compile Include="NumeralSystem.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Resources\Resource.uk.Designer.cs">
<DependentUpon>Resource.uk.resx</DependentUpon>
Expand Down
2 changes: 1 addition & 1 deletion xFunc.Maths/xFunc.Maths (.Net 3.0).csproj
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<Compile Include="MathParser.cs" />
<Compile Include="MathProcessor.cs" />
<Compile Include="MathSimplifier.cs" />
<Compile Include="NumberSystem.cs" />
<Compile Include="NumeralSystem.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Resources\Resource.uk.Designer.cs">
<DependentUpon>Resource.uk.resx</DependentUpon>
Expand Down
2 changes: 1 addition & 1 deletion xFunc.Maths/xFunc.Maths (.Net 3.5).csproj
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<Compile Include="MathParser.cs" />
<Compile Include="MathProcessor.cs" />
<Compile Include="MathSimplifier.cs" />
<Compile Include="NumberSystem.cs" />
<Compile Include="NumeralSystem.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Resources\Resource.uk.Designer.cs">
<DependentUpon>Resource.uk.resx</DependentUpon>
Expand Down
2 changes: 1 addition & 1 deletion xFunc.Maths/xFunc.Maths (.Net 4.5).csproj
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
<Compile Include="MathParser.cs" />
<Compile Include="MathProcessor.cs" />
<Compile Include="MathSimplifier.cs" />
<Compile Include="NumberSystem.cs" />
<Compile Include="NumeralSystem.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Resources\Resource.uk.Designer.cs">
<DependentUpon>Resource.uk.resx</DependentUpon>
Expand Down
2 changes: 1 addition & 1 deletion xFunc.Maths/xFunc.Maths (.Net 4.5.1).csproj
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
<Compile Include="MathParser.cs" />
<Compile Include="MathProcessor.cs" />
<Compile Include="MathSimplifier.cs" />
<Compile Include="NumberSystem.cs" />
<Compile Include="NumeralSystem.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Resources\Resource.uk.Designer.cs">
<DependentUpon>Resource.uk.resx</DependentUpon>
Expand Down
2 changes: 1 addition & 1 deletion xFunc.Maths/xFunc.Maths (Portable).csproj
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
<Compile Include="MathParserException.cs" />
<Compile Include="MathProcessor.cs" />
<Compile Include="MathSimplifier.cs" />
<Compile Include="NumberSystem.cs" />
<Compile Include="NumeralSystem.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Resources\Resource.uk.Designer.cs">
<DependentUpon>Resource.uk.resx</DependentUpon>
Expand Down
2 changes: 1 addition & 1 deletion xFunc/Presenters/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ internal class Updater
{

private const string checkUri = "http://xfunc.codeplex.com/releases/";
private const int currentRelease = 114030;
private const int currentRelease = 114279;
private string updateUri;
private bool hasUpdates;

Expand Down
9 changes: 9 additions & 0 deletions xFunc/Resources/Resource.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions xFunc/Resources/Resource.resx
Original file line number Diff line number Diff line change
Expand Up @@ -630,4 +630,7 @@
<data name="ErrorHeader" xml:space="preserve">
<value>Error</value>
</data>
<data name="AddFuncError" xml:space="preserve">
<value>The function name is incorrect.</value>
</data>
</root>
3 changes: 3 additions & 0 deletions xFunc/Resources/Resource.ru.resx
Original file line number Diff line number Diff line change
Expand Up @@ -630,4 +630,7 @@
<data name="ErrorHeader" xml:space="preserve">
<value>Ошибка</value>
</data>
<data name="AddFuncError" xml:space="preserve">
<value>Имя функции является неправильным.</value>
</data>
</root>
3 changes: 3 additions & 0 deletions xFunc/Resources/Resource.uk.resx
Original file line number Diff line number Diff line change
Expand Up @@ -630,4 +630,7 @@
<data name="ErrorHeader" xml:space="preserve">
<value>Помилка</value>
</data>
<data name="AddFuncError" xml:space="preserve">
<value>Ім'я функції є неправильним.</value>
</data>
</root>
3 changes: 1 addition & 2 deletions xFunc/Views/FunctionView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ private void AddCommand_Executed(object o, ExecutedRoutedEventArgs args)
var userFunc = processor.Parse(view.FunctionName) as UserFunction;
if (userFunc == null)
{
// todo: !!!
MessageBox.Show(this, "", Resource.ErrorHeader, MessageBoxButton.OK, MessageBoxImage.Warning);
MessageBox.Show(this, Resource.AddFuncError, Resource.ErrorHeader, MessageBoxButton.OK, MessageBoxImage.Warning);

return;
}
Expand Down

0 comments on commit 1c686e6

Please sign in to comment.