Skip to content

Commit

Permalink
Misc.
Browse files Browse the repository at this point in the history
  • Loading branch information
cston committed Jan 4, 2019
1 parent 2f7c97e commit ea78b74
Show file tree
Hide file tree
Showing 13 changed files with 351 additions and 26 deletions.
29 changes: 27 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@
<target state="new">foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance definition for '{1}'. Did you mean 'await foreach' rather than 'foreach'?</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToBackwardJumpOverUsingVar">
<source>A goto cannot jump to a location before a using declaration within the same block.</source>
<target state="new">A goto cannot jump to a location before a using declaration within the same block.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToForwardJumpOverUsingVar">
<source>A goto cannot jump to a location after a using declaration.</source>
<target state="new">A goto cannot jump to a location after a using declaration.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InDynamicMethodArg">
<source>Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</source>
<target state="new">Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</target>
Expand Down Expand Up @@ -302,6 +312,11 @@
<target state="new">The type '{2}' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter '{1}' in the generic type or method '{0}'</target>
<note />
</trans-unit>
<trans-unit id="ERR_UsingVarInSwitchCase">
<source>A using variable cannot be used directly within a switch section (consider using braces). </source>
<target state="new">A using variable cannot be used directly within a switch section (consider using braces). </target>
<note />
</trans-unit>
<trans-unit id="ERR_VarMayNotBindToType">
<source>The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</source>
<target state="new">The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</target>
Expand Down Expand Up @@ -347,6 +362,11 @@
<target state="new">Result of the comparison is possibly always true.</target>
<note />
</trans-unit>
<trans-unit id="IDS_Disposable">
<source>disposable</source>
<target state="new">disposable</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAltInterpolatedVerbatimStrings">
<source>alternative interpolated verbatim strings</source>
<target state="new">alternative interpolated verbatim strings</target>
Expand Down Expand Up @@ -452,6 +472,11 @@
<target state="new">unmanaged generic type constraints</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUsingDeclarations">
<source>using declarations</source>
<target state="new">using declarations</target>
<note />
</trans-unit>
<trans-unit id="IDS_NULL">
<source>&lt;null&gt;</source>
<target state="translated">&lt;null&gt;</target>
Expand Down Expand Up @@ -5526,8 +5551,8 @@ Blok catch() po bloku catch (System.Exception e) může zachytit výjimky, kter
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIDisp">
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable'</source>
<target state="translated">'{0}: Typ použitý v příkazu using musí být implicitně převeditelný na System.IDisposable.</target>
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable' or have a public void-returning Dispose() instance method.</source>
<target state="needs-review-translation">'{0}: Typ použitý v příkazu using musí být implicitně převeditelný na System.IDisposable.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamRef">
Expand Down
29 changes: 27 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@
<target state="new">foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance definition for '{1}'. Did you mean 'await foreach' rather than 'foreach'?</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToBackwardJumpOverUsingVar">
<source>A goto cannot jump to a location before a using declaration within the same block.</source>
<target state="new">A goto cannot jump to a location before a using declaration within the same block.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToForwardJumpOverUsingVar">
<source>A goto cannot jump to a location after a using declaration.</source>
<target state="new">A goto cannot jump to a location after a using declaration.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InDynamicMethodArg">
<source>Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</source>
<target state="new">Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</target>
Expand Down Expand Up @@ -302,6 +312,11 @@
<target state="new">The type '{2}' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter '{1}' in the generic type or method '{0}'</target>
<note />
</trans-unit>
<trans-unit id="ERR_UsingVarInSwitchCase">
<source>A using variable cannot be used directly within a switch section (consider using braces). </source>
<target state="new">A using variable cannot be used directly within a switch section (consider using braces). </target>
<note />
</trans-unit>
<trans-unit id="ERR_VarMayNotBindToType">
<source>The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</source>
<target state="new">The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</target>
Expand Down Expand Up @@ -347,6 +362,11 @@
<target state="new">Result of the comparison is possibly always true.</target>
<note />
</trans-unit>
<trans-unit id="IDS_Disposable">
<source>disposable</source>
<target state="new">disposable</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAltInterpolatedVerbatimStrings">
<source>alternative interpolated verbatim strings</source>
<target state="new">alternative interpolated verbatim strings</target>
Expand Down Expand Up @@ -452,6 +472,11 @@
<target state="new">unmanaged generic type constraints</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUsingDeclarations">
<source>using declarations</source>
<target state="new">using declarations</target>
<note />
</trans-unit>
<trans-unit id="IDS_NULL">
<source>&lt;null&gt;</source>
<target state="translated">&lt;NULL&gt;</target>
Expand Down Expand Up @@ -5526,8 +5551,8 @@ Ein catch()-Block nach einem catch (System.Exception e)-Block kann nicht-CLS-Aus
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIDisp">
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable'</source>
<target state="translated">'"{0}": Der in einer using-Anweisung verwendete Typ muss implizit in System.IDisposable konvertiert werden können.</target>
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable' or have a public void-returning Dispose() instance method.</source>
<target state="needs-review-translation">'"{0}": Der in einer using-Anweisung verwendete Typ muss implizit in System.IDisposable konvertiert werden können.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamRef">
Expand Down
29 changes: 27 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@
<target state="new">foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance definition for '{1}'. Did you mean 'await foreach' rather than 'foreach'?</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToBackwardJumpOverUsingVar">
<source>A goto cannot jump to a location before a using declaration within the same block.</source>
<target state="new">A goto cannot jump to a location before a using declaration within the same block.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToForwardJumpOverUsingVar">
<source>A goto cannot jump to a location after a using declaration.</source>
<target state="new">A goto cannot jump to a location after a using declaration.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InDynamicMethodArg">
<source>Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</source>
<target state="new">Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</target>
Expand Down Expand Up @@ -302,6 +312,11 @@
<target state="new">The type '{2}' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter '{1}' in the generic type or method '{0}'</target>
<note />
</trans-unit>
<trans-unit id="ERR_UsingVarInSwitchCase">
<source>A using variable cannot be used directly within a switch section (consider using braces). </source>
<target state="new">A using variable cannot be used directly within a switch section (consider using braces). </target>
<note />
</trans-unit>
<trans-unit id="ERR_VarMayNotBindToType">
<source>The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</source>
<target state="new">The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</target>
Expand Down Expand Up @@ -347,6 +362,11 @@
<target state="new">Result of the comparison is possibly always true.</target>
<note />
</trans-unit>
<trans-unit id="IDS_Disposable">
<source>disposable</source>
<target state="new">disposable</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAltInterpolatedVerbatimStrings">
<source>alternative interpolated verbatim strings</source>
<target state="new">alternative interpolated verbatim strings</target>
Expand Down Expand Up @@ -452,6 +472,11 @@
<target state="new">unmanaged generic type constraints</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUsingDeclarations">
<source>using declarations</source>
<target state="new">using declarations</target>
<note />
</trans-unit>
<trans-unit id="IDS_NULL">
<source>&lt;null&gt;</source>
<target state="translated">&lt;NULL&gt;</target>
Expand Down Expand Up @@ -5526,8 +5551,8 @@ Un bloque catch() después de un bloque catch (System.Exception e) puede abarcar
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIDisp">
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable'</source>
<target state="translated">'{0}': el tipo usado en una instrucción using debe poder convertirse implícitamente en 'System.IDisposable'</target>
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable' or have a public void-returning Dispose() instance method.</source>
<target state="needs-review-translation">'{0}': el tipo usado en una instrucción using debe poder convertirse implícitamente en 'System.IDisposable'</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamRef">
Expand Down
29 changes: 27 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@
<target state="new">foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance definition for '{1}'. Did you mean 'await foreach' rather than 'foreach'?</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToBackwardJumpOverUsingVar">
<source>A goto cannot jump to a location before a using declaration within the same block.</source>
<target state="new">A goto cannot jump to a location before a using declaration within the same block.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToForwardJumpOverUsingVar">
<source>A goto cannot jump to a location after a using declaration.</source>
<target state="new">A goto cannot jump to a location after a using declaration.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InDynamicMethodArg">
<source>Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</source>
<target state="new">Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</target>
Expand Down Expand Up @@ -302,6 +312,11 @@
<target state="new">The type '{2}' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter '{1}' in the generic type or method '{0}'</target>
<note />
</trans-unit>
<trans-unit id="ERR_UsingVarInSwitchCase">
<source>A using variable cannot be used directly within a switch section (consider using braces). </source>
<target state="new">A using variable cannot be used directly within a switch section (consider using braces). </target>
<note />
</trans-unit>
<trans-unit id="ERR_VarMayNotBindToType">
<source>The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</source>
<target state="new">The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</target>
Expand Down Expand Up @@ -347,6 +362,11 @@
<target state="new">Result of the comparison is possibly always true.</target>
<note />
</trans-unit>
<trans-unit id="IDS_Disposable">
<source>disposable</source>
<target state="new">disposable</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAltInterpolatedVerbatimStrings">
<source>alternative interpolated verbatim strings</source>
<target state="new">alternative interpolated verbatim strings</target>
Expand Down Expand Up @@ -452,6 +472,11 @@
<target state="new">unmanaged generic type constraints</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUsingDeclarations">
<source>using declarations</source>
<target state="new">using declarations</target>
<note />
</trans-unit>
<trans-unit id="IDS_NULL">
<source>&lt;null&gt;</source>
<target state="translated">&lt;Null&gt;</target>
Expand Down Expand Up @@ -5526,8 +5551,8 @@ Un bloc catch() après un bloc catch (System.Exception e) peut intercepter des e
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIDisp">
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable'</source>
<target state="translated">'{0}' : le type utilisé dans une instruction using doit être implicitement convertible en 'System.IDisposable'</target>
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable' or have a public void-returning Dispose() instance method.</source>
<target state="needs-review-translation">'{0}' : le type utilisé dans une instruction using doit être implicitement convertible en 'System.IDisposable'</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamRef">
Expand Down
29 changes: 27 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@
<target state="new">foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance definition for '{1}'. Did you mean 'await foreach' rather than 'foreach'?</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToBackwardJumpOverUsingVar">
<source>A goto cannot jump to a location before a using declaration within the same block.</source>
<target state="new">A goto cannot jump to a location before a using declaration within the same block.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToForwardJumpOverUsingVar">
<source>A goto cannot jump to a location after a using declaration.</source>
<target state="new">A goto cannot jump to a location after a using declaration.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InDynamicMethodArg">
<source>Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</source>
<target state="new">Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</target>
Expand Down Expand Up @@ -302,6 +312,11 @@
<target state="new">The type '{2}' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter '{1}' in the generic type or method '{0}'</target>
<note />
</trans-unit>
<trans-unit id="ERR_UsingVarInSwitchCase">
<source>A using variable cannot be used directly within a switch section (consider using braces). </source>
<target state="new">A using variable cannot be used directly within a switch section (consider using braces). </target>
<note />
</trans-unit>
<trans-unit id="ERR_VarMayNotBindToType">
<source>The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</source>
<target state="new">The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</target>
Expand Down Expand Up @@ -347,6 +362,11 @@
<target state="new">Result of the comparison is possibly always true.</target>
<note />
</trans-unit>
<trans-unit id="IDS_Disposable">
<source>disposable</source>
<target state="new">disposable</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAltInterpolatedVerbatimStrings">
<source>alternative interpolated verbatim strings</source>
<target state="new">alternative interpolated verbatim strings</target>
Expand Down Expand Up @@ -452,6 +472,11 @@
<target state="new">unmanaged generic type constraints</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUsingDeclarations">
<source>using declarations</source>
<target state="new">using declarations</target>
<note />
</trans-unit>
<trans-unit id="IDS_NULL">
<source>&lt;null&gt;</source>
<target state="translated">&lt;Null&gt;</target>
Expand Down Expand Up @@ -5526,8 +5551,8 @@ Un blocco catch() dopo un blocco catch (System.Exception e) è in grado di rilev
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIDisp">
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable'</source>
<target state="translated">'{0}': il tipo usato in un'istruzione using deve essere convertibile in modo implicito in 'System.IDisposable'</target>
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable' or have a public void-returning Dispose() instance method.</source>
<target state="needs-review-translation">'{0}': il tipo usato in un'istruzione using deve essere convertibile in modo implicito in 'System.IDisposable'</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamRef">
Expand Down
Loading

0 comments on commit ea78b74

Please sign in to comment.