Import of Excel fails if the neutral resource file have been deleted
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- csharp
- 領域
- localization
調査の方向性
src/ResXManager.Model/ResourceEntityExtensions.cs の204~218行目付近から始め、ローカライズされたリソースはあるもののニュートラルな .resx ファイルがないプロジェクトの Excel インポートパスを追ってください。記載された手順を再現し、すべてのリソースファイルを削除した場合の動作と同様に、インポートが失敗するのではなく翻訳をスキップすることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Resx Manager fails to import all translations when the neutral resource file have been deleted, but there still is a localized version.
MyResource.resx- MyResource.da.resx
To Reproduce
- Create a resource file with a single row
- Translate the row to another language
- Export an Excel file of all rows
- Delete the neutral resx file
- Import the Excel file
Expected behavior
I would expect the ResxManager to skip importing the translation, similar to how it works if all the Resource files are deleted.
I tried debugging this a bit, but I was unable to detect where I would need to make my changes.
But I believe the primary culprit is here: https://github.com/dotnet/ResXResourceManager/blob/647beb330ccb12f7283fb73b2fe29acf8d3c0c68/src/ResXManager.Model/ResourceEntityExtensions.cs#L204-L218
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 251
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/ResXResourceManager のほかの issue
-
Feature request Up for grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
dotnet/ResXResourceManager#777 ·
-
Feature request Up for grabs
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
dotnet/ResXResourceManager#778 ·
-
Feature request Up for grabs
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
dotnet/ResXResourceManager#762 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
dotnet/ResXResourceManager#758 · コメント 5 件 ·
-
Feature request Up for grabs
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
dotnet/ResXResourceManager#747 · コメント 3 件 ·
dotnet/ResXResourceManager の issue をすべて見る
似ている issue
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 62/100
-
bug misleading tooling trivial
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
Docs example projects pinned to a literal library version instead of 3.*対応中かも @DaveSkender が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
facioquo/stock-indicators-dotnet#2372 ·
メンテナーはふだん 1 日以内に返信
-
[Docs] officecli-docx SKILL.md still describes `\n` as a soft line break after #262対応中かも @giprime が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Facepunch/sbox-public#12097 ·
メンテナーはふだん 2 日以内に返信