Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pipe characte3r instead of new-line to protect substitution parameters #9

Merged
merged 6 commits into from
Apr 9, 2019

Conversation

stesser
Copy link
Contributor

@stesser stesser commented Apr 9, 2019

The use of \n in a substitution operation in sed is not portable.
I suggest to use a pipe character, which is highly unlikely to occur in a valid path name.
Another option might be to use a colon for this purpose, since it is guaranteed not to occur in the locale path specification (since it is used to separate multiple such pathes in $NLSPATH).

stesser added 6 commits April 9, 2019 15:34
It tried to process a file (locales/en.msg) that has been removed.
Default strings were loaded even after a successful load of the catalog file.
The error type variable was always loaded from the non-NLS string.
…hanges

The error type is no longer concatenated from 2 strings.

Remove files without region (de.*): only de_AT.*, de_CH.*, and de_DE.* are to be used.
@codecov
Copy link

codecov bot commented Apr 9, 2019

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   99.96%   99.96%           
=======================================
  Files          16       16           
  Lines        3080     3080           
=======================================
  Hits         3079     3079           
  Misses          1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e076c6e...7ca07cd. Read the comment docs.

@gavinhoward gavinhoward merged commit 47b118b into gavinhoward:master Apr 9, 2019
@gavinhoward
Copy link
Owner

Looks good. Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants