Commit Graph

17 Commits

Author SHA1 Message Date
Alceu Rodrigues de Freitas Junior 0c4b79128d
Refactor `translation-tool.pl` (#6317) 2022-03-06 08:11:38 -08:00
Basil Crow f3b8ad3d5c
Apply Perltidy to `translation-tool.pl` (#6326) 2022-03-05 07:34:35 -08:00
Alceu Rodrigues de Freitas Junior f430bc8c86
refactor: translation-tool.pl code formating with perltidy (#6290) 2022-02-24 11:54:58 +00:00
Mustafa Ulu a5e29cb5cf [JENKINS-57922] - Ability to specify target directory for translation-tool.pl (#4083)
* [JENKINS-57922] - Ability to specify output directory for
translation-tool.pl

* Prevent printing everything on same line if values are empty
2019-06-22 22:45:43 +02:00
Damian Szczepanik 049fe2ce56 Improvements for translation-tool.pl
After several tests of 3bfe97e40f I found that library does not support:
- proper using characters stored as \uXXXX so then translated files have values without \u
- keys with spaces such as `jenkins\ title` is not supported

So then I decided to revert last commit and add a little improvement but still there are problems with
- values which ends with `\` so value is provided as multiline
- lines with more than single `=` character that are already translated
2019-01-05 22:56:45 +01:00
Damian Szczepanik 3bfe97e40f translation-tool.pl supports backslash
- When backslash was used in translation then generated template for translation was broken. Only first line was copied, rest was missing and because of \ and next key was also not properly processed.
 - Adds lib for reading properties files instead of own implementation

### Proposed changelog entries

### Submitter checklist

- [ ] JIRA issue is well described
- [ ] Changelog entry appropriate for the audience affected by the change (users or developer, depending on the change).
- [ ] Appropriate autotests or explanation to why this change has no tests
- [ ] For dependency updates: links to external changelogs and, if possible, full diffs

### Desired reviewers
@batmat
2018-12-29 14:45:43 +01:00
Daniel Beck ed2cf9fcdf Fix translation tool entered newlines 2017-03-06 18:36:29 +01:00
Josh Soref 496703d0fe Spelling fixes in changelogs, Javadoc, logs and UI (#2718)
* spelling: abstract

* spelling: about

* spelling: absolute

* spelling: across

* spelling: activity

* spelling: actually

* spelling: addition

* spelling: allocating

* spelling: ambiguous

* spelling: analyzes

* spelling: analysis

* spelling: another

* spelling: appear

* spelling: arbitrary

* spelling: artifact

* spelling: assignment

* spelling: associated

* spelling: augment

* spelling: authentication

* spelling: automatically

* spelling: available

* spelling: availability

* spelling: because

* spelling: background

* spelling: beginning

* spelling: boolean

* spelling: browsers

* spelling: building

* spelling: calculation

* spelling: channel

* spelling: column

* spelling: concatenation

* spelling: connect

* spelling: contribute

* spelling: convert

* spelling: copied

* spelling: couldn't

* spelling: scrambled

* spelling: creates-a

* spelling: curr-entry

* spelling: customize

* spelling: diagnostic

* spelling: contain

* spelling: default

* spelling: delimiter

* spelling: descriptor

* spelling: disambiguates

* spelling: different

* spelling: diligently

* spelling: disabled

* spelling: discovered

* spelling: display

* spelling: doesn't

* spelling: dollar

* spelling: downstream

* spelling: dynamically

* spelling: preemptively

* spelling: encrypt

* spelling: erroneous

* spelling: examine

* spelling: existence

* spelling: value

* spelling: february

* spelling: handling

* spelling: hostname

* spelling: convenient

* spelling: identify

* spelling: implementation

* spelling: incorrect

* spelling: individual

* spelling: initialization

* spelling: initialized

* spelling: inputstream

* spelling: instantiated

* spelling: instantiation

* spelling: intended

* spelling: interpreted

* spelling: interrupted

* spelling: invocations

* spelling: kern

* spelling: localization

* spelling: logger

* spelling: malfunctioning

* spelling: methods

* spelling: monitor

* spelling: mutator

* spelling: multiple

* spelling: object

* spelling: configured

* spelling: optionally

* spelling: option

* spelling: overridden

* spelling: parameterized

* spelling: parent

* spelling: permissions

* spelling: plugin

* spelling: potentially

* spelling: preferable

* spelling: problems like

* spelling: programmatically

* spelling: property

* spelling: reallocate

* spelling: recommended

* spelling: redirected

* spelling: registered

* spelling: reliable

* spelling: remember

* spelling: recurrence

* spelling: repeatable

* spelling: repeated

* spelling: resource

* spelling: retrieve

* spelling: returned

* spelling: revision

* spelling: sandwich

* spelling: separator

* spelling: serialization

* spelling: settings

* spelling: shadow

* spelling: should

* spelling: someone

* spelling: source

* spelling: specified

* spelling: style

* spelling: subversion

* spelling: sufficient

* spelling: supplementary

* spelling: suppressing

* spelling: synchronization

* spelling: synchronized

* spelling: this

* spelling: transitioning

* spelling: termination

* spelling: trying

* spelling: truncatable

* spelling: unknown

* spelling: undeployed

* spelling: unnecessary

* spelling: unparseable

* spelling: update

* spelling: upper

* spelling: verify

* spelling: visible

* spelling: warning

* spelling: we're

* spelling: whitespace

* spelling: wide

* spelling: with

* spelling: workspace

* spelling: yielding

* spelling: to

* spelling: by

* spelling: the

* spelling: hours
2017-02-12 13:38:30 +03:00
Damian Szczepanik f4d3ec2b4a translation-tool.pl - Feature for adding unique prefix for each missing translation (#2632) 2016-11-27 07:46:24 +01:00
Veres Lajos d58903558e typofix - https://github.com/vlajos/misspell_fixer 2015-08-11 16:34:13 +01:00
Stephen Souness 9eb5793c8d Added warning flag to shebang line, corrected string formatting, minor spelling and grammar fixes to comments. 2015-06-19 08:22:51 +01:00
Harald Albers 4d39d5bac4 Follow-up on PR #1105: use != for numeric comparison
This is sort of a cosmetic change, the script also worked with string
comparison.
2014-02-01 11:12:51 +01:00
Damien Finck d0ca726cae Fix 2 bugs in translation tools
- Division by zero --> Error
- Properties with space
2014-01-31 12:49:05 +01:00
Manolo Carrasco 1f5bc9bdd6 Update Spanish translation 2012-05-22 12:32:33 +02:00
Manolo Carrasco 0803e89068 Add Spanish missing keys. Update Spanish internationalized values to have the word Jenkins instead of Hudson. Changes in translation tool to advise when a file have the Hudson word 2011-02-02 09:41:55 +01:00
manuel_carrasco bfa93f7df3 added statistics to translation-tool
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29224 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-25 10:21:09 +00:00
manuel_carrasco 8016aae4ac First version of translation-tool
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29147 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-23 15:25:08 +00:00