Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
f2ed7bab
Commit
f2ed7bab
authored
Jun 01, 2017
by
William Chang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the typo in translations' README.md
parent
b9e8d2ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
README.md
translations/README.md
+5
-5
No files found.
translations/README.md
View file @
f2ed7bab
...
...
@@ -26,7 +26,7 @@ the `go-xgettext` command which can be installed with:
go get github.com/gosexy/gettext/go-xgettext
```
Once that's installed you can run
`hack/update-translations.sh`
, which
Once that's installed you can run
`
./
hack/update-translations.sh`
, which
will extract and sort any new strings.
## Adding new translations
...
...
@@ -34,14 +34,14 @@ Edit the appropriate `k8s.po` file, `poedit` is a popular open source tool
for translations. You can load the
`translations/kubectl/template.pot`
file
to find messages that might be missing.
Once you are done with your
`.po`
file, generate the corresponding
`k8s.mo`
file.
`poedit`
does this automatically on save, but you can also
use
`hack/update-translations.sh`
to perform the
`po`
to
`mo`
translation.
Once you are done with your
`
k8s
.po`
file, generate the corresponding
`k8s.mo`
file.
`poedit`
does this automatically on save, but you can also
run
`
./
hack/update-translations.sh`
to perform the
`po`
to
`mo`
translation.
We use the English translation as the
`msgid`
.
## Regenerating the bindata file
Run
`./hack/generate-bindata.sh, this will turn the translation files
Run
`./hack/generate-bindata.sh
`
, this will turn the translation files
into generated code which will in turn be packaged into the Kubernetes
binaries.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment