Git Product home page Git Product logo

4dpop-xliff-pro's Introduction

Github

Top Langs GitHub stats

4dpop-xliff-pro's People

Contributors

vdelachaux avatar

Stargazers

 avatar

Watchers

 avatar  avatar

4dpop-xliff-pro's Issues

Error when adding a new file

Hello Vincent,
I have an issue when I want to create my first file. The editor asks for the name of the new file, and on validation I got this error:
image

If my project already contains some localization files, I can add new files properly.

Thanks :)

Error when clicking on a file in the list

Hello Vincent,

When I select a group or a string and I want to select another file, I have an error.
If I select first the same file already selected and then select another file, I don't have any error.

Screen.Recording.2023-12-01.at.15.26.10.mov

Thanks :)

Empty language object cause issues

If I have no pref file in /Preferences/ 4DPop-XLIFF-Pro.xml

this code is executed

"reference";Get database localization:C1009(Default localization:K5:21);\

this return on my iMac(macos12) en-gb, not en. I am not sure about what 4D must return when reading the doc.
I ask Quentin to execute same method and he say that he receive en-gb too
Maybe we could test with older versions

because of that

$Col_languages:=New collection:C1472(New object:C1471) // The first element will be the reference language

this language object is never filled because Form.language is en

so in language list we have an empty object at first place, and the code everywhere which loop on languages have some issues like that

Error when executing the method "DISPLAY_INIT" at line number 72

This operation is not compatible with the two arguments.

Error code: 15 (4DRT)
This operation is not compatible with the two arguments.
component: '4DRT'
task -7, name: '$4DPop XLIFF Pro'

Call chain:
[
	{
		"type": "projectMethod",
		"name": "DISPLAY_INIT",
		"line": 72,
		"database": "4DPop XLIFF Pro"
	},
	{
		"type": "projectMethod",
		"name": "EDITOR_INIT",
		"line": 159,
		"database": "4DPop XLIFF Pro"
	},
	{
		"type": "formMethod",
		"name": "EDITOR",
		"line": 21,
		"database": "4DPop XLIFF Pro"
	},
	{
		"type": "projectMethod",
		"name": "EDITOR_OPEN",
		"line": 70,
		"database": "4DPop XLIFF Pro"
	}
]

Maybe we could remove if empty from list at the end and/or replace en-gb by en if language with two part are not authorised, but maybe not
or compare first part of language here

If ($Txt_language=Form:C1466.language) // Reference language

(($Txt_language=Form.language) | (Position($Txt_language+"-"; Form.language)=1)) it work to provide list but maybe is not what we want, and the soft will not find files etc...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.