ChangeLog
=
2012-01-30 Murray Cumming
Translations: Try to translate the strings.
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_cs.properties:
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_de.properties:
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_es.properties:
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_sl.properties:
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_zh_CN.properties:
Take the Open translation from GTK+'s .po files.
Take the Details translation from Glom's po files.
I have added the other strings to Glom so we can get translations that
way:
http://git.gnome.org/browse/glom/commit/?id=c3cefe607428a84bdf8de1b04e8bef6f70b04564
2012-01-27 Murray Cumming
TableSelectionViewImpl: Put the search label and entry in a div.
* src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
Put the search widgets in a FlowTable so that the CSS can be used to
style them while keeping them together.
* src/main/webapp/style.css: Mention the new div.
2012-01-27 Murray Cumming
Translate more strings in more locales.
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.properties:
* src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
* src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
* src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
Translate the "Details" and "Open" string too.
* src/main/java/org/glom/web/OnlineGlom.gwt.xml:
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants.properties:
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_cs.properties:
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_es.properties:
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_sl.properties:
*
src/main/resources/org/glom/web/client/ui/OnlineGlomConstants_zh_CN.properties:
Add these new locales as placeholders though they currently contain
English.
2012-01-27 Murray Cumming
OnlineGlomServiceImpl: Avoid (unlikely) null object dereferences.
* src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: get*():
Check the ConfiguredDocument* for null before using it.
2012-01-26 Murray Cumming
Tell Eclipse about the generated java files.
* .classpath: This lets it find OnlineGlomConstants.java.
It would be nice if Eclipse just used the maven build files.
2012-01-26 Murray Cumming
Prevent a crash when no locale is specified in the URL.
* src/main/java/org/glom/web/client/Utils.java: getCurrentLocaleID():
Avoid returning a null string, obtained from
Window.Location.getParameter(). This caused a crash when it was
later passed to libglom's API.
* src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
init(), getDocumentInfo(), getListViewLayout(), getDocuments(),
getDetailsLayoutAndData(): Use StringUtils.defaultString() to
guard against future null strings.
2012-01-26 Murray Cumming
Use the ?locale= query param instead of the &lang= token param.
* src/main/java/org/glom/web/client/place/ListPlace.java
* src/main/java/org/glom/web/client/place/DetailsPlace.java
* src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java
Remove the lang token key and value.
* src/main/java/org/glom/web/client/ui/TableSelectionView.java
* src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
When the user selects a different locale from the chooser, use
Window.Location.assign() to change the URL, which then causes a reload.
* src/main/java/org/glom/web/client/Utils.java: Added
getCurrentLocaleID().
* src/main/java/org/glom/web/client/activity/DetailsActivity.java
*
src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java
* src/main/java/org/glom/web/client/activity/ListActivity.java
* src/main/java/org/glom/web/client/activity/TableSelectionActivity
* src/main/java/org/glom/web/client/ui/DocumentSelectionView.java
* src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
* src/main/java/org/glom/web/client/ui/ListView.java:
* src/main/java/org/glom/web/client/ui/ListViewImpl.java:
Remove localeID member variables and method/constructor parameters,
instead
using Utils.getCurrentLocaleID() when we need a localID to pass to
OnlineGlomService.
2012-01-26 Murray Cumming
Internationalize the UI strings.
* pom.xml: gwt-maven-plugin: Add the i18n goal and specify a
,