Localization added to sqlservicetools (#1216)

* added other languages to ServiceLayer

* fixed travis and appveyor yaml, added other languages for localization

* added spanish and german strings to credentialslocalization, also WIP for coreservices test

* added WIP localization test for CoreServices

* Removed unit test for coreservices, need to work on those later.

* restored travis and appveyor

* added kusto string resource localization test

* added localization test and locale change for SqlToolsCredentials

* added locale command options to ResourceProvider

* revert resourceprovider test

* Localized SqlTools.Credentials

* added hosting localization

* replaced new with translation to be consistent with main service layer

* reverted external changes as it is unnecessary

* Translated ManagedBatchParser

* test culture value

* test culture change

* temporarily comment out service layer command options

* returned sr.cs

* temporarily remove bad tests

* restored tests and allowed for SR culture to change for dependencies (for future testing)

* localization for resourceprovider components added.

* Set LocaleSetter to public and also removed InternalsVisible for Kusto, Credentials and ResourceProvider

* removed unnecessary changes

* Removed CredentialsCommandOptions

* renamed pt-BR to pt-br

* Rename sr.pt-BR.xlf.template to sr.pt-br.xlf.template

* Rename src/Microsoft.SqlTools.ServiceLayer/Localization/LCL/pt-BR/sr.resx.lcl to src/Microsoft.SqlTools.ServiceLayer/Localization/LCL/pt-br/sr.resx.lcl

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* restored newlines

* Update sr.pt-br.xlf.template

Removed newline

* removed newline

* fixing newlines for consistency

* removed unnecessary newline
This commit is contained in:
Alex Ma
2021-06-10 15:50:53 -07:00
committed by GitHub
parent 54fe38ef95
commit 993b094db9
129 changed files with 17443 additions and 4600 deletions

View File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pt-br">
<body>
<trans-unit id="FailedToGetAzureDatabasesErrorMessage">
<source>An error occurred while getting Azure databases</source>
<target state="translated">Ocorreu um erro ao obter os bancos de dados Azure</target>
<note></note>
</trans-unit>
<trans-unit id="FailedToGetAzureResourceGroupsErrorMessage">
<source>An error occurred while getting Azure resource groups: {0}</source>
<target state="translated">Ocorreu um erro ao obter grupos de recursos Azure: {0}</target>
<note></note>
</trans-unit>
<trans-unit id="FailedToGetAzureSqlServersErrorMessage">
<source>An error occurred while getting Azure Sql Servers</source>
<target state="translated">Ocorreu um erro ao obter Servidores Azure Sql</target>
<note></note>
</trans-unit>
<trans-unit id="FirewallRuleCreationFailed">
<source>An error occurred while creating a new firewall rule.</source>
<target state="translated">Ocorreu um erro ao criar uma nova regra de firewall.</target>
<note></note>
</trans-unit>
<trans-unit id="UnsupportedAuthType">
<source>Unsupported account type '{0}' for this provider</source>
<target state="translated">Conta não suportada tipo '{0}' para este provedor</target>
<note></note>
</trans-unit>
<trans-unit id="FailedToGetAzureSqlServersWithError">
<source>An error occurred while getting Azure Sql Servers: '{0}'</source>
<target state="translated">Ocorreu um erro ao obter Servidores Azure Sql: '{0}'</target>
<note></note>
</trans-unit>
<trans-unit id="FirewallRuleCreationFailedWithError">
<source>An error occurred while creating a new firewall rule: '{0}'</source>
<target state="translated">Ocorreu um erro ao criar uma nova regra de firewall: '{0}'</target>
<note></note>
</trans-unit>
<trans-unit id="FailedToGetAzureSubscriptionsErrorMessage">
<source>An error occurred while getting Azure subscriptions: {0}</source>
<target state="translated">Ocorreu um erro ao receber as assinaturas do Azure: {0}</target>
<note></note>
</trans-unit>
<trans-unit id="UserNeedsAuthenticationError">
<source>The current user must be reauthenticated before executing this operation </source>
<target state="translated">O usuário atual deve ser reautenticado antes de executar esta operação </target>
<note></note>
</trans-unit>
<trans-unit id="UserNotFoundError">
<source>No user was found, cannot execute the operation</source>
<target state="translated">Nenhum usuário foi encontrado, não pode executar a operação</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>