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

Fix localized file check-in by OneLocBuild Task #2933

Merged
merged 1 commit into from
Apr 24, 2023
Merged
Show file tree
Hide file tree
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
70 changes: 49 additions & 21 deletions eng/Localize/LocProject.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,62 @@
{
"Projects": [
{
"LanguageSet": "Azure_Languages",
"LocItems": [
{
"SourceFile": "src\\polyglot-notebooks-vscode-insiders\\package.nls.json",
"CopyOption": "LangIDOnName",
"OutputPath": "src\\polyglot-notebooks-vscode-insiders"
},
"SourceFile": "src\\dotnet-interactive\\xlf\\Resources.xlf",
"OutputPath": "src\\dotnet-interactive\\xlf",
"LclFile": "src\\dotnet-interactive\\xlf\\{Lang}\\Resources.xlf.lcl",
"Languages": "",
"CopyOption": "LangIDOnName"
}
],
"LanguageSet": "VS_Main_Languages"
},
{
"LocItems": [
{
"SourceFile": "src\\dotnet-interactive\\Resources.resx",
"CopyOption": "LangIDOnName",
"OutputPath": "src\\dotnet-interactive"
},
"SourceFile": "src\\Microsoft.DotNet.Interactive\\xlf\\Resources.xlf",
"OutputPath": "src\\Microsoft.DotNet.Interactive\\xlf",
"LclFile": "src\\Microsoft.DotNet.Interactive\\xlf\\{Lang}\\Resources.xlf.lcl",
"Languages": "",
"CopyOption": "LangIDOnName"
}
],
"LanguageSet": "VS_Main_Languages"
},
{
"LocItems": [
{
"SourceFile": "src\\Microsoft.DotNet.Interactive\\Resources.resx",
"CopyOption": "LangIDOnName",
"OutputPath": "src\\Microsoft.DotNet.Interactive"
},
"SourceFile": "src\\Microsoft.DotNet.Interactive.Journey\\xlf\\Resources.xlf",
"OutputPath": "src\\Microsoft.DotNet.Interactive.Journey\\xlf",
"LclFile": "src\\Microsoft.DotNet.Interactive.Journey\\xlf\\{Lang}\\Resources.xlf.lcl",
"Languages": "",
"CopyOption": "LangIDOnName"
}
],
"LanguageSet": "VS_Main_Languages"
},
{
"LocItems": [
{
"SourceFile": "src\\Microsoft.DotNet.Interactive.Journey\\Resources.resx",
"CopyOption": "LangIDOnName",
"OutputPath": "src\\Microsoft.DotNet.Interactive.Journey"
},
"SourceFile": "src\\Microsoft.DotNet.Interactive.Jupyter\\xlf\\Resources.xlf",
"OutputPath": "src\\Microsoft.DotNet.Interactive.Jupyter\\xlf",
"LclFile": "src\\Microsoft.DotNet.Interactive.Jupyter\\xlf\\{Lang}\\Resources.xlf.lcl",
"Languages": "",
"CopyOption": "LangIDOnName"
}
],
"LanguageSet": "VS_Main_Languages"
},
{
"LocItems": [
{
"SourceFile": "src\\Microsoft.DotNet.Interactive.Jupyter\\Resources.resx",
"CopyOption": "LangIDOnName",
"OutputPath": "src\\Microsoft.DotNet.Interactive.Jupyter"
"SourceFile": "src\\polyglot-notebooks-vscode-insiders\\package.nls.json",
"OutputPath": "src\\polyglot-notebooks-vscode-insiders",
"CopyOption": "LangIDOnName"
}
]
],
"LanguageSet": "VS_Main_Languages"
}
]
}
27 changes: 27 additions & 0 deletions src/Microsoft.DotNet.Interactive.Journey/xlf/Resources.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../Resources.resx">
<body>
<trans-unit id="FileDoesNotExist">
<source>File does not exist: '{0}'.</source>
<target state="new">File does not exist: '{0}'.</target>
<note />
</trans-unit>
<trans-unit id="Magics_model_answer_from_file_Description">
<source>Specify lesson source file</source>
<target state="new">Specify lesson source file</target>
<note />
</trans-unit>
<trans-unit id="Magics_model_answer_from_file_ErrorMessage">
<source>The {0} and {1} options cannot be used together</source>
<target state="new">The {0} and {1} options cannot be used together</target>
<note />
</trans-unit>
<trans-unit id="Magics_model_answer_from_url_Description">
<source>Specify lesson source URL</source>
<target state="new">Specify lesson source URL</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
22 changes: 22 additions & 0 deletions src/Microsoft.DotNet.Interactive.Jupyter/xlf/Resources.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../Resources.resx">
<body>
<trans-unit id="Magics_lsmagic_Description">
<source>List the available magic commands / directives</source>
<target state="new">List the available magic commands / directives</target>
<note />
</trans-unit>
<trans-unit id="Magics_markdown_Description">
<source>Convert the code that follows from Markdown into HTML</source>
<target state="new">Convert the code that follows from Markdown into HTML</target>
<note />
</trans-unit>
<trans-unit id="Magics_time_Description">
<source>Time the execution of the following code in the submission.</source>
<target state="new">Time the execution of the following code in the submission.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
122 changes: 122 additions & 0 deletions src/Microsoft.DotNet.Interactive/xlf/Resources.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../Resources.resx">
<body>
<trans-unit id="FileDoesNotExist">
<source>File does not exist: '{0}'.</source>
<target state="new">File does not exist: '{0}'.</target>
<note />
</trans-unit>
<trans-unit id="Magics_ErrorMessage_CannotBeUsedTogether">
<source>The {0} and {1} options cannot be used together.</source>
<target state="new">The {0} and {1} options cannot be used together.</target>
<note />
</trans-unit>
<trans-unit id="Magics_import_Description">
<source>Runs another notebook or source code file inline.</source>
<target state="new">Runs another notebook or source code file inline.</target>
<note />
</trans-unit>
<trans-unit id="Magics_log_Description">
<source>Enables session logging.</source>
<target state="new">Enables session logging.</target>
<note />
</trans-unit>
<trans-unit id="Magics_set_Description">
<source>Sets a value in the current kernel</source>
<target state="new">Sets a value in the current kernel</target>
<note />
</trans-unit>
<trans-unit id="Magics_set_ErrorMessage_SharingByReference">
<source>Sharing by reference is not allowed when kernels are remote.</source>
<target state="new">Sharing by reference is not allowed when kernels are remote.</target>
<note />
</trans-unit>
<trans-unit id="Magics_set_byref_Description">
<source>Shares the specified value by reference if kernels are in the same process.</source>
<target state="new">Shares the specified value by reference if kernels are in the same process.</target>
<note />
</trans-unit>
<trans-unit id="Magics_set_mime_type_Description">
<source>The MIME type by which the value should be represented. This will often determine how an object will be formatted into a string.</source>
<target state="new">The MIME type by which the value should be represented. This will often determine how an object will be formatted into a string.</target>
<note />
</trans-unit>
<trans-unit id="Magics_set_mime_type_ErrorMessage_CannotBeUsed">
<source>The --mime-type and --byref options cannot be used together.</source>
<target state="new">The --mime-type and --byref options cannot be used together.</target>
<note />
</trans-unit>
<trans-unit id="Magics_set_name_Description">
<source>The name of the value to be created in the current kernel.</source>
<target state="new">The name of the value to be created in the current kernel.</target>
<note />
</trans-unit>
<trans-unit id="Magics_set_value_Description">
<source>The value to be set. @input:user_prompt allows you to prompt the user for this value. Values can be requested from other kernels by name, for example @csharp:variableName.</source>
<target state="new">The value to be set. @input:user_prompt allows you to prompt the user for this value. Values can be requested from other kernels by name, for example @csharp:variableName.</target>
<note />
</trans-unit>
<trans-unit id="Magics_share_Description">
<source>Get a value from one kernel and create a copy (or a reference if the kernels are in the same process) in another.</source>
<target state="new">Get a value from one kernel and create a copy (or a reference if the kernels are in the same process) in another.</target>
<note />
</trans-unit>
<trans-unit id="Magics_share_as_Description">
<source>The name to give the the value in the importing kernel.</source>
<target state="new">The name to give the the value in the importing kernel.</target>
<note />
</trans-unit>
<trans-unit id="Magics_share_from_Description">
<source>The name of the kernel to get the value from.</source>
<target state="new">The name of the kernel to get the value from.</target>
<note />
</trans-unit>
<trans-unit id="Magics_share_mime_type_Description">
<source>Share the value as a string formatted to the specified MIME type.</source>
<target state="new">Share the value as a string formatted to the specified MIME type.</target>
<note />
</trans-unit>
<trans-unit id="Magics_share_name_Description">
<source>The name of the value to share. (This is also the default name of the value created in the destination kernel, unless --as is used to specify a different one.)</source>
<target state="new">The name of the value to share. (This is also the default name of the value created in the destination kernel, unless --as is used to specify a different one.)</target>
<note />
</trans-unit>
<trans-unit id="Magics_value_from_file_Description">
<source>Specifies a file whose contents will be stored.</source>
<target state="new">Specifies a file whose contents will be stored.</target>
<note />
</trans-unit>
<trans-unit id="Magics_value_from_url_Description">
<source>Specifies a URL whose content will be stored.</source>
<target state="new">Specifies a URL whose content will be stored.</target>
<note />
</trans-unit>
<trans-unit id="Magics_value_from_value_Description">
<source>Specifies a value to be stored directly. Specifying @input:value allows you to prompt the user for this value.</source>
<target state="new">Specifies a value to be stored directly. Specifying @input:value allows you to prompt the user for this value.</target>
<note />
</trans-unit>
<trans-unit id="Magics_value_mime_type_Description">
<source>A mime type for the value. If specified, displays the value immediately as an output using the specified mime type.</source>
<target state="new">A mime type for the value. If specified, displays the value immediately as an output using the specified mime type.</target>
<note />
</trans-unit>
<trans-unit id="Magics_value_name_Description">
<source>The name of the value to create. You can use #!share to retrieve this value from another subkernel.</source>
<target state="new">The name of the value to create. You can use #!share to retrieve this value from another subkernel.</target>
<note />
</trans-unit>
<trans-unit id="Magics_who_Description">
<source>Display the names of the current top-level variables.</source>
<target state="new">Display the names of the current top-level variables.</target>
<note />
</trans-unit>
<trans-unit id="Magics_whos_Description">
<source>Display the names of the current top-level variables and their values.</source>
<target state="new">Display the names of the current top-level variables and their values.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
117 changes: 117 additions & 0 deletions src/dotnet-interactive/xlf/Resources.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../Resources.resx">
<body>
<trans-unit id="Cli_ErrorMessageMustSpecifyPortRange">
<source>Must specify a port range</source>
<target state="new">Must specify a port range</target>
<note />
</trans-unit>
<trans-unit id="Cli_ErrorMessage_MustSpecifyPortRangeAsStartPortEndPort">
<source>Must specify a port range as StartPort-EndPort</source>
<target state="new">Must specify a port range as StartPort-EndPort</target>
<note />
</trans-unit>
<trans-unit id="Cli_ErrorMessage_StartPortMustBeLower">
<source>Start port must be lower then end port</source>
<target state="new">Start port must be lower then end port</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_Description">
<source>Interactive programming for .NET.</source>
<target state="new">Interactive programming for .NET.</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_jupyter_Description">
<source>Starts dotnet-interactive as a Jupyter kernel</source>
<target state="new">Starts dotnet-interactive as a Jupyter kernel</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_jupyter_connection_file_Description">
<source>The path to a connection file provided by Jupyter</source>
<target state="new">The path to a connection file provided by Jupyter</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_jupyter_default_kernel_Description">
<source>The default language for the kernel</source>
<target state="new">The default language for the kernel</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_jupyter_install_Description">
<source>Install the .NET kernel for Jupyter</source>
<target state="new">Install the .NET kernel for Jupyter</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_jupyter_install_http_port_range_Description">
<source>Specifies the range of ports to use to enable HTTP services</source>
<target state="new">Specifies the range of ports to use to enable HTTP services</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_jupyter_install_path_Description">
<source>Installs the kernel specs to the specified directory</source>
<target state="new">Installs the kernel specs to the specified directory</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_log_path_Description">
<source>Enable file logging to the specified directory</source>
<target state="new">Enable file logging to the specified directory</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_notebook_parser_Description">
<source>Starts a process to parse and serialize notebooks.</source>
<target state="new">Starts a process to parse and serialize notebooks.</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_stdio_Description">
<source>Starts dotnet-interactive with kernel functionality exposed over standard I/O</source>
<target state="new">Starts dotnet-interactive with kernel functionality exposed over standard I/O</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_stdio_http_port_Description">
<source>Specifies the port on which to enable HTTP services</source>
<target state="new">Specifies the port on which to enable HTTP services</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_stdio_http_port_ErrorMessageCannotSpecifyBoth">
<source>Cannot specify both {0} and {1} together</source>
<target state="new">Cannot specify both {0} and {1} together</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_stdio_http_port_ErrorMessageMustSpecifyPortNumber">
<source>Must specify a port number or *.</source>
<target state="new">Must specify a port number or *.</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_stdio_http_port_range_Description">
<source>Specifies the range of ports to use to enable HTTP services</source>
<target state="new">Specifies the range of ports to use to enable HTTP services</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_stdio_kernel_host_Description">
<source>Name of the kernel host.</source>
<target state="new">Name of the kernel host.</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_stdio_preview_Description">
<source>Enable preview kernel features.</source>
<target state="new">Enable preview kernel features.</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_stdio_working_directory_Description">
<source>Working directory to which to change after launching the kernel.</source>
<target state="new">Working directory to which to change after launching the kernel.</target>
<note />
</trans-unit>
<trans-unit id="Cli_dotnet_interactive_verbose_Description">
<source>Enable verbose logging to the console</source>
<target state="new">Enable verbose logging to the console</target>
<note />
</trans-unit>
<trans-unit id="Magics_about_Description">
<source>Show version and build information</source>
<target state="new">Show version and build information</target>
<note />
</trans-unit>
</body>
</file>
</xliff>