Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: UDIG 1.2.0
-
Fix Version/s: None
-
Component/s: application
-
Labels:None
Description
There is a page on translation here:
It refers to a file:
I am not quite sure how to update it; using zip man page I am going to try:
zip -r translation.zip . -i \*.properties
-
Hide
- translation.zip
- 19/Jul/10 6:25 AM
- 773 kB
- Jody Garnett
-
- extras/headlessbuild/app.properties 1 kB
- extras/headlessbuild/sdk.properties 2 kB
- extras/headlessbuild/shared.properties 12 kB
- extras/.../build.properties 1 kB
- extras/.../build.properties 0.1 kB
- extras/.../build.properties 0.2 kB
- features/.../build.properties 0.2 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.1 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.1 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.1 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.1 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.5 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.0 kB
- features/.../build.properties 0.1 kB
- features/.../build.properties 0.0 kB
- features/.../about.properties 0.2 kB
- features/.../build.properties 0.2 kB
- features/.../plugin.properties 0.0 kB
Activity
Hide
Permalink
Jody Garnett
added a comment -
Try this?
Show
Jody Garnett
added a comment - Try this?
Hide
ferez
added a comment -
I have no idea about the zip command but I got a few suggestions.
-We don't need the "bin" directories because they contain duplicate .properties files.
-We are not interested in properties files other than plugin*.properties and messages*.properties files (for example we are not interested in build.properties files). Considering this fact causes "extras", "features", and "scripts" folders be removed from the bundle. Also all of the sub-folders of "tutorials" folder will be removed except one, i.e. net.refractions.udig.tutorials.examples, which we don't need it too. (Am I right?)
So, I think we need the "plugins" folder without "bin" directories and only plugin*.properties and messages*.properties files. Please let me know if I am wrong.
-We don't need the "bin" directories because they contain duplicate .properties files.
-We are not interested in properties files other than plugin*.properties and messages*.properties files (for example we are not interested in build.properties files). Considering this fact causes "extras", "features", and "scripts" folders be removed from the bundle. Also all of the sub-folders of "tutorials" folder will be removed except one, i.e. net.refractions.udig.tutorials.examples, which we don't need it too. (Am I right?)
So, I think we need the "plugins" folder without "bin" directories and only plugin*.properties and messages*.properties files. Please let me know if I am wrong.
Show
ferez
added a comment - I have no idea about the zip command but I got a few suggestions.
-We don't need the "bin" directories because they contain duplicate .properties files.
-We are not interested in properties files other than plugin*.properties and messages*.properties files (for example we are not interested in build.properties files). Considering this fact causes "extras", "features", and "scripts" folders be removed from the bundle. Also all of the sub-folders of "tutorials" folder will be removed except one, i.e. net.refractions.udig.tutorials.examples, which we don't need it too. (Am I right?)
So, I think we need the "plugins" folder without "bin" directories and only plugin*.properties and messages*.properties files. Please let me know if I am wrong.
Hide
Jody Garnett
added a comment -
Thanks for the feedback; that is enough for me to try and write a shell script or something to clean up the result. Although I cannot help but think that someone who knows the zip tool command line could do it all in one line.
Show
Jody Garnett
added a comment - Thanks for the feedback; that is enough for me to try and write a shell script or something to clean up the result. Although I cannot help but think that someone who knows the zip tool command line could do it all in one line.
Hide
ferez
added a comment -
Ok, so please let me know how can I get the new bundle. I mean we should download it from the old link (http://udig.refractions.net/files/downloads/translate/translationfiles.zip) or somewhere else?
Hide
Jody Garnett
added a comment -
Delete the things you don't need out of the attachment; translate it (adding property files for your own location) and send it back to me.
Show
Jody Garnett
added a comment - Delete the things you don't need out of the attachment; translate it (adding property files for your own location) and send it back to me.