Skip to content

Commit

Permalink
Merge pull request #10 from carfup/QEF/Translations
Browse files Browse the repository at this point in the history
Qef/translations
  • Loading branch information
carfup authored Apr 20, 2020
2 parents f7d5479 + 6f9374f commit 723ae7e
Show file tree
Hide file tree
Showing 15 changed files with 942 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@

/Publishing

# CUSTOM FOLDER in progress
/LocalTests

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
Expand Down
1 change: 1 addition & 0 deletions Carfup_PCFControls/Carfup_PCFControls.cdsproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<ProjectReference Include="..\SirenValidator\SirenValidator.pcfproj" />
<ProjectReference Include="..\SiretValidator\SiretValidator.pcfproj" />
<ProjectReference Include="..\BICValidator\BICValidator.pcfproj" />
<ProjectReference Include="..\QuickEditForm\QuickEditForm.pcfproj" />
</ItemGroup>

<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
Expand Down
24 changes: 23 additions & 1 deletion QuickEditForm/QuickEditForm/ControlManifest.Input.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest>
<control namespace="Carfup" constructor="QuickEditForm" version="0.0.207" display-name-key="Carfup.QuickEditForm" description-key="QuickEditForm allows you to edit data from a lookup record using a Quick View Form definition as enty form." control-type="standard" preview-image="img/preview.png">
<control namespace="Carfup" constructor="QuickEditForm" version="0.0.209" display-name-key="Carfup.QuickEditForm" description-key="QuickEditForm allows you to edit data from a lookup record using a Quick View Form definition as enty form." control-type="standard" preview-image="img/preview.png">
<!-- property node identifies a specific, configurable piece of data that the control expects from CDS -->
<property name="FieldToAttachControl" display-name-key="FieldToAttachControl" description-key="Property_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
<property name="QuickViewFormId" display-name-key="QuickViewFormId" description-key="GUID of the Quick View Form to render" of-type="SingleLine.Text" usage="input" required="true" />
Expand All @@ -23,8 +23,30 @@
<resources>
<code path="index.ts" order="1" />
<img path="img/loading.gif" />
<resx path="strings/QuickEditForm.1030.resx" version="1.0.0" />
<!-- Danish -->
<resx path="strings/QuickEditForm.1031.resx" version="1.0.0" />
<!-- German -->
<resx path="strings/QuickEditForm.1033.resx" version="1.0.0" />
<!-- English-->
<resx path="strings/QuickEditForm.1035.resx" version="1.0.0" />
<!-- Finnish-->
<resx path="strings/QuickEditForm.1036.resx" version="1.0.0" />
<!-- French -->
<resx path="strings/QuickEditForm.1040.resx" version="1.0.0" />
<!-- Italian -->
<resx path="strings/QuickEditForm.1043.resx" version="1.0.0" />
<!-- Dutch -->
<resx path="strings/QuickEditForm.1048.resx" version="1.0.0" />
<!-- Romanian -->
<resx path="strings/QuickEditForm.1049.resx" version="1.0.0" />
<!-- Russian -->
<resx path="strings/QuickEditForm.1053.resx" version="1.0.0" />
<!-- Swedish -->
<resx path="strings/QuickEditForm.1058.resx" version="1.0.0" />
<!-- Ukrainian -->
<resx path="strings/QuickEditForm.3082.resx" version="1.0.0" />
<!-- Spanish -->
<!-- UNCOMMENT TO ADD MORE RESOURCES
<css path="css/QuickEditForm.css" order="1" />
<resx path="strings/QuickEditForm.1033.resx" version="1.0.0" />
Expand Down
91 changes: 91 additions & 0 deletions QuickEditForm/QuickEditForm/strings/QuickEditForm.1030.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="https://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ReadOnlyRecordMessage" xml:space="preserve">
<value>Posten er i skrivebeskyttet tilstand.</value>
</data>
<data name="MissingPrivilegeOnEntityMessage" xml:space="preserve">
<value>Du har ikke privilegierne til at se posten.</value>
</data>
<data name="MissingPrivilegeOnRecordMessage" xml:space="preserve">
<value>Du har ikke privilegierne til at opdatere posten.</value>
</data>
<data name="UpdateErrorMessage" xml:space="preserve">
<value>En fejl skete i forbindelse med opdateringen</value>
</data>
<data name="UpdateSuccessMessage" xml:space="preserve">
<value>Posten blev opdateret med succes !</value>
</data>
<data name="LookupFieldHasNoValue" xml:space="preserve">
<value>Udfyld feltet {0} for at se detaljer.</value>
</data>
<data name="SaveButtonLabel" xml:space="preserve">
<value>Gem</value>
</data>
<data name="RefreshButtonLabel" xml:space="preserve">
<value>Genopfrisk</value>
</data>
<data name="QuickFormIdNotFound" xml:space="preserve">
<value>Det specificeret form id findes ikke. Venligst udfyld et eksisterend id.</value>
</data>
<data name="SelectOptionDropdown" xml:space="preserve">
<value>--Vælg--</value>
</data>
</root>
91 changes: 91 additions & 0 deletions QuickEditForm/QuickEditForm/strings/QuickEditForm.1031.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="https://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ReadOnlyRecordMessage" xml:space="preserve">
<value>Der Datensatz befindet sich im schreibgeschützten Modus.</value>
</data>
<data name="MissingPrivilegeOnEntityMessage" xml:space="preserve">
<value>Es fehlen Rechte zum Anzeigen des Datensatzes.</value>
</data>
<data name="MissingPrivilegeOnRecordMessage" xml:space="preserve">
<value>Es fehlen Rechte für den Datensatz, um ihn zu aktualisieren.</value>
</data>
<data name="UpdateErrorMessage" xml:space="preserve">
<value>Während des Updates ist ein Fehler aufgetreten.</value>
</data>
<data name="UpdateSuccessMessage" xml:space="preserve">
<value>Der Datensatz wurde erfolgreich aktualisiert!</value>
</data>
<data name="LookupFieldHasNoValue" xml:space="preserve">
<value>Fülle das Feld {0} aus, um die Details anzuzeigen.</value>
</data>
<data name="SaveButtonLabel" xml:space="preserve">
<value>Speichern</value>
</data>
<data name="RefreshButtonLabel" xml:space="preserve">
<value>Aktualisieren</value>
</data>
<data name="QuickFormIdNotFound" xml:space="preserve">
<value>Die Schnellansichtsformular-ID ist nicht vorhanden. Bitte verändern.</value>
</data>
<data name="SelectOptionDropdown" xml:space="preserve">
<value>--Auswählen--</value>
</data>
</root>
4 changes: 2 additions & 2 deletions QuickEditForm/QuickEditForm/strings/QuickEditForm.1033.resx
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
<value>You are missing privileges over the record in order to update it.</value>
</data>
<data name="UpdateErrorMessage" xml:space="preserve">
<value>An error occured during the update</value>
<value>An error occurred during the update.</value>
</data>
<data name="UpdateSuccessMessage" xml:space="preserve">
<value>The record was updated successfully !</value>
<value>The record was updated successfully!</value>
</data>
<data name="LookupFieldHasNoValue" xml:space="preserve">
<value>Fill the field {0} to see its details.</value>
Expand Down
91 changes: 91 additions & 0 deletions QuickEditForm/QuickEditForm/strings/QuickEditForm.1035.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="https://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ReadOnlyRecordMessage" xml:space="preserve">
<value>Tietue on vain luku-tilassa.</value>
</data>
<data name="MissingPrivilegeOnEntityMessage" xml:space="preserve">
<value>Sinulla ei ole tietueen tarkastelu oikeutta.</value>
</data>
<data name="MissingPrivilegeOnRecordMessage" xml:space="preserve">
<value>Tietueelle puuttuu oikeuksia, jotta se voidaan päivittää.</value>
</data>
<data name="UpdateErrorMessage" xml:space="preserve">
<value>Päivityksen aikana tapahtui virhe.</value>
</data>
<data name="UpdateSuccessMessage" xml:space="preserve">
<value>Tietueen päivitys onnistui!</value>
</data>
<data name="LookupFieldHasNoValue" xml:space="preserve">
<value>Täytä kenttä {0} nähdäksesi sen tiedot.</value>
</data>
<data name="SaveButtonLabel" xml:space="preserve">
<value>Tallenna</value>
</data>
<data name="RefreshButtonLabel" xml:space="preserve">
<value>Päivitä</value>
</data>
<data name="QuickFormIdNotFound" xml:space="preserve">
<value>Pikanäkymän lomake tunnusta ei ole. Muokkaa sitä.</value>
</data>
<data name="SelectOptionDropdown" xml:space="preserve">
<value>--Select--</value>
</data>
</root>
Loading

0 comments on commit 723ae7e

Please sign in to comment.