cant execute perl script update-all-translations.pl??
trupti
Joined: 2006-02-15
Posts: 9 |
![]() |
I was trying to run the perl script "update-all-translations.pl" located in the /lib/tools/po dir to reflect the text changes that I made and it throws the following exceptions----- ***************************************************************************** ****************************************************************************** |
|
ckdake
![]()
Joined: 2004-02-18
Posts: 2258 |
![]() |
Do you have the full developer package or a copy from CVS? |
|
trupti
Joined: 2006-02-15
Posts: 9 |
![]() |
I have the full developer package which is gallery-2.0.2-developer version. |
|
trupti
Joined: 2006-02-15
Posts: 9 |
![]() |
Just to be on the safe side, I again downloaded the latest developer version of G2 (the same one which I am using currently) and reinstalled it and ran the script again. The only change that I made is on line 20, I changed the ouptut path to /dev , instead of /dev/null. |
|
ckdake
![]()
Joined: 2004-02-18
Posts: 2258 |
![]() |
Works fine for me here on Linux, probably won't work too well on windows. Try upgrading to the latest nightly. Why would you change the output from /dev/null to dev? |
|
trupti
Joined: 2006-02-15
Posts: 9 |
![]() |
I didnt get what you meant by "try upgrading to the latest NIGHTLY??" . It was throwing an exception for the path /dev/null as dev didnt exist , I created a /dev directory and then it threw the other errors I listed above. Are you saying, that the software is going to continue to give other errors as well on Windows?? If thats so, I guess I should check something else then?? |
|
ckdake
![]()
Joined: 2004-02-18
Posts: 2258 |
![]() |
/dev/ is a Linux thing. Just about everyone on the Gallery team does their development on Linux so some development specific things such as that particular perl file may not work on Windows. Are you updating a translation? It doesn't sound like you are and thats the only possible reason you might need to run this scrip. Upgrading to the latest nightly means using a very recent version of G2 that we have not released. See http://gallery.menalto.com/wiki/Download for more information. |
|
trupti
Joined: 2006-02-15
Posts: 9 |
![]() |
I am trying to update some static text like the one on the main page "This is the main page of your Gallery", which you can see on the home page of your Gallery. Dont I need to run this script for that? I have not yet started developing my own module...but very soon would be doing that...I also have to customize some of the existing modules, like add some more fields for the "New User Registration" and make some of the existing fields like "email" optional instead of required. I hope developing on a Windows platform wont cause more problems. I will try updating to the latest nightly and see if the errors resolve. |
|
ckdake
![]()
Joined: 2004-02-18
Posts: 2258 |
![]() |
Just go to edit item to edit that text. It's not static, just default for the top level album. |
|
trupti
Joined: 2006-02-15
Posts: 9 |
![]() |
I cannot find this "edit item" link that you are talking about. I found the edit photo and the edit album link, however nothing like "edit item". Is it some module that I need to install for this to show up?? |
|
ckdake
![]()
Joined: 2004-02-18
Posts: 2258 |
![]() |
edit item is "edit album" for albums |
|
trupti
Joined: 2006-02-15
Posts: 9 |
![]() |
I guess I had to check the root level album..i,e Gallery to edit that text. |
|