[zanata/zanata-server] f28a30: Show and set locale alias on project settings page...
GitHub
noreply at github.com
Fri Dec 12 07:17:10 UTC 2014
Branch: refs/heads/locale-aliases
Home: https://github.com/zanata/zanata-server
Commit: f28a301cc982944c02634e3e4803459d581a468f
https://github.com/zanata/zanata-server/commit/f28a301cc982944c02634e3e4803459d581a468f
Author: David Mason <drdmason at gmail.com>
Date: 2014-12-12 (Fri, 12 Dec 2014)
Changed paths:
M zanata-war/src/main/java/org/zanata/action/ProjectHome.java
M zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml
Log Message:
-----------
Show and set locale alias on project settings page.
Displays alias next to the locale id if it exists, otherwise
shows "no alias" to ensure that code is executing properly during
development. The "no alias" should be removed before this feature
is complete.
Yet to do:
- make the alias textbox show and hide
- limit input to 255 characters to match the database field
Still need to refactor entered alias map (rename, decide on how to do
instantiation, decide whether to use it at all or just use the map
from the instance.
Has some failed attempts to stop the NPE - seems the conversation is
ending or different or something when a different version of the form
is submitted.
Commit: 8066265a5d88739301e5aa304fce8a968f697cf7
https://github.com/zanata/zanata-server/commit/8066265a5d88739301e5aa304fce8a968f697cf7
Author: David Mason <drdmason at gmail.com>
Date: 2014-12-12 (Fri, 12 Dec 2014)
Changed paths:
A zanata-war/src/main/java/org/zanata/rest/service/ProjectLocalesService.java
Log Message:
-----------
Add REST endpoint for project locales
Compare: https://github.com/zanata/zanata-server/compare/34a246161f15...8066265a5d88
More information about the zanata-commits
mailing list