diff --git a/zanata-war/src/main/resources/messages.properties b/zanata-war/src/main/resources/messages.properties index ad96960684..4bce1c64b6 100644 --- a/zanata-war/src/main/resources/messages.properties +++ b/zanata-war/src/main/resources/messages.properties @@ -233,9 +233,6 @@ jsf.ManageMaintainers=Manage Maintainers ! "Copy Trans" refers to a specific feature that copies previous versions of translations to the current version. ! You may choose an appropriate short name to refer to this feature, or keep this name as-is. ! This string is used in other strings wherever #{messages['jsf.CopyTrans']} is found, to ensure that the name is used consistently. -jsf.CopyTrans=Copy Trans -jsf.copytrans.message=Copy Trans attempts to reuse translations that have been entered in Zanata by matching them with unstranslated strings in your project/version. Consequently, Copy Trans is best used before translation and review work is initiated on a project. -jsf.copytrans.message2=Each translation has to pass through each of these checks before it will be copied. jsf.project.CopyTransOpts.tooltip=Set this project's default #{messages['jsf.CopyTrans']} settings. jsf.ProjectMaintainers=Project Maintainers jsf.NoMaintainersDefined=(No maintainers defined) @@ -298,8 +295,14 @@ jsf.iteration.CopyTrans.Action.continue=Continue jsf.iteration.CopyTrans.Help.reject=Skip the translation and do not copy it. jsf.iteration.CopyTrans.Action.downgradeToFuzzy=Continue as Fuzzy jsf.iteration.CopyTrans.Help.downgradeToFuzzy=The translation is still considered for reuse, but it will be reused as fuzzy. Subsequent conditions will be checked. -jsf.CopyTrans.Help.message=message=If all previous steps have passed, copy as translated. -jsf.CopyTrans.Help.message2=Unless previously marked as fuzzy. +jsf.CopyTrans=Copy Trans + +jsf.Copytrans.message=Copy Trans attempts to reuse translations that have been entered in Zanata by matching them with unstranslated strings in your project/version. Consequently, Copy Trans is best used before translation and review work is initiated on a project. +jsf.Copytrans.message2=Each translation has to pass through each of these checks before it will be copied. + +jsf.CopyTrans.Action.message=message=If all previous steps have passed, copy as translated. +jsf.CopyTrans.Action.message2=Unless previously marked as fuzzy. + ! used in coloured display tiles #FIXME this is actually longer, may not be necessary or should be named better jsf.iteration.CopyTrans.Action.short.downgradeToFuzzy=Copy as Fuzzy diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline.xhtml index fac04230ed..7ea54c53fa 100644 --- a/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline.xhtml +++ b/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline.xhtml @@ -1,136 +1,161 @@ - + xmlns:s="http://jboss.org/schema/seam/taglib"> - - - - - +
    +
  1. +
    +
    +

    + #{messages['jsf.iteration.CopyTrans.Condition.onContentMismatch']}

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #{messages['jsf.iteration.CopyTrans.Condition']}#{messages['jsf.iteration.CopyTrans.Action']}
    1. #{messages['jsf.iteration.CopyTrans.Condition.onContentMismatch']} +

    + #{messages['jsf.iteration.CopyTrans.Condition.onContentMismatch.details']}

    + +
    +
    -
    2. #{messages['jsf.iteration.CopyTrans.Condition.onContextMismatch']} - - - - - - -
    3. #{messages['jsf.iteration.CopyTrans.Condition.onProjectMismatch']} - - - - - - -
    4. #{messages['jsf.iteration.CopyTrans.Condition.onDocIdMismatch']} - - - - - - -
    5. #{messages['jsf.iteration.CopyTrans.Condition.final']} - #{messages['jsf.Translated']} - -
    + +
    +
    +
  2. + +
  3. +
    +
    +

    + #{messages['jsf.iteration.CopyTrans.Condition.onContextMismatch']} +

    + +

    + #{messages['jsf.iteration.CopyTrans.Condition.onContextMismatch.details']} +

    +
    +
    +
    + + + + + + + + + +
    +
    +
    +
  4. +
  5. +
    +
    +

    + #{messages['jsf.iteration.CopyTrans.Condition.onProjectMismatch']} +

    + +

    + #{messages['jsf.iteration.CopyTrans.Condition.onProjectMismatch.details']} +

    +
    +
    +
    + + + + + + + + + +
    +
    +
    +
  6. + - - +
  7. +
    +
    +

    + #{messages['jsf.iteration.CopyTrans.Condition.onDocIdMismatch']} +

    - +

    + #{messages['jsf.iteration.CopyTrans.Condition.onDocIdMismatch.details']} +

    +
    +
    +
    + + + + + + + + + +
    +
    +
    +
  8. +
  9. +

    #{messages['jsf.CopyTrans.Action.message']}

    +

    #{messages['jsf.CopyTrans.Action.message2']}

    +
  10. +
+ \ No newline at end of file diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline2.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline2.xhtml deleted file mode 100644 index e4a7f19e1c..0000000000 --- a/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline2.xhtml +++ /dev/null @@ -1,161 +0,0 @@ - - - - -
    -
  1. -
    -
    -

    - #{messages['jsf.iteration.CopyTrans.Condition.onContentMismatch']}

    - -

    - #{messages['jsf.iteration.CopyTrans.Condition.onContentMismatch.details']}

    -
    -
    - -
    -
    -
  2. - -
  3. -
    -
    -

    - #{messages['jsf.iteration.CopyTrans.Condition.onContextMismatch']} -

    - -

    - #{messages['jsf.iteration.CopyTrans.Condition.onContextMismatch.details']} -

    -
    -
    -
    - - - - - - - - - -
    -
    -
    -
  4. -
  5. -
    -
    -

    - #{messages['jsf.iteration.CopyTrans.Condition.onProjectMismatch']} -

    - -

    - #{messages['jsf.iteration.CopyTrans.Condition.onProjectMismatch.details']} -

    -
    -
    -
    - - - - - - - - - -
    -
    -
    -
  6. - - -
  7. -
    -
    -

    - #{messages['jsf.iteration.CopyTrans.Condition.onDocIdMismatch']} -

    - -

    - #{messages['jsf.iteration.CopyTrans.Condition.onDocIdMismatch.details']} -

    -
    -
    -
    - - - - - - - - - -
    -
    -
    -
  8. -
  9. -

    #{messages['jsf.CopyTrans.Help.message']}

    -

    #{messages['jsf.CopyTrans.Help.message2']}

    -
  10. -
-
\ No newline at end of file diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml index 630fe2dd7a..fcfa23860e 100644 --- a/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml +++ b/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml @@ -247,15 +247,15 @@

#{messages['jsf.CopyTrans']}

-

#{messages['jsf.copytrans.message']} +

#{messages['jsf.Copytrans.message']}

-

#{messages['jsf.copytrans.message2']}

- +

#{messages['jsf.Copytrans.message2']}

+