Skip to content

Commit

Permalink
Merge pull request #11478 from tj-devel709/AddingTempResxFiles
Browse files Browse the repository at this point in the history
[Localization] Using old translations for our MSBuild localization until we receive updated localization strings from the Loc team.
  • Loading branch information
tj-devel709 authored May 8, 2021
2 parents f61cc98 + de63dd6 commit 4aa8d9a
Show file tree
Hide file tree
Showing 15 changed files with 6,354 additions and 13,223 deletions.
1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.cs.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.de.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.es.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.fr.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.it.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.ja.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.ko.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.pl.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.pt-BR.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.ru.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.tr.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.zh-Hans.resx

Large diffs are not rendered by default.

1,505 changes: 488 additions & 1,017 deletions msbuild/Xamarin.Localization.MSBuild/TranslatedAssemblies/MSBStrings.zh-Hant.resx

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,19 @@ public class LocalizationStringTest : TestBase {
[TestCase ("en-US", "Unknown image format.")]
[TestCase ("es-ES", "formato de imagen desconocido.")]
[TestCase ("fr-FR", "format d'image inconnu.")]
[TestCase ("hu", "hu")]
[TestCase ("it-IT", "Formato immagine sconosciuto.")]
[TestCase ("ja-JP", "の読み込みでエラーが発生しました: 画像の形式が不明です。")]
[TestCase ("ko-KR", "을(를) 로드하는 동안 오류 발생: 알 수 없는 이미지 형식입니다.")]
[TestCase ("nl", "nl")]
[TestCase ("pl-PL", "nieznany format obrazu.")]
[TestCase ("pt-BR", "formato de imagem desconhecido.")]
[TestCase ("pt-PT", "pt-PT")]
[TestCase ("ru-RU", "неизвестный формат изображения.")]
[TestCase ("sv", "sv")]
[TestCase ("tr-TR", "yüklenirken hata oluştu: Görüntü biçimi bilinmiyor.")]
[TestCase ("zh-CN", "时出错: 未知图像格式")]
[TestCase ("zh-TW", "時發生錯誤: 未知的映像格式。")]
[Ignore ("OneLocBuild will return proper translated resx files.")]
public void AllSupportedTranslations (string culture, string errorMessage)
{
CultureInfo originalUICulture = Thread.CurrentThread.CurrentUICulture;
Expand All @@ -56,18 +57,19 @@ public void AllSupportedTranslations (string culture, string errorMessage)
[TestCase ("de-DE")]
[TestCase ("es-ES")]
[TestCase ("fr-FR")]
[TestCase ("hu")]
[TestCase ("it-IT")]
[TestCase ("ja-JP")]
[TestCase ("ko-KR")]
[TestCase ("nl")]
[TestCase ("pl-PL")]
[TestCase ("pt-BR")]
[TestCase ("pt-PT")]
[TestCase ("ru-RU")]
[TestCase ("sv")]
[TestCase ("tr-TR")]
[TestCase ("zh-CN")]
[TestCase ("zh-TW")]
[Ignore ("OneLocBuild will return proper translated resx files.")]
public void SpecificErrorTranslation (string culture)
{
// insert which error code you'd like to test
Expand Down Expand Up @@ -110,11 +112,13 @@ public void SetUp ()
[TestCase ("de-DE")]
[TestCase ("es-ES")]
[TestCase ("fr-FR")]
[TestCase ("hu")]
[TestCase ("it-IT")]
[TestCase ("ja-JP")]
[TestCase ("ko-KR")]
[TestCase ("nl")]
[TestCase ("pl-PL")]
[TestCase ("pt-PT")]
[TestCase ("pt-BR")]
[TestCase ("ru-RU")]
[TestCase ("sv")]
Expand Down
4 changes: 4 additions & 0 deletions tests/mtouch/LocalizationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ public class LocalizationTests
[TestCase ("de-DE")]
[TestCase ("es-ES")]
[TestCase ("fr-FR")]
[TestCase ("hu")]
[TestCase ("it-IT")]
[TestCase ("ja-JP")]
[TestCase ("ko-KR")]
[TestCase ("nl")]
[TestCase ("pl")]
[TestCase ("pt-BR")]
[TestCase ("pt-PT")]
[TestCase ("ru-RU")]
Expand Down Expand Up @@ -70,10 +72,12 @@ private string TranslateError (string culture, string errorCode)
[TestCase ("de-DE")]
[TestCase ("es-ES")]
[TestCase ("fr-FR")]
[TestCase ("hu")]
[TestCase ("it-IT")]
[TestCase ("ja-JP")]
[TestCase ("ko-KR")]
[TestCase ("nl")]
[TestCase ("pl")]
[TestCase ("pt-BR")]
[TestCase ("pt-PT")]
[TestCase ("ru-RU")]
Expand Down

8 comments on commit 4aa8d9a

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

❌ Status for 'xamarin-macios - sample testing (build)': failure.

  • ❌ Debug_iPhone_AF: Failed
  • ❌ Debug_iPhone_GR: Failed
  • ❌ Debug_iPhone_SZ: Failed
  • ❌ Debug_iPhoneSimulator: Failed
  • ❌ Release_iPhone_AF: Failed
  • ❌ Release_iPhone_GR: Failed
  • ❌ Release_iPhone_SZ: Failed
  • ❌ Release_iPhoneSimulator: Failed
  • ❌ Debug_Mac: Failed
  • ❌ Release_Mac: Failed
  • ❌ PublishPerformanceData: Failed

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

❌ [CI Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

API Diff (from PR only) (no change)
Generator Diff (no change)

Packages generated

View packages

Test results

1 tests failed, 192 tests passed.

Failed tests

  • introspection/watchOS 32-bits - simulator/Debug (watchOS 5.0): Failed

Pipeline on Agent XAMBOT-1017'
Merge pull request #11478 from tj-devel709/AddingTempResxFiles

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

⚠️ Tests were not ran (VSTS: device tests tvOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
Merge pull request #11478 from tj-devel709/AddingTempResxFiles

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

⚠️ Tests were not ran (VSTS: device tests iOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
Merge pull request #11478 from tj-devel709/AddingTempResxFiles

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

❌ Tests failed on macOS Mac Mojave (10.14) ❌

Tests failed on Mac Mojave (10.14).

Failed tests are:

  • introspection
  • xammac_tests

Pipeline on Agent
Merge pull request #11478 from tj-devel709/AddingTempResxFiles

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

❌ Tests failed on macOS Mac High Sierra (10.13) ❌

Tests failed on Mac High Sierra (10.13).

Failed tests are:

  • introspection
  • xammac_tests

Pipeline on Agent
Merge pull request #11478 from tj-devel709/AddingTempResxFiles

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

❌ [CI Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

API Diff (from PR only) (no change)
Generator Diff (no change)

Packages generated

View packages

Test results

1 tests failed, 192 tests passed.

Failed tests

  • introspection/watchOS 32-bits - simulator/Debug (watchOS 5.0): Failed

Pipeline on Agent XAMBOT-1017'
Merge pull request #11478 from tj-devel709/AddingTempResxFiles

[Localization] Using old translations for our MSBuild localization until we receive updated localization strings from the Loc team.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

⚠️ Tests were not ran (VSTS: device tests iOS32b). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
Merge pull request #11478 from tj-devel709/AddingTempResxFiles

Please sign in to comment.