Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed incorrect Russian graphing translations #2087

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions src/Calculator/Resources/ru-RU/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -2318,7 +2318,7 @@
<comment>{Locked="%1"}. Copyright statement, displayed on the About panel. %1 = the current year (4 digits)</comment>
</data>
<data name="AboutControlContribute" xml:space="preserve">
<value>Чтобы узнать, как вы можете участвовать в Windows калькулятора, изучите проект на %HL%GitHub%HL%.</value>
<value>Чтобы узнать, как вы можете участвовать в разработке Windows калькулятора, изучите проект на %HL%GitHub%HL%.</value>
<comment>{Locked="%HL%GitHub%HL%"}. GitHub link, Displayed on the About panel</comment>
</data>
<data name="AboutGroupTitle.Text" xml:space="preserve">
Expand Down Expand Up @@ -3368,15 +3368,15 @@
<comment>String describing constant monotonicity of a function</comment>
</data>
<data name="KGFMonotonicityDecreasing" xml:space="preserve">
<value>Уменьшающаяся</value>
<value>убывающая</value>
<comment>String describing decreasing monotonicity of a function</comment>
</data>
<data name="KGFMonotonicityError" xml:space="preserve">
<value>Не удалось определить монотонность функции.</value>
<comment>Error displayed when monotonicity cannot be determined</comment>
</data>
<data name="KGFMonotonicityIncreasing" xml:space="preserve">
<value>Увеличивающаяся</value>
<value>возрастающая</value>
<comment>String describing increasing monotonicity of a function</comment>
</data>
<data name="KGFMonotonicityUnknown" xml:space="preserve">
Expand Down Expand Up @@ -3436,7 +3436,7 @@
<comment>Message displayed when the graph does not have any y-intercepts</comment>
</data>
<data name="Domain" xml:space="preserve">
<value>Домен</value>
<value>Область определения</value>
<comment>Title for KeyGraphFeatures Domain Property</comment>
</data>
<data name="HorizontalAsymptotes" xml:space="preserve">
Expand Down Expand Up @@ -3476,7 +3476,7 @@
<comment>Title for KeyGraphFeatures Parity Property</comment>
</data>
<data name="Periodicity" xml:space="preserve">
<value>Цикл</value>
<value>Период</value>
<comment>Title for KeyGraphFeatures Periodicity Property. The period of a mathematical function is the smallest interval in its input values such that its output values repeat every such interval.</comment>
</data>
<data name="Range" xml:space="preserve">
Expand All @@ -3499,7 +3499,7 @@
<value>Не удалось выполнить анализ функции.</value>
</data>
<data name="KGFDomainNone" xml:space="preserve">
<value>Не удалось вычислить домен для этой функции.</value>
<value>Не удалось вычислить область определения для этой функции.</value>
<comment>Error displayed when Domain is not returned from the analyzer.</comment>
</data>
<data name="KGFRangeNone" xml:space="preserve">
Expand Down Expand Up @@ -3531,7 +3531,7 @@
<comment>Error that occurs during graphing when a factorial has a large n</comment>
</data>
<data name="ModuloCannotPerformOnFloat" xml:space="preserve">
<value>По модулю можно использовать только целые числа</value>
<value>По модулю можно брать только целые числа</value>
<comment>Error that occurs during graphing when modulo is used with a float.</comment>
</data>
<data name="EquationHasNoSolution" xml:space="preserve">
Expand Down Expand Up @@ -3567,7 +3567,7 @@
<comment>Error that occurs during graphing when a number has too many decimals. Ex: 1.2.3</comment>
</data>
<data name="DecimalPointWithoutDigits" xml:space="preserve">
<value>В десятичной запятой отсутствуют цифры</value>
<value>Нет цифр рядом с десятичной запятой</value>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "Десятичная запятая не имеет цифр" would be more fitting to the language norms

<comment>Error that occurs during graphing with a decimal point without digits</comment>
</data>
<data name="UnexpectedEndOfExpression" xml:space="preserve">
Expand Down Expand Up @@ -3599,15 +3599,15 @@
<comment>Error that occurs during graphing when the expression is empty</comment>
</data>
<data name="EqualWithoutEquation" xml:space="preserve">
<value>Равный был использован без уравнения</value>
<value>Знак равенства использован без уравнения</value>
<comment>Error that occurs during graphing when equal is used without an equation. Ex: sin(x=y)</comment>
</data>
<data name="ExpectParenthesisAfterFunctionName" xml:space="preserve">
<value>Скобки отсутствуют после имени функции</value>
<comment>Error that occurs during graphing when parenthesis are missing after a function.</comment>
</data>
<data name="IncorrectNumParameter" xml:space="preserve">
<value>Математическая операция имеет неверное количество параметров</value>
<value>Неверное количество параметров функции</value>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that this is a more fitting translation, but the original talks about operations too, so maybe it's used not only with functions?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is true, I surely overlooked this one.
This error can be triggered by trying to input y=log() in graphing mode for example. But entering y=x^ gives a different error (Непредвиденные символы в выражении). Логарифмирование is mathematical operation, however we can also say that logarithm is a function.
Maybe translation should be "Неверное количество параметров математической операции". Long, but covers all possible cases. Or just "Неверное количество параметров".

<comment>Error that occurs during graphing when a function has the wrong number of parameters</comment>
</data>
<data name="InvalidVariableNameFormat" xml:space="preserve">
Expand All @@ -3627,19 +3627,19 @@
<comment>Error that occurs during graphing when i or I is used.</comment>
</data>
<data name="GeneralError" xml:space="preserve">
<value>Уравнение не может быть построено</value>
<value>График уравнения не может быть построен</value>
<comment>General error that occurs during graphing.</comment>
</data>
<data name="InvalidNumberDigit" xml:space="preserve">
<value>Цифра не может быть разрешена для данной базы</value>
<value>Цифра не может использоваться с этим основанием</value>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<value>Цифра не может использоваться с этим основанием</value>
<value>Не удалось определить цифру для заданного основания</value>

Though I haven't found how to trigger this error to see what it is about

<comment>Error that occurs during graphing when trying to use bases incorrect. Ex: base(2,1020).</comment>
</data>
<data name="InvalidNumberBase" xml:space="preserve">
<value>Значение должно быть больше 2 и меньше 36</value>
<comment>Error that occurs during graphing when the base is out of range.</comment>
</data>
<data name="InvalidVariableSpecification" xml:space="preserve">
<value>Математическая операция требует, чтобы один из ее параметров был переменной</value>
<value>Один из параметров функции должен быть переменной</value>
<comment>Error that occurs during graphing when a function requires a variable in a particular position. Ex: 2nd argument of deriv.</comment>
</data>
<data name="ExpectingLogicalOperands" xml:space="preserve">
Expand All @@ -3655,11 +3655,11 @@
<comment>Error that occurs during graphing when x or y is used in the limit point.</comment>
</data>
<data name="CannotUseComplexInfinityInReal" xml:space="preserve">
<value>Не может использовать сложную бесконечность</value>
<value>Нельзя использовать комплексную бесконечность</value>
<comment>Error that occurs during graphing when complex infinity is used</comment>
</data>
<data name="CannotUseIInInequalitySolving" xml:space="preserve">
<value>Не может использовать комплексные числа в неравенствах</value>
<value>Нельзя использовать комплексные числа в неравенствах</value>
<comment>Error that occurs during graphing when complex numbers are used in inequalities.</comment>
</data>
<data name="equationAnalysisBack.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve">
Expand Down Expand Up @@ -3755,7 +3755,7 @@
<comment>Used in Graphing Calculator to switch the view to the equation mode</comment>
</data>
<data name="GraphSwitchToGraphMode" xml:space="preserve">
<value>Перейти в режим графа</value>
<value>Перейти в режим графика</value>
<comment>Used in Graphing Calculator to switch the view to the graph mode</comment>
</data>
<data name="SwitchModeToggleButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
Expand Down