diff --git a/src/Java.Interop.Localization/Resources.Designer.cs b/src/Java.Interop.Localization/Resources.Designer.cs
index 2dbe12d3f..851259ec4 100644
--- a/src/Java.Interop.Localization/Resources.Designer.cs
+++ b/src/Java.Interop.Localization/Resources.Designer.cs
@@ -60,6 +60,15 @@ internal Resources() {
}
}
+ ///
+ /// Looks up a localized string similar to Error while loading assembly: '{0}'..
+ ///
+ public static string CecilResolver_XA0009 {
+ get {
+ return ResourceManager.GetString("CecilResolver_XA0009", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Failed to remove old constants: {0}..
///
@@ -383,5 +392,86 @@ public static string Generator_BG8C01 {
return ResourceManager.GetString("Generator_BG8C01", resourceCulture);
}
}
+
+ ///
+ /// Looks up a localized string similar to Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported..
+ ///
+ public static string JavaCallableWrappers_XA4200 {
+ get {
+ return ResourceManager.GetString("JavaCallableWrappers_XA4200", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot determine JNI name for type '{0}'..
+ ///
+ public static string JavaCallableWrappers_XA4201 {
+ get {
+ return ResourceManager.GetString("JavaCallableWrappers_XA4201", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'..
+ ///
+ public static string JavaCallableWrappers_XA4203 {
+ get {
+ return ResourceManager.GetString("JavaCallableWrappers_XA4203", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to resolve interface type '{0}'. Are you missing an assembly reference?.
+ ///
+ public static string JavaCallableWrappers_XA4204 {
+ get {
+ return ResourceManager.GetString("JavaCallableWrappers_XA4204", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to [ExportField] can only be used on methods with 0 parameters..
+ ///
+ public static string JavaCallableWrappers_XA4205 {
+ get {
+ return ResourceManager.GetString("JavaCallableWrappers_XA4205", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to [Export] cannot be used on a generic type..
+ ///
+ public static string JavaCallableWrappers_XA4206 {
+ get {
+ return ResourceManager.GetString("JavaCallableWrappers_XA4206", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to [ExportField] cannot be used on a generic type..
+ ///
+ public static string JavaCallableWrappers_XA4207 {
+ get {
+ return ResourceManager.GetString("JavaCallableWrappers_XA4207", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to [ExportField] cannot be used on a method returning 'void'..
+ ///
+ public static string JavaCallableWrappers_XA4208 {
+ get {
+ return ResourceManager.GetString("JavaCallableWrappers_XA4208", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin..
+ ///
+ public static string JavaCallableWrappers_XA4217 {
+ get {
+ return ResourceManager.GetString("JavaCallableWrappers_XA4217", resourceCulture);
+ }
+ }
}
}
diff --git a/src/Java.Interop.Localization/Resources.resx b/src/Java.Interop.Localization/Resources.resx
index 0d32774f0..a6b1aafaf 100644
--- a/src/Java.Interop.Localization/Resources.resx
+++ b/src/Java.Interop.Localization/Resources.resx
@@ -117,6 +117,10 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Error while loading assembly: '{0}'.
+ {0} - File name
+
Failed to remove old constants: {0}.{0} - The list of constants that could not be removed.
@@ -287,4 +291,45 @@ The following terms should not be translated: Metadata.xml.For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.cs.xlf b/src/Java.Interop.Localization/xlf/Resources.cs.xlf
index 984185654..d770d9206 100644
--- a/src/Java.Interop.Localization/xlf/Resources.cs.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.cs.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.de.xlf b/src/Java.Interop.Localization/xlf/Resources.de.xlf
index 21038fd9c..c9b4512a1 100644
--- a/src/Java.Interop.Localization/xlf/Resources.de.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.de.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.es.xlf b/src/Java.Interop.Localization/xlf/Resources.es.xlf
index 6ad566232..bcc675f11 100644
--- a/src/Java.Interop.Localization/xlf/Resources.es.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.es.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.fr.xlf b/src/Java.Interop.Localization/xlf/Resources.fr.xlf
index fbb9dbc20..68f8291a8 100644
--- a/src/Java.Interop.Localization/xlf/Resources.fr.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.fr.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.it.xlf b/src/Java.Interop.Localization/xlf/Resources.it.xlf
index a01a280e3..b0b9bdc18 100644
--- a/src/Java.Interop.Localization/xlf/Resources.it.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.it.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.ja.xlf b/src/Java.Interop.Localization/xlf/Resources.ja.xlf
index a0ca3cdeb..b51817743 100644
--- a/src/Java.Interop.Localization/xlf/Resources.ja.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.ja.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.ko.xlf b/src/Java.Interop.Localization/xlf/Resources.ko.xlf
index e014c022b..96794f2a6 100644
--- a/src/Java.Interop.Localization/xlf/Resources.ko.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.ko.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.pl.xlf b/src/Java.Interop.Localization/xlf/Resources.pl.xlf
index 8c9d626a7..5f5822377 100644
--- a/src/Java.Interop.Localization/xlf/Resources.pl.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.pl.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.pt-BR.xlf b/src/Java.Interop.Localization/xlf/Resources.pt-BR.xlf
index e97b8b69d..c406b1a44 100644
--- a/src/Java.Interop.Localization/xlf/Resources.pt-BR.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.pt-BR.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.ru.xlf b/src/Java.Interop.Localization/xlf/Resources.ru.xlf
index a2bc5b989..0f5941624 100644
--- a/src/Java.Interop.Localization/xlf/Resources.ru.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.ru.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.tr.xlf b/src/Java.Interop.Localization/xlf/Resources.tr.xlf
index 57c77c0c8..e5a827671 100644
--- a/src/Java.Interop.Localization/xlf/Resources.tr.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.tr.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.zh-Hans.xlf b/src/Java.Interop.Localization/xlf/Resources.zh-Hans.xlf
index 023195655..bdcfe3fa5 100644
--- a/src/Java.Interop.Localization/xlf/Resources.zh-Hans.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.zh-Hans.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Localization/xlf/Resources.zh-Hant.xlf b/src/Java.Interop.Localization/xlf/Resources.zh-Hant.xlf
index 83a94133b..536bf868c 100644
--- a/src/Java.Interop.Localization/xlf/Resources.zh-Hant.xlf
+++ b/src/Java.Interop.Localization/xlf/Resources.zh-Hant.xlf
@@ -2,6 +2,11 @@
+
+ Error while loading assembly: '{0}'.
+ Error while loading assembly: '{0}'.
+ {0} - File name
+ Failed to remove old constants: {0}.Failed to remove old constants: {0}.
@@ -208,6 +213,56 @@ The following terms should not be translated: Metadata.xml.
For type '{0}', base interface '{1}' is invalid.{0}, {1} - .NET types.
+
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ Cannot generate Java wrapper for type '{0}'. Only 'class' types are supported.
+ {0} - Java type.
+The following terms should not be translated:
+class.
+
+
+ Cannot determine JNI name for type '{0}'.
+ Cannot determine JNI name for type '{0}'.
+ {0} - Java type.
+The following terms should not be translated: JNI.
+
+
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ The 'Name' property must be a fully qualified type like 'com.example.MyClass' and no package was found for '{0}'.
+ {0} - Java type.
+The following terms should not be translated:
+Name, com.example.MyClass.
+
+
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ Unable to resolve interface type '{0}'. Are you missing an assembly reference?
+ {0} - Java interface.
+
+
+ [ExportField] can only be used on methods with 0 parameters.
+ [ExportField] can only be used on methods with 0 parameters.
+ The following terms should not be translated: [ExportField].
+
+
+ [Export] cannot be used on a generic type.
+ [Export] cannot be used on a generic type.
+ The following terms should not be translated: [Export].
+
+
+ [ExportField] cannot be used on a generic type.
+ [ExportField] cannot be used on a generic type.
+ The following terms should not be translated: [ExportField].
+
+
+ [ExportField] cannot be used on a method returning 'void'.
+ [ExportField] cannot be used on a method returning 'void'.
+ The following terms should not be translated: [ExportField], void.
+
+
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ Cannot override Kotlin-generated method '{0}' because it is not a valid Java method name. This method can only be overridden from Kotlin.
+ {0} - Kotlin method name.
+
\ No newline at end of file
diff --git a/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil.csproj b/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil.csproj
index 92f109648..bedf3d64e 100644
--- a/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil.csproj
+++ b/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil.csproj
@@ -11,6 +11,7 @@
+
diff --git a/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs b/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs
index 8389ddde9..cc8f8436d 100644
--- a/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs
+++ b/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs
@@ -135,7 +135,7 @@ public virtual AssemblyDefinition Load (string fileName, bool forceLoad = false)
try {
assembly = ReadAssembly (fileName);
} catch (Exception e) {
- Diagnostic.Error (9, e, "Error while loading assembly: {0}", fileName);
+ Diagnostic.Error (9, e, Localization.Resources.CecilResolver_XA0009, fileName);
}
cache [name] = assembly;
return assembly;
diff --git a/src/Java.Interop.Tools.JavaCallableWrappers/Java.Interop.Tools.JavaCallableWrappers.csproj b/src/Java.Interop.Tools.JavaCallableWrappers/Java.Interop.Tools.JavaCallableWrappers.csproj
index 7496c3761..5e0c6e77d 100644
--- a/src/Java.Interop.Tools.JavaCallableWrappers/Java.Interop.Tools.JavaCallableWrappers.csproj
+++ b/src/Java.Interop.Tools.JavaCallableWrappers/Java.Interop.Tools.JavaCallableWrappers.csproj
@@ -31,6 +31,7 @@
+
diff --git a/src/Java.Interop.Tools.JavaCallableWrappers/Java.Interop.Tools.JavaCallableWrappers/JavaCallableWrapperGenerator.cs b/src/Java.Interop.Tools.JavaCallableWrappers/Java.Interop.Tools.JavaCallableWrappers/JavaCallableWrapperGenerator.cs
index 4d0a294a0..4641c574c 100644
--- a/src/Java.Interop.Tools.JavaCallableWrappers/Java.Interop.Tools.JavaCallableWrappers/JavaCallableWrapperGenerator.cs
+++ b/src/Java.Interop.Tools.JavaCallableWrappers/Java.Interop.Tools.JavaCallableWrappers/JavaCallableWrapperGenerator.cs
@@ -110,11 +110,11 @@ void AddNestedTypes (TypeDefinition type)
this.cache = cache ?? new TypeDefinitionCache ();
if (type.IsEnum || type.IsInterface || type.IsValueType)
- Diagnostic.Error (4200, LookupSource (type), "Can only generate Java wrappers for 'class' types, not type '{0}'.", type.FullName);
+ Diagnostic.Error (4200, LookupSource (type), Localization.Resources.JavaCallableWrappers_XA4200, type.FullName);
string jniName = JavaNativeTypeManager.ToJniName (type);
if (jniName == null)
- Diagnostic.Error (4201, LookupSource (type), "Unable to determine Java name for type {0}", type.FullName);
+ Diagnostic.Error (4201, LookupSource (type), Localization.Resources.JavaCallableWrappers_XA4201, type.FullName);
if (!string.IsNullOrEmpty (outerType)) {
string p;
jniName = jniName.Substring (outerType.Length + 1);
@@ -127,7 +127,7 @@ void AddNestedTypes (TypeDefinition type)
type.IsSubclassOf ("Android.App.Service", cache) ||
type.IsSubclassOf ("Android.Content.BroadcastReceiver", cache) ||
type.IsSubclassOf ("Android.Content.ContentProvider", cache)))
- Diagnostic.Error (4203, LookupSource (type), "The Name property must be a fully qualified 'package.TypeName' value, and no package was found for '{0}'.", jniName);
+ Diagnostic.Error (4203, LookupSource (type), Localization.Resources.JavaCallableWrappers_XA4203, jniName);
foreach (MethodDefinition minfo in type.Methods.Where (m => !m.IsConstructor)) {
var baseRegisteredMethod = GetBaseRegisteredMethod (minfo);
@@ -148,7 +148,7 @@ void AddNestedTypes (TypeDefinition type)
if (d == null)
Diagnostic.Error (4204,
LookupSource (type),
- "Unable to resolve interface type '{0}'. Are you missing an assembly reference?",
+ Localization.Resources.JavaCallableWrappers_XA4204,
r.FullName);
return d;
})
@@ -372,7 +372,7 @@ void AddMethod (MethodDefinition registeredMethod, MethodDefinition implementedM
foreach (RegisterAttribute attr in GetRegisterAttributes (registeredMethod)) {
// Check for Kotlin-mangled methods that cannot be overridden
if (attr.Name.Contains ("-impl") || (attr.Name.Length > 7 && attr.Name[attr.Name.Length - 8] == '-'))
- Diagnostic.Error (4217, LookupSource (implementedMethod), $"Cannot override Kotlin-generated method '{attr.Name}' because it is not a valid Java method name. This method can only be overridden from Kotlin.");
+ Diagnostic.Error (4217, LookupSource (implementedMethod), Localization.Resources.JavaCallableWrappers_XA4217, attr.Name);
var msig = new Signature (implementedMethod, attr);
if (!registeredMethod.IsConstructor && !methods.Any (m => m.Name == msig.Name && m.Params == msig.Params))
@@ -380,7 +380,7 @@ void AddMethod (MethodDefinition registeredMethod, MethodDefinition implementedM
}
foreach (ExportAttribute attr in GetExportAttributes (implementedMethod)) {
if (type.HasGenericParameters)
- Diagnostic.Error (4206, LookupSource (implementedMethod), "[Export] cannot be used on a generic type.");
+ Diagnostic.Error (4206, LookupSource (implementedMethod), Localization.Resources.JavaCallableWrappers_XA4206);
var msig = new Signature (implementedMethod, attr, cache);
if (!string.IsNullOrEmpty (attr.SuperArgumentsString)) {
@@ -391,7 +391,7 @@ void AddMethod (MethodDefinition registeredMethod, MethodDefinition implementedM
}
foreach (ExportFieldAttribute attr in GetExportFieldAttributes (implementedMethod)) {
if (type.HasGenericParameters)
- Diagnostic.Error (4207, LookupSource (implementedMethod), "[ExportField] cannot be used on a generic type.");
+ Diagnostic.Error (4207, LookupSource (implementedMethod), Localization.Resources.JavaCallableWrappers_XA4207);
var msig = new Signature (implementedMethod, attr, cache);
if (!implementedMethod.IsConstructor && !methods.Any (m => m.Name == msig.Name && m.Params == msig.Params)) {
@@ -635,7 +635,7 @@ static string GetJavaTypeName (TypeReference r)
TypeDefinition d = r.Resolve ();
string jniName = JavaNativeTypeManager.ToJniName (d);
if (jniName == null)
- Diagnostic.Error (4201, "Unable to determine JNI name for type {0}.", r.FullName);
+ Diagnostic.Error (4201, Localization.Resources.JavaCallableWrappers_XA4201, r.FullName);
return jniName.Replace ('/', '.').Replace ('$', '.');
}
@@ -669,9 +669,9 @@ public Signature (MethodDefinition method, ExportFieldAttribute exportField, Typ
: this (method.Name, GetJniSignature (method, cache), "__export__", null, null, null)
{
if (method.HasParameters)
- Diagnostic.Error (4205, JavaCallableWrapperGenerator.LookupSource (method), "[ExportField] can only be used on methods with 0 parameters.");
+ Diagnostic.Error (4205, JavaCallableWrapperGenerator.LookupSource (method), Localization.Resources.JavaCallableWrappers_XA4205);
if (method.ReturnType.MetadataType == MetadataType.Void)
- Diagnostic.Error (4208, JavaCallableWrapperGenerator.LookupSource (method), "[ExportField] cannot be used on a method returning void.");
+ Diagnostic.Error (4208, JavaCallableWrapperGenerator.LookupSource (method), Localization.Resources.JavaCallableWrappers_XA4208);
IsExport = true;
IsStatic = method.IsStatic;
JavaAccess = JavaCallableWrapperGenerator.GetJavaAccess (method.Attributes & MethodAttributes.MemberAccessMask);