Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localize is broken #83

Open
glixx opened this issue Nov 21, 2018 · 4 comments
Open

localize is broken #83

glixx opened this issue Nov 21, 2018 · 4 comments
Assignees

Comments

@glixx
Copy link
Contributor

glixx commented Nov 21, 2018

./localize.sh
Free Pascal Compiler version 3.0.4 [2018/08/09] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling updatepofiles.pas
Linking updatepofiles.exe
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
446 lines compiled, 0.2 sec
Free Pascal Compiler version 3.0.4 [2018/08/09] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling generateincfiles.pas
Linking generateincfiles.exe
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
546 lines compiled, 0.2 sec
find: ‘../units’: No such file or directory
../languages/fpgui.po
An unhandled exception occurred at $00000000004393BC:
EConvertError: "" is an invalid integer
$00000000004393BC
$00000000004014EA

@glixx
Copy link
Contributor Author

glixx commented Nov 23, 2018

Same for uidesigner:

./localize.sh
Free Pascal Compiler version 3.0.4 [2018/08/09] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling updatepofiles.pas
Linking updatepofiles.exe
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
446 lines compiled, 4.1 sec
Free Pascal Compiler version 3.0.4 [2018/08/09] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling generateincfiles.pas
Linking generateincfiles.exe
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
546 lines compiled, 0.2 sec
find: ‘../uidesigner/lib’: No such file or directory
../uidesigner/languages/uidesigner.po
An unhandled exception occurred at $00000000004393BC:
EConvertError: "" is an invalid integer
$00000000004393BC
$00000000004014EA

@glixx
Copy link
Contributor Author

glixx commented Nov 23, 2018

localize never works. When I tried it 4 years ago it did not work.
Need to have an alternative - xgettext.

@graemeg
Copy link
Owner

graemeg commented Apr 15, 2019

The localize.sh script works fine if you have compiled fpGUI with FPC 2.6.4. ie: it has *.rst files and not the FPC 3.0.x .rsj (json) files. I still can't believe FPC broke such backwards compatibility without even a deprecation period. I am working on implementing the newer json (.rsj) support into the updatepofiles and generateincfiles utilities.

@graemeg graemeg self-assigned this Apr 15, 2019
@glixx
Copy link
Contributor Author

glixx commented Apr 15, 2019

Thank you for working on this bugreport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants