dsnote icon indicating copy to clipboard operation
dsnote copied to clipboard

Compile error Parse error at /home/user1/src/dsnote/translations/dsnote-ca_ES.ts:1:15: Expected ''' or '"', but got '[a-zA-Z]'.

Open grantrostig opened this issue 10 months ago • 1 comments

Fedora 41 X86_64 fully updated Downloaded sdnote branch Master, today 2025/2/7 Not using flatpack for the compile. Here is the error:

Scanning directory '/home/user1/src/dsnote/sfos/qml'... Scanning directory '/home/user1/src/dsnote/desktop/qml'... Scanning directory '/home/user1/src/dsnote/src'... Updating '../translations/dsnote-ar.ts'... Found 902 source text(s) (0 new and 902 already existing) Kept 6 obsolete entries [ 92%] Generating .lupdate/translations/dsnote-ca_ES.ts.stamp Scanning directory '/home/user1/src/dsnote/sfos/qml'... Scanning directory '/home/user1/src/dsnote/desktop/qml'... Scanning directory '/home/user1/src/dsnote/src'... Parse error at /home/user1/src/dsnote/translations/dsnote-ca_ES.ts:1:15: Expected ''' or '"', but got '[a-zA-Z]'. make[2]: *** [CMakeFiles/dsnote.dir/build.make:697: .lupdate/translations/dsnote-ca_ES.ts.stamp] Error 1 make[1]: *** [CMakeFiles/Makefile2:287: CMakeFiles/dsnote.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 user1@fx6350-fedora:~/src/dsnote/build$

grantrostig avatar Feb 07 '25 08:02 grantrostig

Thank you for reporting. There was indeed a syntax error in the translation file.

Fixed in 8d25832019d8b6ceacc4b77965840cbce9b33052.

mkiol avatar Feb 09 '25 19:02 mkiol