Skip to content

localization: update Russian translate#2514

Merged
love-linger merged 1 commit into
sourcegit-scm:developfrom
AquariusStar:develop
Jul 6, 2026
Merged

localization: update Russian translate#2514
love-linger merged 1 commit into
sourcegit-scm:developfrom
AquariusStar:develop

Conversation

@AquariusStar

Copy link
Copy Markdown
Contributor

No description provided.

<x:String x:Key="Text.FileHistory" xml:space="preserve">История файлов</x:String>
<x:String x:Key="Text.FileHistory.FileChange" xml:space="preserve">ИЗМЕНИТЬ</x:String>
<x:String x:Key="Text.FileHistory.FileContent" xml:space="preserve">СОДЕРЖИМОЕ</x:String>
<x:String x:Key="Text.FileModeChange" xml:space="preserve">Изменение режима файла: </x:String>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@AquariusStar, быть может использовать слово "флаг" как перевод для "mode"? Кажется, это больше подходит по смыслу. "режим" выглядит инопланетно.

Suggested change
<x:String x:Key="Text.FileModeChange" xml:space="preserve">Изменение режима файла: </x:String>
<x:String x:Key="Text.FileModeChange" xml:space="preserve">Изменение флагов (mode) файла: </x:String>

@AquariusStar AquariusStar Jul 5, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Глянул по исходнику, на что отвечает. Действительно, тут явно не режим, а, скорее, атрибуты и флаги. Я так понял, что данный случай смотрит на

            var key = mode switch
            {
                100644 => "FileModeChange.Normal",
                100755 => "FileModeChange.Executable",
                040000 => "FileModeChange.Directory",
                120000 => "FileModeChange.Symlink",
                160000 => "FileModeChange.Submodule",
                _ => "FileModeChange.Unknown"
            };

@love-linger love-linger self-assigned this Jul 6, 2026
@love-linger love-linger added the localization Localization/Translation label Jul 6, 2026
@love-linger love-linger merged commit 2750812 into sourcegit-scm:develop Jul 6, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

localization Localization/Translation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants