This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <browse result="1"> | |
| <office name="Slim met Energie B.V. (nieuw)" shortname="Slim met Energie BV">230401</office> | |
| <code>130_3</code> | |
| <name>Debiteuren (v3)</name> | |
| <shortname>Debiteuren (v3)</shortname> | |
| <visible>false</visible> | |
| <columns code="130_3"> | |
| <column id="1"> | |
| <field>fin.trs.head.office</field> | |
| <label>Administratie</label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LAYER_NAME="ruby-gems-layer" | |
| mkdir $LAYER_NAME && cd $_ | |
| bundle init | |
| bundle add pg --skip-install | |
| rm Gemfile.lock | |
| docker run --rm -v $PWD:/var/layer \ | |
| -w /var/layer \ | |
| public.ecr.aws/sam/build-ruby3.3:1.116.0-20240430173312 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| translation = DeepL.translate( | |
| text.gsub(/^subject: /, "<lsubject />") | |
| .gsub(/\{\{(.+?)\}\}/, '<lv>\1</lv>') | |
| .gsub(/\{%(.+?)%\}/, '<lc>\1</lc>') | |
| .gsub(/\{%(.+?)-%\}/, '<lcw>\1</lcw>'), | |
| "EN", "PL", tag_handling: "xml", ignore_tags: ["lsubject", "lv", "lc", "lcw", "style"], formality: "more" | |
| ) | |
| translation.text.gsub(%r{<lsubject />}, "subject: ") | |
| .gsub(%r{<lv>(.+?)</lv>}, '{{\1}}') | |
| .gsub(%r{<lc>(.+?)</lc>}, '{%\1%}') |