1580 lines
103 KiB
Go
1580 lines
103 KiB
Go
// Code generated by go-bindata.
|
|
// sources:
|
|
// translations/extract.py
|
|
// translations/kubectl/OWNERS
|
|
// translations/kubectl/default/LC_MESSAGES/k8s.mo
|
|
// translations/kubectl/default/LC_MESSAGES/k8s.po
|
|
// translations/kubectl/en_US/LC_MESSAGES/k8s.mo
|
|
// translations/kubectl/en_US/LC_MESSAGES/k8s.po
|
|
// translations/kubectl/fr_FR/LC_MESSAGES/k8s.mo
|
|
// translations/kubectl/fr_FR/LC_MESSAGES/k8s.po
|
|
// translations/test/default/LC_MESSAGES/k8s.mo
|
|
// translations/test/default/LC_MESSAGES/k8s.po
|
|
// translations/test/en_US/LC_MESSAGES/k8s.mo
|
|
// translations/test/en_US/LC_MESSAGES/k8s.po
|
|
// DO NOT EDIT!
|
|
|
|
package generated
|
|
|
|
import (
|
|
"fmt"
|
|
"io/ioutil"
|
|
"os"
|
|
"path/filepath"
|
|
"strings"
|
|
"time"
|
|
)
|
|
|
|
type asset struct {
|
|
bytes []byte
|
|
info os.FileInfo
|
|
}
|
|
|
|
type bindataFileInfo struct {
|
|
name string
|
|
size int64
|
|
mode os.FileMode
|
|
modTime time.Time
|
|
}
|
|
|
|
func (fi bindataFileInfo) Name() string {
|
|
return fi.name
|
|
}
|
|
func (fi bindataFileInfo) Size() int64 {
|
|
return fi.size
|
|
}
|
|
func (fi bindataFileInfo) Mode() os.FileMode {
|
|
return fi.mode
|
|
}
|
|
func (fi bindataFileInfo) ModTime() time.Time {
|
|
return fi.modTime
|
|
}
|
|
func (fi bindataFileInfo) IsDir() bool {
|
|
return false
|
|
}
|
|
func (fi bindataFileInfo) Sys() interface{} {
|
|
return nil
|
|
}
|
|
|
|
var _translationsExtractPy = []byte(`#!/usr/bin/env python
|
|
|
|
# Copyright 2017 The Kubernetes Authors.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
"""Extract strings from command files and externalize into translation files.
|
|
Expects to be run from the root directory of the repository.
|
|
|
|
Usage:
|
|
extract.py pkg/kubectl/cmd/apply.go
|
|
|
|
"""
|
|
import fileinput
|
|
import sys
|
|
import re
|
|
|
|
class MatchHandler(object):
|
|
""" Simple holder for a regular expression and a function
|
|
to run if that regular expression matches a line.
|
|
The function should expect (re.match, file, linenumber) as parameters
|
|
"""
|
|
def __init__(self, regex, replace_fn):
|
|
self.regex = re.compile(regex)
|
|
self.replace_fn = replace_fn
|
|
|
|
# global holding all strings discovered
|
|
STRINGS = []
|
|
|
|
def short_replace(match, file, line_number):
|
|
"""Replace a Short: ... cobra command description with an internationalization
|
|
"""
|
|
sys.stdout.write('{}i18n.T({}),\n'.format(match.group(1), match.group(2)))
|
|
STRINGS.append((match.group(2), file, line_number))
|
|
|
|
SHORT_MATCH = MatchHandler(r'(\s+Short:\s+)("[^"]+"),', short_replace)
|
|
|
|
def import_replace(match, file, line_number):
|
|
"""Add an extra import for the i18n library.
|
|
Doesn't try to be smart and detect if it's already present, assumes a
|
|
gofmt round wil fix things.
|
|
"""
|
|
sys.stdout.write('{}\n"k8s.io/kubernetes/pkg/util/i18n"\n'.format(match.group(1)))
|
|
|
|
IMPORT_MATCH = MatchHandler('(.*"k8s.io/kubernetes/pkg/kubectl/cmd/util")', import_replace)
|
|
|
|
def replace(filename, matchers):
|
|
"""Given a file and a set of matchers, run those matchers
|
|
across the file and replace it with the results.
|
|
"""
|
|
# Run all the matchers
|
|
line_number = 0
|
|
for line in fileinput.input(filename, inplace=True):
|
|
line_number += 1
|
|
matched = False
|
|
for matcher in matchers:
|
|
match = matcher.regex.match(line)
|
|
if match:
|
|
matcher.replace_fn(match, filename, line_number)
|
|
matched = True
|
|
break
|
|
if not matched:
|
|
sys.stdout.write(line)
|
|
sys.stdout.flush()
|
|
|
|
# gofmt the file again
|
|
from subprocess import call
|
|
call(["gofmt", "-s", "-w", filename])
|
|
|
|
# update the translation files
|
|
translation_files = [
|
|
"translations/kubectl/default/LC_MESSAGES/k8s.po",
|
|
"translations/kubectl/en_US/LC_MESSAGES/k8s.po",
|
|
]
|
|
|
|
for translation_filename in translation_files:
|
|
with open(translation_filename, "a") as tfile:
|
|
for translation_string in STRINGS:
|
|
msg_string = translation_string[0]
|
|
tfile.write('\n')
|
|
tfile.write('# https://github.com/kubernetes/kubernetes/blob/master/{}#L{}\n'.format(translation_string[1], translation_string[2]))
|
|
tfile.write('msgctxt {}\n'.format(msg_string))
|
|
tfile.write('msgid {}\n'.format(msg_string))
|
|
tfile.write('msgstr {}\n'.format(msg_string))
|
|
|
|
replace(sys.argv[1], [SHORT_MATCH, IMPORT_MATCH])
|
|
`)
|
|
|
|
func translationsExtractPyBytes() ([]byte, error) {
|
|
return _translationsExtractPy, nil
|
|
}
|
|
|
|
func translationsExtractPy() (*asset, error) {
|
|
bytes, err := translationsExtractPyBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/extract.py", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsKubectlOwners = []byte(`approvers:
|
|
- sig-cli-maintainers
|
|
reviewers:
|
|
- sig-cli
|
|
`)
|
|
|
|
func translationsKubectlOwnersBytes() ([]byte, error) {
|
|
return _translationsKubectlOwners, nil
|
|
}
|
|
|
|
func translationsKubectlOwners() (*asset, error) {
|
|
bytes, err := translationsKubectlOwnersBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/kubectl/OWNERS", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsKubectlDefaultLc_messagesK8sMo = []byte("\xde\x12\x04\x95\x00\x00\x00\x00M\x00\x00\x00\x1c\x00\x00\x00\x84\x02\x00\x00g\x00\x00\x00\xec\x04\x00\x00\x00\x00\x00\x00\x88\x06\x00\x00q\x00\x00\x00\x89\x06\x00\x00K\x00\x00\x00\xfb\x06\x00\x00;\x00\x00\x00G\a\x00\x00{\x00\x00\x00\x83\a\x00\x00g\x00\x00\x00\xff\a\x00\x00e\x00\x00\x00g\b\x00\x00q\x00\x00\x00\xcd\b\x00\x00=\x00\x00\x00?\t\x00\x005\x00\x00\x00}\t\x00\x00s\x00\x00\x00\xb3\t\x00\x00'\x00\x00\x00'\n\x00\x007\x00\x00\x00O\n\x00\x00\x81\x00\x00\x00\x87\n\x00\x00Y\x00\x00\x00\t\v\x00\x00U\x00\x00\x00c\v\x00\x00o\x00\x00\x00\xb9\v\x00\x00O\x00\x00\x00)\f\x00\x00M\x00\x00\x00y\f\x00\x00]\x00\x00\x00\xc7\f\x00\x00{\x00\x00\x00%\r\x00\x00U\x00\x00\x00\xa1\r\x00\x00a\x00\x00\x00\xf7\r\x00\x00Y\x00\x00\x00Y\x0e\x00\x00?\x00\x00\x00\xb3\x0e\x00\x00\xbb\x00\x00\x00\xf3\x0e\x00\x00a\x00\x00\x00\xaf\x0f\x00\x00a\x00\x00\x00\x11\x10\x00\x00E\x00\x00\x00s\x10\x00\x00\u007f\x00\x00\x00\xb9\x10\x00\x00;\x00\x00\x009\x11\x00\x00i\x00\x00\x00u\x11\x00\x00g\x00\x00\x00\xdf\x11\x00\x00Y\x00\x00\x00G\x12\x00\x00)\x00\x00\x00\xa1\x12\x00\x00U\x00\x00\x00\xcb\x12\x00\x00\x83\x00\x00\x00!\x13\x00\x00;\x00\x00\x00\xa5\x13\x00\x009\x00\x00\x00\xe1\x13\x00\x005\x00\x00\x00\x1b\x14\x00\x00S\x00\x00\x00Q\x14\x00\x00m\x00\x00\x00\xa5\x14\x00\x00;\x00\x00\x00\x13\x15\x00\x00A\x00\x00\x00O\x15\x00\x00Q\x00\x00\x00\x91\x15\x00\x00-\x00\x00\x00\xe3\x15\x00\x001\x00\x00\x00\x11\x16\x00\x005\x00\x00\x00C\x16\x00\x00;\x00\x00\x00y\x16\x00\x00/\x00\x00\x00\xb5\x16\x00\x00\x85\x00\x00\x00\xe5\x16\x00\x00w\x00\x00\x00k\x17\x00\x00_\x00\x00\x00\xe3\x17\x00\x00c\x00\x00\x00C\x18\x00\x00O\x00\x00\x00\xa7\x18\x00\x00O\x00\x00\x00\xf7\x18\x00\x00K\x00\x00\x00G\x19\x00\x00Q\x00\x00\x00\x93\x19\x00\x00\x97\x00\x00\x00\xe5\x19\x00\x00A\x00\x00\x00}\x1a\x00\x00=\x00\x00\x00\xbf\x1a\x00\x00E\x00\x00\x00\xfd\x1a\x00\x00E\x00\x00\x00C\x1b\x00\x00?\x00\x00\x00\x89\x1b\x00\x00[\x00\x00\x00\xc9\x1b\x00\x00[\x00\x00\x00%\x1c\x00\x00s\x00\x00\x00\x81\x1c\x00\x00\xc7\x00\x00\x00\xf5\x1c\x00\x00_\x00\x00\x00\xbd\x1d\x00\x00s\x00\x00\x00\x1d\x1e\x00\x00=\x00\x00\x00\x91\x1e\x00\x00{\x00\x00\x00\xcf\x1e\x00\x00I\x00\x00\x00K\x1f\x00\x00?\x00\x00\x00\x95\x1f\x00\x00M\x00\x00\x00\xd5\x1f\x00\x00_\x00\x00\x00# \x00\x00(\x01\x00\x00\x83 \x00\x00\xac\x01\x00\x00\xac!\x00\x008\x00\x00\x00Y#\x00\x00%\x00\x00\x00\x92#\x00\x00\x1d\x00\x00\x00\xb8#\x00\x00=\x00\x00\x00\xd6#\x00\x003\x00\x00\x00\x14$\x00\x002\x00\x00\x00H$\x00\x008\x00\x00\x00{$\x00\x00\x1e\x00\x00\x00\xb4$\x00\x00\x1a\x00\x00\x00\xd3$\x00\x009\x00\x00\x00\xee$\x00\x00\x13\x00\x00\x00(%\x00\x00\x1b\x00\x00\x00<%\x00\x00@\x00\x00\x00X%\x00\x00,\x00\x00\x00\x99%\x00\x00*\x00\x00\x00\xc6%\x00\x007\x00\x00\x00\xf1%\x00\x00'\x00\x00\x00)&\x00\x00&\x00\x00\x00Q&\x00\x00.\x00\x00\x00x&\x00\x00=\x00\x00\x00\xa7&\x00\x00*\x00\x00\x00\xe5&\x00\x000\x00\x00\x00\x10'\x00\x00,\x00\x00\x00A'\x00\x00\x1f\x00\x00\x00n'\x00\x00]\x00\x00\x00\x8e'\x00\x000\x00\x00\x00\xec'\x00\x000\x00\x00\x00\x1d(\x00\x00\"\x00\x00\x00N(\x00\x00?\x00\x00\x00q(\x00\x00\x1d\x00\x00\x00\xb1(\x00\x004\x00\x00\x00\xcf(\x00\x003\x00\x00\x00\x04)\x00\x00,\x00\x00\x008)\x00\x00\x14\x00\x00\x00e)\x00\x00*\x00\x00\x00z)\x00\x00A\x00\x00\x00\xa5)\x00\x00\x1d\x00\x00\x00\xe7)\x00\x00\x1c\x00\x00\x00\x05*\x00\x00\x1a\x00\x00\x00\"*\x00\x00)\x00\x00\x00=*\x00\x006\x00\x00\x00g*\x00\x00\x1d\x00\x00\x00\x9e*\x00\x00 \x00\x00\x00\xbc*\x00\x00(\x00\x00\x00\xdd*\x00\x00\x16\x00\x00\x00\x06+\x00\x00\x18\x00\x00\x00\x1d+\x00\x00\x1a\x00\x00\x006+\x00\x00\x1d\x00\x00\x00Q+\x00\x00\x17\x00\x00\x00o+\x00\x00B\x00\x00\x00\x87+\x00\x00;\x00\x00\x00\xca+\x00\x00/\x00\x00\x00\x06,\x00\x001\x00\x00\x006,\x00\x00'\x00\x00\x00h,\x00\x00'\x00\x00\x00\x90,\x00\x00%\x00\x00\x00\xb8,\x00\x00(\x00\x00\x00\xde,\x00\x00K\x00\x00\x00\a-\x00\x00 \x00\x00\x00S-\x00\x00\x1e\x00\x00\x00t-\x00\x00\"\x00\x00\x00\x93-\x00\x00\"\x00\x00\x00\xb6-\x00\x00\x1f\x00\x00\x00\xd9-\x00\x00-\x00\x00\x00\xf9-\x00\x00-\x00\x00\x00'.\x00\x009\x00\x00\x00U.\x00\x00c\x00\x00\x00\x8f.\x00\x00/\x00\x00\x00\xf3.\x00\x009\x00\x00\x00#/\x00\x00\x1e\x00\x00\x00]/\x00\x00=\x00\x00\x00|/\x00\x00$\x00\x00\x00\xba/\x00\x00\x1f\x00\x00\x00\xdf/\x00\x00&\x00\x00\x00\xff/\x00\x00/\x00\x00\x00&0\x00\x00\xc3\x00\x00\x00V0\x00\x00\x01\x00\x00\x00\x14\x00\x00\x00\x00\x00\x00\x00.\x00\x00\x009\x00\x00\x00\b\x00\x00\x00\x00\x00\x00\x00<\x00\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00%\x00\x00\x002\x00\x00\x00;\x00\x00\x00\x1b\x00\x00\x00H\x00\x00\x00\x18\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x003\x00\x00\x00\x00\x00\x00\x00K\x00\x00\x00\x00\x00\x00\x00B\x00\x00\x00\x10\x00\x00\x00C\x00\x00\x00\x00\x00\x00\x00!\x00\x00\x00\x00\x00\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x17\x00\x00\x00,\x00\x00\x00\t\x00\x00\x00?\x00\x00\x00J\x00\x00\x00)\x00\x00\x00\f\x00\x00\x00\x1f\x00\x00\x00G\x00\x00\x00\x03\x00\x00\x00\x1d\x00\x00\x00(\x00\x00\x00+\x00\x00\x00&\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\x00\x00\x00/\x00\x00\x00F\x00\x00\x007\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x000\x00\x00\x00=\x00\x00\x00\x16\x00\x00\x00\x00\x00\x00\x008\x00\x00\x00\x00\x00\x00\x005\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00:\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x006\x00\x00\x00\x19\x00\x00\x00*\x00\x00\x00\n\x00\x00\x00\x1e\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\"\x00\x00\x00\r\x00\x00\x00>\x00\x00\x00L\x00\x00\x00$\x00\x00\x00A\x00\x00\x00\x00\x00\x00\x00D\x00\x00\x00M\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1a\x00\x00\x00-\x00\x00\x00\x0e\x00\x00\x00E\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x004\x00\x00\x00\v\x00\x00\x00\a\x00\x00\x00\x1c\x00\x00\x00@\x00\x00\x00I\x00\x00\x00\x06\x00\x00\x001\x00\x00\x00\x00Apply a configuration to a resource by filename or stdin\x04Apply a configuration to a resource by filename or stdin\x00Approve a certificate signing request\x04Approve a certificate signing request\x00Attach to a running container\x04Attach to a running container\x00Auto-scale a Deployment, ReplicaSet, or ReplicationController\x04Auto-scale a Deployment, ReplicaSet, or ReplicationController\x00Convert config files between different API versions\x04Convert config files between different API versions\x00Copy files and directories to and from containers.\x04Copy files and directories to and from containers.\x00Create a ClusterRoleBinding for a particular ClusterRole\x04Create a ClusterRoleBinding for a particular ClusterRole\x00Create a LoadBalancer service.\x04Create a LoadBalancer service.\x00Create a NodePort service.\x04Create a NodePort service.\x00Create a RoleBinding for a particular Role or ClusterRole\x04Create a RoleBinding for a particular Role or ClusterRole\x00Create a TLS secret\x04Create a TLS secret\x00Create a clusterIP service.\x04Create a clusterIP service.\x00Create a configmap from a local file, directory or literal value\x04Create a configmap from a local file, directory or literal value\x00Create a deployment with the specified name.\x04Create a deployment with the specified name.\x00Create a namespace with the specified name\x04Create a namespace with the specified name\x00Create a pod disruption budget with the specified name.\x04Create a pod disruption budget with the specified name.\x00Create a quota with the specified name.\x04Create a quota with the specified name.\x00Create a resource by filename or stdin\x04Create a resource by filename or stdin\x00Create a secret for use with a Docker registry\x04Create a secret for use with a Docker registry\x00Create a secret from a local file, directory or literal value\x04Create a secret from a local file, directory or literal value\x00Create a secret using specified subcommand\x04Create a secret using specified subcommand\x00Create a service account with the specified name\x04Create a service account with the specified name\x00Create a service using specified subcommand.\x04Create a service using specified subcommand.\x00Create an ExternalName service.\x04Create an ExternalName service.\x00Delete resources by filenames, stdin, resources and names, or by resources and label selector\x04Delete resources by filenames, stdin, resources and names, or by resources and label selector\x00Delete the specified cluster from the kubeconfig\x04Delete the specified cluster from the kubeconfig\x00Delete the specified context from the kubeconfig\x04Delete the specified context from the kubeconfig\x00Deny a certificate signing request\x04Deny a certificate signing request\x00Deprecated: Gracefully shut down a resource by name or filename\x04Deprecated: Gracefully shut down a resource by name or filename\x00Describe one or many contexts\x04Describe one or many contexts\x00Display Resource (CPU/Memory/Storage) usage of nodes\x04Display Resource (CPU/Memory/Storage) usage of nodes\x00Display Resource (CPU/Memory/Storage) usage of pods\x04Display Resource (CPU/Memory/Storage) usage of pods\x00Display Resource (CPU/Memory/Storage) usage.\x04Display Resource (CPU/Memory/Storage) usage.\x00Display cluster info\x04Display cluster info\x00Display clusters defined in the kubeconfig\x04Display clusters defined in the kubeconfig\x00Display merged kubeconfig settings or a specified kubeconfig file\x04Display merged kubeconfig settings or a specified kubeconfig file\x00Display one or many resources\x04Display one or many resources\x00Displays the current-context\x04Displays the current-context\x00Documentation of resources\x04Documentation of resources\x00Drain node in preparation for maintenance\x04Drain node in preparation for maintenance\x00Dump lots of relevant info for debugging and diagnosis\x04Dump lots of relevant info for debugging and diagnosis\x00Edit a resource on the server\x04Edit a resource on the server\x00Execute a command in a container\x04Execute a command in a container\x00Forward one or more local ports to a pod\x04Forward one or more local ports to a pod\x00Help about any command\x04Help about any command\x00Mark node as schedulable\x04Mark node as schedulable\x00Mark node as unschedulable\x04Mark node as unschedulable\x00Modify certificate resources.\x04Modify certificate resources.\x00Modify kubeconfig files\x04Modify kubeconfig files\x00Output shell completion code for the specified shell (bash or zsh)\x04Output shell completion code for the specified shell (bash or zsh)\x00Perform a rolling update of the given ReplicationController\x04Perform a rolling update of the given ReplicationController\x00Print the client and server version information\x04Print the client and server version information\x00Print the list of flags inherited by all commands\x04Print the list of flags inherited by all commands\x00Print the logs for a container in a pod\x04Print the logs for a container in a pod\x00Replace a resource by filename or stdin\x04Replace a resource by filename or stdin\x00Run a particular image on the cluster\x04Run a particular image on the cluster\x00Run a proxy to the Kubernetes API server\x04Run a proxy to the Kubernetes API server\x00Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job\x04Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job\x00Set specific features on objects\x04Set specific features on objects\x00Set the selector on a resource\x04Set the selector on a resource\x00Sets a cluster entry in kubeconfig\x04Sets a cluster entry in kubeconfig\x00Sets a context entry in kubeconfig\x04Sets a context entry in kubeconfig\x00Sets a user entry in kubeconfig\x04Sets a user entry in kubeconfig\x00Sets an individual value in a kubeconfig file\x04Sets an individual value in a kubeconfig file\x00Sets the current-context in a kubeconfig file\x04Sets the current-context in a kubeconfig file\x00Show details of a specific resource or group of resources\x04Show details of a specific resource or group of resources\x00Take a replication controller, service, deployment or pod and expose it as a new Kubernetes Service\x04Take a replication controller, service, deployment or pod and expose it as a new Kubernetes Service\x00Unsets an individual value in a kubeconfig file\x04Unsets an individual value in a kubeconfig file\x00Update field(s) of a resource using strategic merge patch\x04Update field(s) of a resource using strategic merge patch\x00Update image of a pod template\x04Update image of a pod template\x00Update resource requests/limits on objects with pod templates\x04Update resource requests/limits on objects with pod templates\x00Update the annotations on a resource\x04Update the annotations on a resource\x00Update the labels on a resource\x04Update the labels on a resource\x00Update the taints on one or more nodes\x04Update the taints on one or more nodes\x00kubectl controls the Kubernetes cluster manager\x04kubectl controls the Kubernetes cluster manager\x00watch is only supported on individual resources and resource collections - %d resources were found\x04watch is only supported on individual resources and resource collections - %d resources were found\x00watch is only supported on individual resources and resource collections - %d resources were found\x00Project-Id-Version: gettext-go-examples-hello\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2013-12-12 20:03+0000\nPO-Revision-Date: 2017-02-06 22:31-0800\nLast-Translator: Brendan Burns <brendan.d.burns@gmail.com>\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nX-Generator: Poedit 1.6.10\nX-Poedit-SourceCharset: UTF-8\nLanguage-Team: \nPlural-Forms: nplurals=2; plural=(n != 1);\nLanguage: en\n\x00Apply a configuration to a resource by filename or stdin\x00Approve a certificate signing request\x00Attach to a running container\x00Auto-scale a Deployment, ReplicaSet, or ReplicationController\x00Convert config files between different API versions\x00Copy files and directories to and from containers.\x00Create a ClusterRoleBinding for a particular ClusterRole\x00Create a LoadBalancer service.\x00Create a NodePort service.\x00Create a RoleBinding for a particular Role or ClusterRole\x00Create a TLS secret\x00Create a clusterIP service.\x00Create a configmap from a local file, directory or literal value\x00Create a deployment with the specified name.\x00Create a namespace with the specified name\x00Create a pod disruption budget with the specified name.\x00Create a quota with the specified name.\x00Create a resource by filename or stdin\x00Create a secret for use with a Docker registry\x00Create a secret from a local file, directory or literal value\x00Create a secret using specified subcommand\x00Create a service account with the specified name\x00Create a service using specified subcommand.\x00Create an ExternalName service.\x00Delete resources by filenames, stdin, resources and names, or by resources and label selector\x00Delete the specified cluster from the kubeconfig\x00Delete the specified context from the kubeconfig\x00Deny a certificate signing request\x00Deprecated: Gracefully shut down a resource by name or filename\x00Describe one or many contexts\x00Display Resource (CPU/Memory/Storage) usage of nodes\x00Display Resource (CPU/Memory/Storage) usage of pods\x00Display Resource (CPU/Memory/Storage) usage.\x00Display cluster info\x00Display clusters defined in the kubeconfig\x00Display merged kubeconfig settings or a specified kubeconfig file\x00Display one or many resources\x00Displays the current-context\x00Documentation of resources\x00Drain node in preparation for maintenance\x00Dump lots of relevant info for debugging and diagnosis\x00Edit a resource on the server\x00Execute a command in a container\x00Forward one or more local ports to a pod\x00Help about any command\x00Mark node as schedulable\x00Mark node as unschedulable\x00Modify certificate resources.\x00Modify kubeconfig files\x00Output shell completion code for the specified shell (bash or zsh)\x00Perform a rolling update of the given ReplicationController\x00Print the client and server version information\x00Print the list of flags inherited by all commands\x00Print the logs for a container in a pod\x00Replace a resource by filename or stdin\x00Run a particular image on the cluster\x00Run a proxy to the Kubernetes API server\x00Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job\x00Set specific features on objects\x00Set the selector on a resource\x00Sets a cluster entry in kubeconfig\x00Sets a context entry in kubeconfig\x00Sets a user entry in kubeconfig\x00Sets an individual value in a kubeconfig file\x00Sets the current-context in a kubeconfig file\x00Show details of a specific resource or group of resources\x00Take a replication controller, service, deployment or pod and expose it as a new Kubernetes Service\x00Unsets an individual value in a kubeconfig file\x00Update field(s) of a resource using strategic merge patch\x00Update image of a pod template\x00Update resource requests/limits on objects with pod templates\x00Update the annotations on a resource\x00Update the labels on a resource\x00Update the taints on one or more nodes\x00kubectl controls the Kubernetes cluster manager\x00watch is only supported on individual resources and resource collections - %d resource was found\x00watch is only supported on individual resources and resource collections - %d resources were found\x00")
|
|
|
|
func translationsKubectlDefaultLc_messagesK8sMoBytes() ([]byte, error) {
|
|
return _translationsKubectlDefaultLc_messagesK8sMo, nil
|
|
}
|
|
|
|
func translationsKubectlDefaultLc_messagesK8sMo() (*asset, error) {
|
|
bytes, err := translationsKubectlDefaultLc_messagesK8sMoBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/kubectl/default/LC_MESSAGES/k8s.mo", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsKubectlDefaultLc_messagesK8sPo = []byte(`# Test translations for unit tests.
|
|
# Copyright (C) 2016
|
|
# This file is distributed under the same license as the PACKAGE package.
|
|
# FIRST AUTHOR brendan.d.burns@gmail.com, 2016.
|
|
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: gettext-go-examples-hello\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2013-12-12 20:03+0000\n"
|
|
"PO-Revision-Date: 2017-02-06 22:31-0800\n"
|
|
"Last-Translator: Brendan Burns <brendan.d.burns@gmail.com>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"X-Generator: Poedit 1.6.10\n"
|
|
"X-Poedit-SourceCharset: UTF-8\n"
|
|
"Language-Team: \n"
|
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
"Language: en\n"
|
|
|
|
msgctxt "Update the annotations on a resource"
|
|
msgid "Update the annotations on a resource"
|
|
msgstr "Update the annotations on a resource"
|
|
|
|
msgctxt ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
msgid ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
msgid_plural ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
msgstr[0] ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resource was found"
|
|
msgstr[1] ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/apply.go#L98
|
|
msgctxt "Apply a configuration to a resource by filename or stdin"
|
|
msgid "Apply a configuration to a resource by filename or stdin"
|
|
msgstr "Apply a configuration to a resource by filename or stdin"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L39
|
|
msgctxt "Modify kubeconfig files"
|
|
msgid "Modify kubeconfig files"
|
|
msgstr "Modify kubeconfig files"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_authinfo.go#L103
|
|
msgctxt "Sets a user entry in kubeconfig"
|
|
msgid "Sets a user entry in kubeconfig"
|
|
msgstr "Sets a user entry in kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_cluster.go#L67
|
|
msgctxt "Sets a cluster entry in kubeconfig"
|
|
msgid "Sets a cluster entry in kubeconfig"
|
|
msgstr "Sets a cluster entry in kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_context.go#L57
|
|
msgctxt "Sets a context entry in kubeconfig"
|
|
msgid "Sets a context entry in kubeconfig"
|
|
msgstr "Sets a context entry in kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/current_context.go#L48
|
|
msgctxt "Displays the current-context"
|
|
msgid "Displays the current-context"
|
|
msgstr "Displays the current-context"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_cluster.go#L38
|
|
msgctxt "Delete the specified cluster from the kubeconfig"
|
|
msgid "Delete the specified cluster from the kubeconfig"
|
|
msgstr "Delete the specified cluster from the kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_context.go#L38
|
|
msgctxt "Delete the specified context from the kubeconfig"
|
|
msgid "Delete the specified context from the kubeconfig"
|
|
msgstr "Delete the specified context from the kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_clusters.go#L40
|
|
msgctxt "Display clusters defined in the kubeconfig"
|
|
msgid "Display clusters defined in the kubeconfig"
|
|
msgstr "Display clusters defined in the kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_contexts.go#L62
|
|
msgctxt "Describe one or many contexts"
|
|
msgid "Describe one or many contexts"
|
|
msgstr "Describe one or many contexts"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/set.go#L59
|
|
msgctxt "Sets an individual value in a kubeconfig file"
|
|
msgid "Sets an individual value in a kubeconfig file"
|
|
msgstr "Sets an individual value in a kubeconfig file"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/unset.go#L47
|
|
msgctxt "Unsets an individual value in a kubeconfig file"
|
|
msgid "Unsets an individual value in a kubeconfig file"
|
|
msgstr "Unsets an individual value in a kubeconfig file"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/use_context.go#L48
|
|
msgctxt "Sets the current-context in a kubeconfig file"
|
|
msgid "Sets the current-context in a kubeconfig file"
|
|
msgstr "Sets the current-context in a kubeconfig file"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/view.go#L64
|
|
msgctxt "Display merged kubeconfig settings or a specified kubeconfig file"
|
|
msgid "Display merged kubeconfig settings or a specified kubeconfig file"
|
|
msgstr "Display merged kubeconfig settings or a specified kubeconfig file"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set.go#L37
|
|
msgctxt "Set specific features on objects"
|
|
msgid "Set specific features on objects"
|
|
msgstr "Set specific features on objects"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_image.go#L94
|
|
msgctxt "Update image of a pod template"
|
|
msgid "Update image of a pod template"
|
|
msgstr "Update image of a pod template"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_resources.go#L101
|
|
msgctxt "Update resource requests/limits on objects with pod templates"
|
|
msgid "Update resource requests/limits on objects with pod templates"
|
|
msgstr "Update resource requests/limits on objects with pod templates"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_selector.go#L81
|
|
msgctxt "Set the selector on a resource"
|
|
msgid "Set the selector on a resource"
|
|
msgstr "Set the selector on a resource"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/attach.go#L64
|
|
msgctxt "Attach to a running container"
|
|
msgid "Attach to a running container"
|
|
msgstr "Attach to a running container"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L55
|
|
msgctxt "Auto-scale a Deployment, ReplicaSet, or ReplicationController"
|
|
msgid "Auto-scale a Deployment, ReplicaSet, or ReplicationController"
|
|
msgstr "Auto-scale a Deployment, ReplicaSet, or ReplicationController"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L35
|
|
msgctxt "Modify certificate resources."
|
|
msgid "Modify certificate resources."
|
|
msgstr "Modify certificate resources."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L71
|
|
msgctxt "Approve a certificate signing request"
|
|
msgid "Approve a certificate signing request"
|
|
msgstr "Approve a certificate signing request"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L121
|
|
msgctxt "Deny a certificate signing request"
|
|
msgid "Deny a certificate signing request"
|
|
msgstr "Deny a certificate signing request"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo_dump.go#L37
|
|
msgctxt "Dump lots of relevant info for debugging and diagnosis"
|
|
msgid "Dump lots of relevant info for debugging and diagnosis"
|
|
msgstr "Dump lots of relevant info for debugging and diagnosis"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo.go#L49
|
|
msgctxt "Display cluster info"
|
|
msgid "Display cluster info"
|
|
msgstr "Display cluster info"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cmd.go#L217
|
|
msgctxt "kubectl controls the Kubernetes cluster manager"
|
|
msgid "kubectl controls the Kubernetes cluster manager"
|
|
msgstr "kubectl controls the Kubernetes cluster manager"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/completion.go#L97
|
|
msgctxt "Output shell completion code for the specified shell (bash or zsh)"
|
|
msgid "Output shell completion code for the specified shell (bash or zsh)"
|
|
msgstr "Output shell completion code for the specified shell (bash or zsh)"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/convert.go#L67
|
|
msgctxt "Convert config files between different API versions"
|
|
msgid "Convert config files between different API versions"
|
|
msgstr "Convert config files between different API versions"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cp.go#L64
|
|
msgctxt "Copy files and directories to and from containers."
|
|
msgid "Copy files and directories to and from containers."
|
|
msgstr "Copy files and directories to and from containers."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L43
|
|
msgctxt "Create a ClusterRoleBinding for a particular ClusterRole"
|
|
msgid "Create a ClusterRoleBinding for a particular ClusterRole"
|
|
msgstr "Create a ClusterRoleBinding for a particular ClusterRole"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_configmap.go#L59
|
|
msgctxt "Create a configmap from a local file, directory or literal value"
|
|
msgid "Create a configmap from a local file, directory or literal value"
|
|
msgstr "Create a configmap from a local file, directory or literal value"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44
|
|
msgctxt "Create a deployment with the specified name."
|
|
msgid "Create a deployment with the specified name."
|
|
msgstr "Create a deployment with the specified name."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create.go#L56
|
|
msgctxt "Create a resource by filename or stdin"
|
|
msgid "Create a resource by filename or stdin"
|
|
msgstr "Create a resource by filename or stdin"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44
|
|
msgctxt "Create a namespace with the specified name"
|
|
msgid "Create a namespace with the specified name"
|
|
msgstr "Create a namespace with the specified name"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L49
|
|
msgctxt "Create a pod disruption budget with the specified name."
|
|
msgid "Create a pod disruption budget with the specified name."
|
|
msgstr "Create a pod disruption budget with the specified name."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47
|
|
msgctxt "Create a quota with the specified name."
|
|
msgid "Create a quota with the specified name."
|
|
msgstr "Create a quota with the specified name."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L43
|
|
msgctxt "Create a RoleBinding for a particular Role or ClusterRole"
|
|
msgid "Create a RoleBinding for a particular Role or ClusterRole"
|
|
msgstr "Create a RoleBinding for a particular Role or ClusterRole"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L34
|
|
msgctxt "Create a secret using specified subcommand"
|
|
msgid "Create a secret using specified subcommand"
|
|
msgstr "Create a secret using specified subcommand"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L73
|
|
msgctxt "Create a secret from a local file, directory or literal value"
|
|
msgid "Create a secret from a local file, directory or literal value"
|
|
msgstr "Create a secret from a local file, directory or literal value"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L143
|
|
msgctxt "Create a secret for use with a Docker registry"
|
|
msgid "Create a secret for use with a Docker registry"
|
|
msgstr "Create a secret for use with a Docker registry"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L214
|
|
msgctxt "Create a TLS secret"
|
|
msgid "Create a TLS secret"
|
|
msgstr "Create a TLS secret"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44
|
|
msgctxt "Create a service account with the specified name"
|
|
msgid "Create a service account with the specified name"
|
|
msgstr "Create a service account with the specified name"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L36
|
|
msgctxt "Create a service using specified subcommand."
|
|
msgid "Create a service using specified subcommand."
|
|
msgstr "Create a service using specified subcommand."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L68
|
|
msgctxt "Create a clusterIP service."
|
|
msgid "Create a clusterIP service."
|
|
msgstr "Create a clusterIP service."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L124
|
|
msgctxt "Create a NodePort service."
|
|
msgid "Create a NodePort service."
|
|
msgstr "Create a NodePort service."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L181
|
|
msgctxt "Create a LoadBalancer service."
|
|
msgid "Create a LoadBalancer service."
|
|
msgstr "Create a LoadBalancer service."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L240
|
|
msgctxt "Create an ExternalName service."
|
|
msgid "Create an ExternalName service."
|
|
msgstr "Create an ExternalName service."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/delete.go#L130
|
|
msgctxt ""
|
|
"Delete resources by filenames, stdin, resources and names, or by resources "
|
|
"and label selector"
|
|
msgid ""
|
|
"Delete resources by filenames, stdin, resources and names, or by resources "
|
|
"and label selector"
|
|
msgstr ""
|
|
"Delete resources by filenames, stdin, resources and names, or by resources "
|
|
"and label selector"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/describe.go#L80
|
|
msgctxt "Show details of a specific resource or group of resources"
|
|
msgid "Show details of a specific resource or group of resources"
|
|
msgstr "Show details of a specific resource or group of resources"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102
|
|
msgctxt "Mark node as unschedulable"
|
|
msgid "Mark node as unschedulable"
|
|
msgstr "Mark node as unschedulable"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127
|
|
msgctxt "Mark node as schedulable"
|
|
msgid "Mark node as schedulable"
|
|
msgstr "Mark node as schedulable"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L176
|
|
msgctxt "Drain node in preparation for maintenance"
|
|
msgid "Drain node in preparation for maintenance"
|
|
msgstr "Drain node in preparation for maintenance"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/edit.go#L100
|
|
msgctxt "Edit a resource on the server"
|
|
msgid "Edit a resource on the server"
|
|
msgstr "Edit a resource on the server"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/exec.go#L68
|
|
msgctxt "Execute a command in a container"
|
|
msgid "Execute a command in a container"
|
|
msgstr "Execute a command in a container"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/explain.go#L50
|
|
msgctxt "Documentation of resources"
|
|
msgid "Documentation of resources"
|
|
msgstr "Documentation of resources"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L87
|
|
msgctxt ""
|
|
"Take a replication controller, service, deployment or pod and expose it as a "
|
|
"new Kubernetes Service"
|
|
msgid ""
|
|
"Take a replication controller, service, deployment or pod and expose it as a "
|
|
"new Kubernetes Service"
|
|
msgstr ""
|
|
"Take a replication controller, service, deployment or pod and expose it as a "
|
|
"new Kubernetes Service"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/get.go#L107
|
|
msgctxt "Display one or many resources"
|
|
msgid "Display one or many resources"
|
|
msgstr "Display one or many resources"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/help.go#L36
|
|
msgctxt "Help about any command"
|
|
msgid "Help about any command"
|
|
msgstr "Help about any command"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L109
|
|
msgctxt "Update the labels on a resource"
|
|
msgid "Update the labels on a resource"
|
|
msgstr "Update the labels on a resource"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L86
|
|
msgctxt "Print the logs for a container in a pod"
|
|
msgid "Print the logs for a container in a pod"
|
|
msgstr "Print the logs for a container in a pod"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37
|
|
msgctxt "Print the list of flags inherited by all commands"
|
|
msgid "Print the list of flags inherited by all commands"
|
|
msgstr "Print the list of flags inherited by all commands"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/patch.go#L91
|
|
msgctxt "Update field(s) of a resource using strategic merge patch"
|
|
msgid "Update field(s) of a resource using strategic merge patch"
|
|
msgstr "Update field(s) of a resource using strategic merge patch"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/portforward.go#L75
|
|
msgctxt "Forward one or more local ports to a pod"
|
|
msgid "Forward one or more local ports to a pod"
|
|
msgstr "Forward one or more local ports to a pod"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/proxy.go#L68
|
|
msgctxt "Run a proxy to the Kubernetes API server"
|
|
msgid "Run a proxy to the Kubernetes API server"
|
|
msgstr "Run a proxy to the Kubernetes API server"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/replace.go#L70
|
|
msgctxt "Replace a resource by filename or stdin"
|
|
msgid "Replace a resource by filename or stdin"
|
|
msgstr "Replace a resource by filename or stdin"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L84
|
|
msgctxt "Perform a rolling update of the given ReplicationController"
|
|
msgid "Perform a rolling update of the given ReplicationController"
|
|
msgstr "Perform a rolling update of the given ReplicationController"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L94
|
|
msgctxt "Run a particular image on the cluster"
|
|
msgid "Run a particular image on the cluster"
|
|
msgstr "Run a particular image on the cluster"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/scale.go#L71
|
|
msgctxt ""
|
|
"Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job"
|
|
msgid ""
|
|
"Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job"
|
|
msgstr ""
|
|
"Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/stop.go#L58
|
|
msgctxt "Deprecated: Gracefully shut down a resource by name or filename"
|
|
msgid "Deprecated: Gracefully shut down a resource by name or filename"
|
|
msgstr "Deprecated: Gracefully shut down a resource by name or filename"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/taint.go#L88
|
|
msgctxt "Update the taints on one or more nodes"
|
|
msgid "Update the taints on one or more nodes"
|
|
msgstr "Update the taints on one or more nodes"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top.go#L43
|
|
msgctxt "Display Resource (CPU/Memory/Storage) usage."
|
|
msgid "Display Resource (CPU/Memory/Storage) usage."
|
|
msgstr "Display Resource (CPU/Memory/Storage) usage."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top_node.go#L77
|
|
msgctxt "Display Resource (CPU/Memory/Storage) usage of nodes"
|
|
msgid "Display Resource (CPU/Memory/Storage) usage of nodes"
|
|
msgstr "Display Resource (CPU/Memory/Storage) usage of nodes"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top_pod.go#L79
|
|
msgctxt "Display Resource (CPU/Memory/Storage) usage of pods"
|
|
msgid "Display Resource (CPU/Memory/Storage) usage of pods"
|
|
msgstr "Display Resource (CPU/Memory/Storage) usage of pods"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39
|
|
msgctxt "Print the client and server version information"
|
|
msgid "Print the client and server version information"
|
|
msgstr "Print the client and server version information"
|
|
`)
|
|
|
|
func translationsKubectlDefaultLc_messagesK8sPoBytes() ([]byte, error) {
|
|
return _translationsKubectlDefaultLc_messagesK8sPo, nil
|
|
}
|
|
|
|
func translationsKubectlDefaultLc_messagesK8sPo() (*asset, error) {
|
|
bytes, err := translationsKubectlDefaultLc_messagesK8sPoBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/kubectl/default/LC_MESSAGES/k8s.po", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsKubectlEn_usLc_messagesK8sMo = []byte("\xde\x12\x04\x95\x00\x00\x00\x00M\x00\x00\x00\x1c\x00\x00\x00\x84\x02\x00\x00g\x00\x00\x00\xec\x04\x00\x00\x00\x00\x00\x00\x88\x06\x00\x00q\x00\x00\x00\x89\x06\x00\x00K\x00\x00\x00\xfb\x06\x00\x00;\x00\x00\x00G\a\x00\x00{\x00\x00\x00\x83\a\x00\x00g\x00\x00\x00\xff\a\x00\x00e\x00\x00\x00g\b\x00\x00q\x00\x00\x00\xcd\b\x00\x00=\x00\x00\x00?\t\x00\x005\x00\x00\x00}\t\x00\x00s\x00\x00\x00\xb3\t\x00\x00'\x00\x00\x00'\n\x00\x007\x00\x00\x00O\n\x00\x00\x81\x00\x00\x00\x87\n\x00\x00Y\x00\x00\x00\t\v\x00\x00U\x00\x00\x00c\v\x00\x00o\x00\x00\x00\xb9\v\x00\x00O\x00\x00\x00)\f\x00\x00M\x00\x00\x00y\f\x00\x00]\x00\x00\x00\xc7\f\x00\x00{\x00\x00\x00%\r\x00\x00U\x00\x00\x00\xa1\r\x00\x00a\x00\x00\x00\xf7\r\x00\x00Y\x00\x00\x00Y\x0e\x00\x00?\x00\x00\x00\xb3\x0e\x00\x00\xbb\x00\x00\x00\xf3\x0e\x00\x00a\x00\x00\x00\xaf\x0f\x00\x00a\x00\x00\x00\x11\x10\x00\x00E\x00\x00\x00s\x10\x00\x00\u007f\x00\x00\x00\xb9\x10\x00\x00;\x00\x00\x009\x11\x00\x00i\x00\x00\x00u\x11\x00\x00g\x00\x00\x00\xdf\x11\x00\x00Y\x00\x00\x00G\x12\x00\x00)\x00\x00\x00\xa1\x12\x00\x00U\x00\x00\x00\xcb\x12\x00\x00\x83\x00\x00\x00!\x13\x00\x00;\x00\x00\x00\xa5\x13\x00\x009\x00\x00\x00\xe1\x13\x00\x005\x00\x00\x00\x1b\x14\x00\x00S\x00\x00\x00Q\x14\x00\x00m\x00\x00\x00\xa5\x14\x00\x00;\x00\x00\x00\x13\x15\x00\x00A\x00\x00\x00O\x15\x00\x00Q\x00\x00\x00\x91\x15\x00\x00-\x00\x00\x00\xe3\x15\x00\x001\x00\x00\x00\x11\x16\x00\x005\x00\x00\x00C\x16\x00\x00;\x00\x00\x00y\x16\x00\x00/\x00\x00\x00\xb5\x16\x00\x00\x85\x00\x00\x00\xe5\x16\x00\x00w\x00\x00\x00k\x17\x00\x00_\x00\x00\x00\xe3\x17\x00\x00c\x00\x00\x00C\x18\x00\x00O\x00\x00\x00\xa7\x18\x00\x00O\x00\x00\x00\xf7\x18\x00\x00K\x00\x00\x00G\x19\x00\x00Q\x00\x00\x00\x93\x19\x00\x00\x97\x00\x00\x00\xe5\x19\x00\x00A\x00\x00\x00}\x1a\x00\x00=\x00\x00\x00\xbf\x1a\x00\x00E\x00\x00\x00\xfd\x1a\x00\x00E\x00\x00\x00C\x1b\x00\x00?\x00\x00\x00\x89\x1b\x00\x00[\x00\x00\x00\xc9\x1b\x00\x00[\x00\x00\x00%\x1c\x00\x00s\x00\x00\x00\x81\x1c\x00\x00\xc7\x00\x00\x00\xf5\x1c\x00\x00_\x00\x00\x00\xbd\x1d\x00\x00s\x00\x00\x00\x1d\x1e\x00\x00=\x00\x00\x00\x91\x1e\x00\x00{\x00\x00\x00\xcf\x1e\x00\x00I\x00\x00\x00K\x1f\x00\x00?\x00\x00\x00\x95\x1f\x00\x00M\x00\x00\x00\xd5\x1f\x00\x00_\x00\x00\x00# \x00\x00(\x01\x00\x00\x83 \x00\x00\xac\x01\x00\x00\xac!\x00\x008\x00\x00\x00Y#\x00\x00%\x00\x00\x00\x92#\x00\x00\x1d\x00\x00\x00\xb8#\x00\x00=\x00\x00\x00\xd6#\x00\x003\x00\x00\x00\x14$\x00\x002\x00\x00\x00H$\x00\x008\x00\x00\x00{$\x00\x00\x1e\x00\x00\x00\xb4$\x00\x00\x1a\x00\x00\x00\xd3$\x00\x009\x00\x00\x00\xee$\x00\x00\x13\x00\x00\x00(%\x00\x00\x1b\x00\x00\x00<%\x00\x00@\x00\x00\x00X%\x00\x00,\x00\x00\x00\x99%\x00\x00*\x00\x00\x00\xc6%\x00\x007\x00\x00\x00\xf1%\x00\x00'\x00\x00\x00)&\x00\x00&\x00\x00\x00Q&\x00\x00.\x00\x00\x00x&\x00\x00=\x00\x00\x00\xa7&\x00\x00*\x00\x00\x00\xe5&\x00\x000\x00\x00\x00\x10'\x00\x00,\x00\x00\x00A'\x00\x00\x1f\x00\x00\x00n'\x00\x00]\x00\x00\x00\x8e'\x00\x000\x00\x00\x00\xec'\x00\x000\x00\x00\x00\x1d(\x00\x00\"\x00\x00\x00N(\x00\x00?\x00\x00\x00q(\x00\x00\x1d\x00\x00\x00\xb1(\x00\x004\x00\x00\x00\xcf(\x00\x003\x00\x00\x00\x04)\x00\x00,\x00\x00\x008)\x00\x00\x14\x00\x00\x00e)\x00\x00*\x00\x00\x00z)\x00\x00A\x00\x00\x00\xa5)\x00\x00\x1d\x00\x00\x00\xe7)\x00\x00\x1c\x00\x00\x00\x05*\x00\x00\x1a\x00\x00\x00\"*\x00\x00)\x00\x00\x00=*\x00\x006\x00\x00\x00g*\x00\x00\x1d\x00\x00\x00\x9e*\x00\x00 \x00\x00\x00\xbc*\x00\x00(\x00\x00\x00\xdd*\x00\x00\x16\x00\x00\x00\x06+\x00\x00\x18\x00\x00\x00\x1d+\x00\x00\x1a\x00\x00\x006+\x00\x00\x1d\x00\x00\x00Q+\x00\x00\x17\x00\x00\x00o+\x00\x00B\x00\x00\x00\x87+\x00\x00;\x00\x00\x00\xca+\x00\x00/\x00\x00\x00\x06,\x00\x001\x00\x00\x006,\x00\x00'\x00\x00\x00h,\x00\x00'\x00\x00\x00\x90,\x00\x00%\x00\x00\x00\xb8,\x00\x00(\x00\x00\x00\xde,\x00\x00K\x00\x00\x00\a-\x00\x00 \x00\x00\x00S-\x00\x00\x1e\x00\x00\x00t-\x00\x00\"\x00\x00\x00\x93-\x00\x00\"\x00\x00\x00\xb6-\x00\x00\x1f\x00\x00\x00\xd9-\x00\x00-\x00\x00\x00\xf9-\x00\x00-\x00\x00\x00'.\x00\x009\x00\x00\x00U.\x00\x00c\x00\x00\x00\x8f.\x00\x00/\x00\x00\x00\xf3.\x00\x009\x00\x00\x00#/\x00\x00\x1e\x00\x00\x00]/\x00\x00=\x00\x00\x00|/\x00\x00$\x00\x00\x00\xba/\x00\x00\x1f\x00\x00\x00\xdf/\x00\x00&\x00\x00\x00\xff/\x00\x00/\x00\x00\x00&0\x00\x00\xc3\x00\x00\x00V0\x00\x00\x01\x00\x00\x00\x14\x00\x00\x00\x00\x00\x00\x00.\x00\x00\x009\x00\x00\x00\b\x00\x00\x00\x00\x00\x00\x00<\x00\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00%\x00\x00\x002\x00\x00\x00;\x00\x00\x00\x1b\x00\x00\x00H\x00\x00\x00\x18\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x003\x00\x00\x00\x00\x00\x00\x00K\x00\x00\x00\x00\x00\x00\x00B\x00\x00\x00\x10\x00\x00\x00C\x00\x00\x00\x00\x00\x00\x00!\x00\x00\x00\x00\x00\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x17\x00\x00\x00,\x00\x00\x00\t\x00\x00\x00?\x00\x00\x00J\x00\x00\x00)\x00\x00\x00\f\x00\x00\x00\x1f\x00\x00\x00G\x00\x00\x00\x03\x00\x00\x00\x1d\x00\x00\x00(\x00\x00\x00+\x00\x00\x00&\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\x00\x00\x00/\x00\x00\x00F\x00\x00\x007\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x000\x00\x00\x00=\x00\x00\x00\x16\x00\x00\x00\x00\x00\x00\x008\x00\x00\x00\x00\x00\x00\x005\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00:\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x006\x00\x00\x00\x19\x00\x00\x00*\x00\x00\x00\n\x00\x00\x00\x1e\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\"\x00\x00\x00\r\x00\x00\x00>\x00\x00\x00L\x00\x00\x00$\x00\x00\x00A\x00\x00\x00\x00\x00\x00\x00D\x00\x00\x00M\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1a\x00\x00\x00-\x00\x00\x00\x0e\x00\x00\x00E\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00#\x00\x00\x00\x00\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x004\x00\x00\x00\v\x00\x00\x00\a\x00\x00\x00\x1c\x00\x00\x00@\x00\x00\x00I\x00\x00\x00\x06\x00\x00\x001\x00\x00\x00\x00Apply a configuration to a resource by filename or stdin\x04Apply a configuration to a resource by filename or stdin\x00Approve a certificate signing request\x04Approve a certificate signing request\x00Attach to a running container\x04Attach to a running container\x00Auto-scale a Deployment, ReplicaSet, or ReplicationController\x04Auto-scale a Deployment, ReplicaSet, or ReplicationController\x00Convert config files between different API versions\x04Convert config files between different API versions\x00Copy files and directories to and from containers.\x04Copy files and directories to and from containers.\x00Create a ClusterRoleBinding for a particular ClusterRole\x04Create a ClusterRoleBinding for a particular ClusterRole\x00Create a LoadBalancer service.\x04Create a LoadBalancer service.\x00Create a NodePort service.\x04Create a NodePort service.\x00Create a RoleBinding for a particular Role or ClusterRole\x04Create a RoleBinding for a particular Role or ClusterRole\x00Create a TLS secret\x04Create a TLS secret\x00Create a clusterIP service.\x04Create a clusterIP service.\x00Create a configmap from a local file, directory or literal value\x04Create a configmap from a local file, directory or literal value\x00Create a deployment with the specified name.\x04Create a deployment with the specified name.\x00Create a namespace with the specified name\x04Create a namespace with the specified name\x00Create a pod disruption budget with the specified name.\x04Create a pod disruption budget with the specified name.\x00Create a quota with the specified name.\x04Create a quota with the specified name.\x00Create a resource by filename or stdin\x04Create a resource by filename or stdin\x00Create a secret for use with a Docker registry\x04Create a secret for use with a Docker registry\x00Create a secret from a local file, directory or literal value\x04Create a secret from a local file, directory or literal value\x00Create a secret using specified subcommand\x04Create a secret using specified subcommand\x00Create a service account with the specified name\x04Create a service account with the specified name\x00Create a service using specified subcommand.\x04Create a service using specified subcommand.\x00Create an ExternalName service.\x04Create an ExternalName service.\x00Delete resources by filenames, stdin, resources and names, or by resources and label selector\x04Delete resources by filenames, stdin, resources and names, or by resources and label selector\x00Delete the specified cluster from the kubeconfig\x04Delete the specified cluster from the kubeconfig\x00Delete the specified context from the kubeconfig\x04Delete the specified context from the kubeconfig\x00Deny a certificate signing request\x04Deny a certificate signing request\x00Deprecated: Gracefully shut down a resource by name or filename\x04Deprecated: Gracefully shut down a resource by name or filename\x00Describe one or many contexts\x04Describe one or many contexts\x00Display Resource (CPU/Memory/Storage) usage of nodes\x04Display Resource (CPU/Memory/Storage) usage of nodes\x00Display Resource (CPU/Memory/Storage) usage of pods\x04Display Resource (CPU/Memory/Storage) usage of pods\x00Display Resource (CPU/Memory/Storage) usage.\x04Display Resource (CPU/Memory/Storage) usage.\x00Display cluster info\x04Display cluster info\x00Display clusters defined in the kubeconfig\x04Display clusters defined in the kubeconfig\x00Display merged kubeconfig settings or a specified kubeconfig file\x04Display merged kubeconfig settings or a specified kubeconfig file\x00Display one or many resources\x04Display one or many resources\x00Displays the current-context\x04Displays the current-context\x00Documentation of resources\x04Documentation of resources\x00Drain node in preparation for maintenance\x04Drain node in preparation for maintenance\x00Dump lots of relevant info for debugging and diagnosis\x04Dump lots of relevant info for debugging and diagnosis\x00Edit a resource on the server\x04Edit a resource on the server\x00Execute a command in a container\x04Execute a command in a container\x00Forward one or more local ports to a pod\x04Forward one or more local ports to a pod\x00Help about any command\x04Help about any command\x00Mark node as schedulable\x04Mark node as schedulable\x00Mark node as unschedulable\x04Mark node as unschedulable\x00Modify certificate resources.\x04Modify certificate resources.\x00Modify kubeconfig files\x04Modify kubeconfig files\x00Output shell completion code for the specified shell (bash or zsh)\x04Output shell completion code for the specified shell (bash or zsh)\x00Perform a rolling update of the given ReplicationController\x04Perform a rolling update of the given ReplicationController\x00Print the client and server version information\x04Print the client and server version information\x00Print the list of flags inherited by all commands\x04Print the list of flags inherited by all commands\x00Print the logs for a container in a pod\x04Print the logs for a container in a pod\x00Replace a resource by filename or stdin\x04Replace a resource by filename or stdin\x00Run a particular image on the cluster\x04Run a particular image on the cluster\x00Run a proxy to the Kubernetes API server\x04Run a proxy to the Kubernetes API server\x00Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job\x04Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job\x00Set specific features on objects\x04Set specific features on objects\x00Set the selector on a resource\x04Set the selector on a resource\x00Sets a cluster entry in kubeconfig\x04Sets a cluster entry in kubeconfig\x00Sets a context entry in kubeconfig\x04Sets a context entry in kubeconfig\x00Sets a user entry in kubeconfig\x04Sets a user entry in kubeconfig\x00Sets an individual value in a kubeconfig file\x04Sets an individual value in a kubeconfig file\x00Sets the current-context in a kubeconfig file\x04Sets the current-context in a kubeconfig file\x00Show details of a specific resource or group of resources\x04Show details of a specific resource or group of resources\x00Take a replication controller, service, deployment or pod and expose it as a new Kubernetes Service\x04Take a replication controller, service, deployment or pod and expose it as a new Kubernetes Service\x00Unsets an individual value in a kubeconfig file\x04Unsets an individual value in a kubeconfig file\x00Update field(s) of a resource using strategic merge patch\x04Update field(s) of a resource using strategic merge patch\x00Update image of a pod template\x04Update image of a pod template\x00Update resource requests/limits on objects with pod templates\x04Update resource requests/limits on objects with pod templates\x00Update the annotations on a resource\x04Update the annotations on a resource\x00Update the labels on a resource\x04Update the labels on a resource\x00Update the taints on one or more nodes\x04Update the taints on one or more nodes\x00kubectl controls the Kubernetes cluster manager\x04kubectl controls the Kubernetes cluster manager\x00watch is only supported on individual resources and resource collections - %d resources were found\x04watch is only supported on individual resources and resource collections - %d resources were found\x00watch is only supported on individual resources and resource collections - %d resources were found\x00Project-Id-Version: gettext-go-examples-hello\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2013-12-12 20:03+0000\nPO-Revision-Date: 2017-02-06 22:31-0800\nLast-Translator: Brendan Burns <brendan.d.burns@gmail.com>\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nX-Generator: Poedit 1.6.10\nX-Poedit-SourceCharset: UTF-8\nLanguage-Team: \nPlural-Forms: nplurals=2; plural=(n != 1);\nLanguage: en\n\x00Apply a configuration to a resource by filename or stdin\x00Approve a certificate signing request\x00Attach to a running container\x00Auto-scale a Deployment, ReplicaSet, or ReplicationController\x00Convert config files between different API versions\x00Copy files and directories to and from containers.\x00Create a ClusterRoleBinding for a particular ClusterRole\x00Create a LoadBalancer service.\x00Create a NodePort service.\x00Create a RoleBinding for a particular Role or ClusterRole\x00Create a TLS secret\x00Create a clusterIP service.\x00Create a configmap from a local file, directory or literal value\x00Create a deployment with the specified name.\x00Create a namespace with the specified name\x00Create a pod disruption budget with the specified name.\x00Create a quota with the specified name.\x00Create a resource by filename or stdin\x00Create a secret for use with a Docker registry\x00Create a secret from a local file, directory or literal value\x00Create a secret using specified subcommand\x00Create a service account with the specified name\x00Create a service using specified subcommand.\x00Create an ExternalName service.\x00Delete resources by filenames, stdin, resources and names, or by resources and label selector\x00Delete the specified cluster from the kubeconfig\x00Delete the specified context from the kubeconfig\x00Deny a certificate signing request\x00Deprecated: Gracefully shut down a resource by name or filename\x00Describe one or many contexts\x00Display Resource (CPU/Memory/Storage) usage of nodes\x00Display Resource (CPU/Memory/Storage) usage of pods\x00Display Resource (CPU/Memory/Storage) usage.\x00Display cluster info\x00Display clusters defined in the kubeconfig\x00Display merged kubeconfig settings or a specified kubeconfig file\x00Display one or many resources\x00Displays the current-context\x00Documentation of resources\x00Drain node in preparation for maintenance\x00Dump lots of relevant info for debugging and diagnosis\x00Edit a resource on the server\x00Execute a command in a container\x00Forward one or more local ports to a pod\x00Help about any command\x00Mark node as schedulable\x00Mark node as unschedulable\x00Modify certificate resources.\x00Modify kubeconfig files\x00Output shell completion code for the specified shell (bash or zsh)\x00Perform a rolling update of the given ReplicationController\x00Print the client and server version information\x00Print the list of flags inherited by all commands\x00Print the logs for a container in a pod\x00Replace a resource by filename or stdin\x00Run a particular image on the cluster\x00Run a proxy to the Kubernetes API server\x00Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job\x00Set specific features on objects\x00Set the selector on a resource\x00Sets a cluster entry in kubeconfig\x00Sets a context entry in kubeconfig\x00Sets a user entry in kubeconfig\x00Sets an individual value in a kubeconfig file\x00Sets the current-context in a kubeconfig file\x00Show details of a specific resource or group of resources\x00Take a replication controller, service, deployment or pod and expose it as a new Kubernetes Service\x00Unsets an individual value in a kubeconfig file\x00Update field(s) of a resource using strategic merge patch\x00Update image of a pod template\x00Update resource requests/limits on objects with pod templates\x00Update the annotations on a resource\x00Update the labels on a resource\x00Update the taints on one or more nodes\x00kubectl controls the Kubernetes cluster manager\x00watch is only supported on individual resources and resource collections - %d resource was found\x00watch is only supported on individual resources and resource collections - %d resources were found\x00")
|
|
|
|
func translationsKubectlEn_usLc_messagesK8sMoBytes() ([]byte, error) {
|
|
return _translationsKubectlEn_usLc_messagesK8sMo, nil
|
|
}
|
|
|
|
func translationsKubectlEn_usLc_messagesK8sMo() (*asset, error) {
|
|
bytes, err := translationsKubectlEn_usLc_messagesK8sMoBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/kubectl/en_US/LC_MESSAGES/k8s.mo", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsKubectlEn_usLc_messagesK8sPo = []byte(`# Test translations for unit tests.
|
|
# Copyright (C) 2016
|
|
# This file is distributed under the same license as the PACKAGE package.
|
|
# FIRST AUTHOR brendan.d.burns@gmail.com, 2016.
|
|
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: gettext-go-examples-hello\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2013-12-12 20:03+0000\n"
|
|
"PO-Revision-Date: 2017-02-06 22:31-0800\n"
|
|
"Last-Translator: Brendan Burns <brendan.d.burns@gmail.com>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"X-Generator: Poedit 1.6.10\n"
|
|
"X-Poedit-SourceCharset: UTF-8\n"
|
|
"Language-Team: \n"
|
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
"Language: en\n"
|
|
|
|
msgctxt "Update the annotations on a resource"
|
|
msgid "Update the annotations on a resource"
|
|
msgstr "Update the annotations on a resource"
|
|
|
|
msgctxt ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
msgid ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
msgid_plural ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
msgstr[0] ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resource was found"
|
|
msgstr[1] ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/apply.go#L98
|
|
msgctxt "Apply a configuration to a resource by filename or stdin"
|
|
msgid "Apply a configuration to a resource by filename or stdin"
|
|
msgstr "Apply a configuration to a resource by filename or stdin"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L39
|
|
msgctxt "Modify kubeconfig files"
|
|
msgid "Modify kubeconfig files"
|
|
msgstr "Modify kubeconfig files"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_authinfo.go#L103
|
|
msgctxt "Sets a user entry in kubeconfig"
|
|
msgid "Sets a user entry in kubeconfig"
|
|
msgstr "Sets a user entry in kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_cluster.go#L67
|
|
msgctxt "Sets a cluster entry in kubeconfig"
|
|
msgid "Sets a cluster entry in kubeconfig"
|
|
msgstr "Sets a cluster entry in kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_context.go#L57
|
|
msgctxt "Sets a context entry in kubeconfig"
|
|
msgid "Sets a context entry in kubeconfig"
|
|
msgstr "Sets a context entry in kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/current_context.go#L48
|
|
msgctxt "Displays the current-context"
|
|
msgid "Displays the current-context"
|
|
msgstr "Displays the current-context"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_cluster.go#L38
|
|
msgctxt "Delete the specified cluster from the kubeconfig"
|
|
msgid "Delete the specified cluster from the kubeconfig"
|
|
msgstr "Delete the specified cluster from the kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_context.go#L38
|
|
msgctxt "Delete the specified context from the kubeconfig"
|
|
msgid "Delete the specified context from the kubeconfig"
|
|
msgstr "Delete the specified context from the kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_clusters.go#L40
|
|
msgctxt "Display clusters defined in the kubeconfig"
|
|
msgid "Display clusters defined in the kubeconfig"
|
|
msgstr "Display clusters defined in the kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_contexts.go#L62
|
|
msgctxt "Describe one or many contexts"
|
|
msgid "Describe one or many contexts"
|
|
msgstr "Describe one or many contexts"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/set.go#L59
|
|
msgctxt "Sets an individual value in a kubeconfig file"
|
|
msgid "Sets an individual value in a kubeconfig file"
|
|
msgstr "Sets an individual value in a kubeconfig file"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/unset.go#L47
|
|
msgctxt "Unsets an individual value in a kubeconfig file"
|
|
msgid "Unsets an individual value in a kubeconfig file"
|
|
msgstr "Unsets an individual value in a kubeconfig file"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/use_context.go#L48
|
|
msgctxt "Sets the current-context in a kubeconfig file"
|
|
msgid "Sets the current-context in a kubeconfig file"
|
|
msgstr "Sets the current-context in a kubeconfig file"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/view.go#L64
|
|
msgctxt "Display merged kubeconfig settings or a specified kubeconfig file"
|
|
msgid "Display merged kubeconfig settings or a specified kubeconfig file"
|
|
msgstr "Display merged kubeconfig settings or a specified kubeconfig file"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set.go#L37
|
|
msgctxt "Set specific features on objects"
|
|
msgid "Set specific features on objects"
|
|
msgstr "Set specific features on objects"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_image.go#L94
|
|
msgctxt "Update image of a pod template"
|
|
msgid "Update image of a pod template"
|
|
msgstr "Update image of a pod template"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_resources.go#L101
|
|
msgctxt "Update resource requests/limits on objects with pod templates"
|
|
msgid "Update resource requests/limits on objects with pod templates"
|
|
msgstr "Update resource requests/limits on objects with pod templates"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_selector.go#L81
|
|
msgctxt "Set the selector on a resource"
|
|
msgid "Set the selector on a resource"
|
|
msgstr "Set the selector on a resource"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/attach.go#L64
|
|
msgctxt "Attach to a running container"
|
|
msgid "Attach to a running container"
|
|
msgstr "Attach to a running container"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L55
|
|
msgctxt "Auto-scale a Deployment, ReplicaSet, or ReplicationController"
|
|
msgid "Auto-scale a Deployment, ReplicaSet, or ReplicationController"
|
|
msgstr "Auto-scale a Deployment, ReplicaSet, or ReplicationController"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L35
|
|
msgctxt "Modify certificate resources."
|
|
msgid "Modify certificate resources."
|
|
msgstr "Modify certificate resources."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L71
|
|
msgctxt "Approve a certificate signing request"
|
|
msgid "Approve a certificate signing request"
|
|
msgstr "Approve a certificate signing request"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L121
|
|
msgctxt "Deny a certificate signing request"
|
|
msgid "Deny a certificate signing request"
|
|
msgstr "Deny a certificate signing request"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo_dump.go#L37
|
|
msgctxt "Dump lots of relevant info for debugging and diagnosis"
|
|
msgid "Dump lots of relevant info for debugging and diagnosis"
|
|
msgstr "Dump lots of relevant info for debugging and diagnosis"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo.go#L49
|
|
msgctxt "Display cluster info"
|
|
msgid "Display cluster info"
|
|
msgstr "Display cluster info"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cmd.go#L217
|
|
msgctxt "kubectl controls the Kubernetes cluster manager"
|
|
msgid "kubectl controls the Kubernetes cluster manager"
|
|
msgstr "kubectl controls the Kubernetes cluster manager"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/completion.go#L97
|
|
msgctxt "Output shell completion code for the specified shell (bash or zsh)"
|
|
msgid "Output shell completion code for the specified shell (bash or zsh)"
|
|
msgstr "Output shell completion code for the specified shell (bash or zsh)"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/convert.go#L67
|
|
msgctxt "Convert config files between different API versions"
|
|
msgid "Convert config files between different API versions"
|
|
msgstr "Convert config files between different API versions"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cp.go#L64
|
|
msgctxt "Copy files and directories to and from containers."
|
|
msgid "Copy files and directories to and from containers."
|
|
msgstr "Copy files and directories to and from containers."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L43
|
|
msgctxt "Create a ClusterRoleBinding for a particular ClusterRole"
|
|
msgid "Create a ClusterRoleBinding for a particular ClusterRole"
|
|
msgstr "Create a ClusterRoleBinding for a particular ClusterRole"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_configmap.go#L59
|
|
msgctxt "Create a configmap from a local file, directory or literal value"
|
|
msgid "Create a configmap from a local file, directory or literal value"
|
|
msgstr "Create a configmap from a local file, directory or literal value"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44
|
|
msgctxt "Create a deployment with the specified name."
|
|
msgid "Create a deployment with the specified name."
|
|
msgstr "Create a deployment with the specified name."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create.go#L56
|
|
msgctxt "Create a resource by filename or stdin"
|
|
msgid "Create a resource by filename or stdin"
|
|
msgstr "Create a resource by filename or stdin"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44
|
|
msgctxt "Create a namespace with the specified name"
|
|
msgid "Create a namespace with the specified name"
|
|
msgstr "Create a namespace with the specified name"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L49
|
|
msgctxt "Create a pod disruption budget with the specified name."
|
|
msgid "Create a pod disruption budget with the specified name."
|
|
msgstr "Create a pod disruption budget with the specified name."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47
|
|
msgctxt "Create a quota with the specified name."
|
|
msgid "Create a quota with the specified name."
|
|
msgstr "Create a quota with the specified name."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L43
|
|
msgctxt "Create a RoleBinding for a particular Role or ClusterRole"
|
|
msgid "Create a RoleBinding for a particular Role or ClusterRole"
|
|
msgstr "Create a RoleBinding for a particular Role or ClusterRole"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L34
|
|
msgctxt "Create a secret using specified subcommand"
|
|
msgid "Create a secret using specified subcommand"
|
|
msgstr "Create a secret using specified subcommand"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L73
|
|
msgctxt "Create a secret from a local file, directory or literal value"
|
|
msgid "Create a secret from a local file, directory or literal value"
|
|
msgstr "Create a secret from a local file, directory or literal value"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L143
|
|
msgctxt "Create a secret for use with a Docker registry"
|
|
msgid "Create a secret for use with a Docker registry"
|
|
msgstr "Create a secret for use with a Docker registry"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L214
|
|
msgctxt "Create a TLS secret"
|
|
msgid "Create a TLS secret"
|
|
msgstr "Create a TLS secret"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44
|
|
msgctxt "Create a service account with the specified name"
|
|
msgid "Create a service account with the specified name"
|
|
msgstr "Create a service account with the specified name"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L36
|
|
msgctxt "Create a service using specified subcommand."
|
|
msgid "Create a service using specified subcommand."
|
|
msgstr "Create a service using specified subcommand."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L68
|
|
msgctxt "Create a clusterIP service."
|
|
msgid "Create a clusterIP service."
|
|
msgstr "Create a clusterIP service."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L124
|
|
msgctxt "Create a NodePort service."
|
|
msgid "Create a NodePort service."
|
|
msgstr "Create a NodePort service."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L181
|
|
msgctxt "Create a LoadBalancer service."
|
|
msgid "Create a LoadBalancer service."
|
|
msgstr "Create a LoadBalancer service."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L240
|
|
msgctxt "Create an ExternalName service."
|
|
msgid "Create an ExternalName service."
|
|
msgstr "Create an ExternalName service."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/delete.go#L130
|
|
msgctxt ""
|
|
"Delete resources by filenames, stdin, resources and names, or by resources "
|
|
"and label selector"
|
|
msgid ""
|
|
"Delete resources by filenames, stdin, resources and names, or by resources "
|
|
"and label selector"
|
|
msgstr ""
|
|
"Delete resources by filenames, stdin, resources and names, or by resources "
|
|
"and label selector"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/describe.go#L80
|
|
msgctxt "Show details of a specific resource or group of resources"
|
|
msgid "Show details of a specific resource or group of resources"
|
|
msgstr "Show details of a specific resource or group of resources"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102
|
|
msgctxt "Mark node as unschedulable"
|
|
msgid "Mark node as unschedulable"
|
|
msgstr "Mark node as unschedulable"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127
|
|
msgctxt "Mark node as schedulable"
|
|
msgid "Mark node as schedulable"
|
|
msgstr "Mark node as schedulable"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L176
|
|
msgctxt "Drain node in preparation for maintenance"
|
|
msgid "Drain node in preparation for maintenance"
|
|
msgstr "Drain node in preparation for maintenance"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/edit.go#L100
|
|
msgctxt "Edit a resource on the server"
|
|
msgid "Edit a resource on the server"
|
|
msgstr "Edit a resource on the server"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/exec.go#L68
|
|
msgctxt "Execute a command in a container"
|
|
msgid "Execute a command in a container"
|
|
msgstr "Execute a command in a container"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/explain.go#L50
|
|
msgctxt "Documentation of resources"
|
|
msgid "Documentation of resources"
|
|
msgstr "Documentation of resources"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L87
|
|
msgctxt ""
|
|
"Take a replication controller, service, deployment or pod and expose it as a "
|
|
"new Kubernetes Service"
|
|
msgid ""
|
|
"Take a replication controller, service, deployment or pod and expose it as a "
|
|
"new Kubernetes Service"
|
|
msgstr ""
|
|
"Take a replication controller, service, deployment or pod and expose it as a "
|
|
"new Kubernetes Service"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/get.go#L107
|
|
msgctxt "Display one or many resources"
|
|
msgid "Display one or many resources"
|
|
msgstr "Display one or many resources"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/help.go#L36
|
|
msgctxt "Help about any command"
|
|
msgid "Help about any command"
|
|
msgstr "Help about any command"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L109
|
|
msgctxt "Update the labels on a resource"
|
|
msgid "Update the labels on a resource"
|
|
msgstr "Update the labels on a resource"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L86
|
|
msgctxt "Print the logs for a container in a pod"
|
|
msgid "Print the logs for a container in a pod"
|
|
msgstr "Print the logs for a container in a pod"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37
|
|
msgctxt "Print the list of flags inherited by all commands"
|
|
msgid "Print the list of flags inherited by all commands"
|
|
msgstr "Print the list of flags inherited by all commands"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/patch.go#L91
|
|
msgctxt "Update field(s) of a resource using strategic merge patch"
|
|
msgid "Update field(s) of a resource using strategic merge patch"
|
|
msgstr "Update field(s) of a resource using strategic merge patch"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/portforward.go#L75
|
|
msgctxt "Forward one or more local ports to a pod"
|
|
msgid "Forward one or more local ports to a pod"
|
|
msgstr "Forward one or more local ports to a pod"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/proxy.go#L68
|
|
msgctxt "Run a proxy to the Kubernetes API server"
|
|
msgid "Run a proxy to the Kubernetes API server"
|
|
msgstr "Run a proxy to the Kubernetes API server"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/replace.go#L70
|
|
msgctxt "Replace a resource by filename or stdin"
|
|
msgid "Replace a resource by filename or stdin"
|
|
msgstr "Replace a resource by filename or stdin"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L84
|
|
msgctxt "Perform a rolling update of the given ReplicationController"
|
|
msgid "Perform a rolling update of the given ReplicationController"
|
|
msgstr "Perform a rolling update of the given ReplicationController"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L94
|
|
msgctxt "Run a particular image on the cluster"
|
|
msgid "Run a particular image on the cluster"
|
|
msgstr "Run a particular image on the cluster"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/scale.go#L71
|
|
msgctxt ""
|
|
"Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job"
|
|
msgid ""
|
|
"Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job"
|
|
msgstr ""
|
|
"Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/stop.go#L58
|
|
msgctxt "Deprecated: Gracefully shut down a resource by name or filename"
|
|
msgid "Deprecated: Gracefully shut down a resource by name or filename"
|
|
msgstr "Deprecated: Gracefully shut down a resource by name or filename"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/taint.go#L88
|
|
msgctxt "Update the taints on one or more nodes"
|
|
msgid "Update the taints on one or more nodes"
|
|
msgstr "Update the taints on one or more nodes"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top.go#L43
|
|
msgctxt "Display Resource (CPU/Memory/Storage) usage."
|
|
msgid "Display Resource (CPU/Memory/Storage) usage."
|
|
msgstr "Display Resource (CPU/Memory/Storage) usage."
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top_node.go#L77
|
|
msgctxt "Display Resource (CPU/Memory/Storage) usage of nodes"
|
|
msgid "Display Resource (CPU/Memory/Storage) usage of nodes"
|
|
msgstr "Display Resource (CPU/Memory/Storage) usage of nodes"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top_pod.go#L79
|
|
msgctxt "Display Resource (CPU/Memory/Storage) usage of pods"
|
|
msgid "Display Resource (CPU/Memory/Storage) usage of pods"
|
|
msgstr "Display Resource (CPU/Memory/Storage) usage of pods"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39
|
|
msgctxt "Print the client and server version information"
|
|
msgid "Print the client and server version information"
|
|
msgstr "Print the client and server version information"
|
|
`)
|
|
|
|
func translationsKubectlEn_usLc_messagesK8sPoBytes() ([]byte, error) {
|
|
return _translationsKubectlEn_usLc_messagesK8sPo, nil
|
|
}
|
|
|
|
func translationsKubectlEn_usLc_messagesK8sPo() (*asset, error) {
|
|
bytes, err := translationsKubectlEn_usLc_messagesK8sPoBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/kubectl/en_US/LC_MESSAGES/k8s.po", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsKubectlFr_frLc_messagesK8sMo = []byte("\xde\x12\x04\x95\x00\x00\x00\x00\x11\x00\x00\x00\x1c\x00\x00\x00\xa4\x00\x00\x00\x17\x00\x00\x00,\x01\x00\x00\x00\x00\x00\x00\x88\x01\x00\x00q\x00\x00\x00\x89\x01\x00\x00a\x00\x00\x00\xfb\x01\x00\x00a\x00\x00\x00]\x02\x00\x00;\x00\x00\x00\xbf\x02\x00\x00U\x00\x00\x00\xfb\x02\x00\x00\x83\x00\x00\x00Q\x03\x00\x009\x00\x00\x00\xd5\x03\x00\x00/\x00\x00\x00\x0f\x04\x00\x00E\x00\x00\x00?\x04\x00\x00E\x00\x00\x00\x85\x04\x00\x00?\x00\x00\x00\xcb\x04\x00\x00[\x00\x00\x00\v\x05\x00\x00[\x00\x00\x00g\x05\x00\x00_\x00\x00\x00\xc3\x05\x00\x00I\x00\x00\x00#\x06\x00\x00(\x01\x00\x00m\x06\x00\x00\xab\x01\x00\x00\x96\a\x00\x00O\x00\x00\x00B\t\x00\x00-\x00\x00\x00\x92\t\x00\x00.\x00\x00\x00\xc0\t\x00\x00\"\x00\x00\x00\xef\t\x00\x00-\x00\x00\x00\x12\n\x00\x00W\x00\x00\x00@\n\x00\x00\x1a\x00\x00\x00\x98\n\x00\x00 \x00\x00\x00\xb3\n\x00\x00#\x00\x00\x00\xd4\n\x00\x00$\x00\x00\x00\xf8\n\x00\x00'\x00\x00\x00\x1d\v\x00\x00;\x00\x00\x00E\v\x00\x007\x00\x00\x00\x81\v\x00\x00;\x00\x00\x00\xb9\v\x00\x00.\x00\x00\x00\xf5\v\x00\x00\x05\x01\x00\x00$\f\x00\x00\x01\x00\x00\x00\x0f\x00\x00\x00\x04\x00\x00\x00\x03\x00\x00\x00\a\x00\x00\x00\n\x00\x00\x00\x0e\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\b\x00\x00\x00\t\x00\x00\x00\x02\x00\x00\x00\x05\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\v\x00\x00\x00\r\x00\x00\x00\f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00\x00Apply a configuration to a resource by filename or stdin\x04Apply a configuration to a resource by filename or stdin\x00Delete the specified cluster from the kubeconfig\x04Delete the specified cluster from the kubeconfig\x00Delete the specified context from the kubeconfig\x04Delete the specified context from the kubeconfig\x00Describe one or many contexts\x04Describe one or many contexts\x00Display clusters defined in the kubeconfig\x04Display clusters defined in the kubeconfig\x00Display merged kubeconfig settings or a specified kubeconfig file\x04Display merged kubeconfig settings or a specified kubeconfig file\x00Displays the current-context\x04Displays the current-context\x00Modify kubeconfig files\x04Modify kubeconfig files\x00Sets a cluster entry in kubeconfig\x04Sets a cluster entry in kubeconfig\x00Sets a context entry in kubeconfig\x04Sets a context entry in kubeconfig\x00Sets a user entry in kubeconfig\x04Sets a user entry in kubeconfig\x00Sets an individual value in a kubeconfig file\x04Sets an individual value in a kubeconfig file\x00Sets the current-context in a kubeconfig file\x04Sets the current-context in a kubeconfig file\x00Unsets an individual value in a kubeconfig file\x04Unsets an individual value in a kubeconfig file\x00Update the annotations on a resource\x04Update the annotations on a resource\x00watch is only supported on individual resources and resource collections - %d resources were found\x04watch is only supported on individual resources and resource collections - %d resources were found\x00watch is only supported on individual resources and resource collections - %d resources were found\x00Project-Id-Version: gettext-go-examples-hello\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2013-12-12 20:03+0000\nPO-Revision-Date: 2017-01-29 22:54-0800\nLast-Translator: Brendan Burns <brendan.d.burns@gmail.com>\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nX-Generator: Poedit 1.6.10\nX-Poedit-SourceCharset: UTF-8\nLanguage-Team: \nPlural-Forms: nplurals=2; plural=(n > 1);\nLanguage: fr\n\x00Appliquer une configuration \u00e0 une ressource par nom de fichier ou depuis stdin\x00Supprimer le cluster sp\u00e9cifi\u00e9 du kubeconfig\x00Supprimer le contexte sp\u00e9cifi\u00e9 du kubeconfig\x00D\u00e9crire un ou plusieurs contextes\x00Afficher les cluster d\u00e9finis dans kubeconfig\x00Afficher les param\u00e8tres fusionn\u00e9s de kubeconfig ou d'un fichier kubeconfig sp\u00e9cifi\u00e9\x00Affiche le contexte actuel\x00Modifier des fichiers kubeconfig\x00D\u00e9finit un cluster dans kubeconfig\x00D\u00e9finit un contexte dans kubeconfig\x00D\u00e9finit un utilisateur dans kubeconfig\x00D\u00e9finit une valeur individuelle dans un fichier kubeconfig\x00D\u00e9finit le contexte courant dans un fichier kubeconfig\x00Supprime une valeur individuelle dans un fichier kubeconfig\x00Mettre \u00e0 jour les annotations d'une ressource\x00watch n'est compatible qu'avec les ressources individuelles et les collections de ressources. - %d ressource a \u00e9t\u00e9 trouv\u00e9e. \x00watch n'est compatible qu'avec les ressources individuelles et les collections de ressources. - %d ressources ont \u00e9t\u00e9 trouv\u00e9es. \x00")
|
|
|
|
func translationsKubectlFr_frLc_messagesK8sMoBytes() ([]byte, error) {
|
|
return _translationsKubectlFr_frLc_messagesK8sMo, nil
|
|
}
|
|
|
|
func translationsKubectlFr_frLc_messagesK8sMo() (*asset, error) {
|
|
bytes, err := translationsKubectlFr_frLc_messagesK8sMoBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/kubectl/fr_FR/LC_MESSAGES/k8s.mo", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsKubectlFr_frLc_messagesK8sPo = []byte(`# Test translations for unit tests.
|
|
# Copyright (C) 2016
|
|
# This file is distributed under the same license as the PACKAGE package.
|
|
# FIRST AUTHOR brendan.d.burns@gmail.com, 2016.
|
|
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: gettext-go-examples-hello\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2013-12-12 20:03+0000\n"
|
|
"PO-Revision-Date: 2017-01-29 22:54-0800\n"
|
|
"Last-Translator: Brendan Burns <brendan.d.burns@gmail.com>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"X-Generator: Poedit 1.6.10\n"
|
|
"X-Poedit-SourceCharset: UTF-8\n"
|
|
"Language-Team: \n"
|
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
"Language: fr\n"
|
|
|
|
msgctxt "Update the annotations on a resource"
|
|
msgid "Update the annotations on a resource"
|
|
msgstr "Mettre à jour les annotations d'une ressource"
|
|
|
|
msgctxt ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
msgid ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
msgid_plural ""
|
|
"watch is only supported on individual resources and resource collections - "
|
|
"%d resources were found"
|
|
msgstr[0] ""
|
|
"watch n'est compatible qu'avec les ressources individuelles et les "
|
|
"collections de ressources. - %d ressource a été trouvée. "
|
|
msgstr[1] ""
|
|
"watch n'est compatible qu'avec les ressources individuelles et les "
|
|
"collections de ressources. - %d ressources ont été trouvées. "
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/masterpkg/kubectl/cmd/apply.go#L98
|
|
msgctxt "Apply a configuration to a resource by filename or stdin"
|
|
msgid "Apply a configuration to a resource by filename or stdin"
|
|
msgstr ""
|
|
"Appliquer une configuration à une ressource par nom de fichier ou depuis "
|
|
"stdin"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L39
|
|
msgctxt "Modify kubeconfig files"
|
|
msgid "Modify kubeconfig files"
|
|
msgstr "Modifier des fichiers kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_authinfo.go#L103
|
|
msgctxt "Sets a user entry in kubeconfig"
|
|
msgid "Sets a user entry in kubeconfig"
|
|
msgstr "Définit un utilisateur dans kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_cluster.go#L67
|
|
msgctxt "Sets a cluster entry in kubeconfig"
|
|
msgid "Sets a cluster entry in kubeconfig"
|
|
msgstr "Définit un cluster dans kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_context.go#L57
|
|
msgctxt "Sets a context entry in kubeconfig"
|
|
msgid "Sets a context entry in kubeconfig"
|
|
msgstr "Définit un contexte dans kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/current_context.go#L48
|
|
msgctxt "Displays the current-context"
|
|
msgid "Displays the current-context"
|
|
msgstr "Affiche le contexte actuel"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_cluster.go#L38
|
|
msgctxt "Delete the specified cluster from the kubeconfig"
|
|
msgid "Delete the specified cluster from the kubeconfig"
|
|
msgstr "Supprimer le cluster spécifié du kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_context.go#L38
|
|
msgctxt "Delete the specified context from the kubeconfig"
|
|
msgid "Delete the specified context from the kubeconfig"
|
|
msgstr "Supprimer le contexte spécifié du kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_clusters.go#L40
|
|
msgctxt "Display clusters defined in the kubeconfig"
|
|
msgid "Display clusters defined in the kubeconfig"
|
|
msgstr "Afficher les cluster définis dans kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_contexts.go#L62
|
|
msgctxt "Describe one or many contexts"
|
|
msgid "Describe one or many contexts"
|
|
msgstr "Décrire un ou plusieurs contextes"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/set.go#L59
|
|
msgctxt "Sets an individual value in a kubeconfig file"
|
|
msgid "Sets an individual value in a kubeconfig file"
|
|
msgstr "Définit une valeur individuelle dans un fichier kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/unset.go#L47
|
|
msgctxt "Unsets an individual value in a kubeconfig file"
|
|
msgid "Unsets an individual value in a kubeconfig file"
|
|
msgstr "Supprime une valeur individuelle dans un fichier kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/use_context.go#L48
|
|
msgctxt "Sets the current-context in a kubeconfig file"
|
|
msgid "Sets the current-context in a kubeconfig file"
|
|
msgstr "Définit le contexte courant dans un fichier kubeconfig"
|
|
|
|
# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/view.go#L64
|
|
msgctxt "Display merged kubeconfig settings or a specified kubeconfig file"
|
|
msgid "Display merged kubeconfig settings or a specified kubeconfig file"
|
|
msgstr ""
|
|
"Afficher les paramètres fusionnés de kubeconfig ou d'un fichier kubeconfig "
|
|
"spécifié"
|
|
`)
|
|
|
|
func translationsKubectlFr_frLc_messagesK8sPoBytes() ([]byte, error) {
|
|
return _translationsKubectlFr_frLc_messagesK8sPo, nil
|
|
}
|
|
|
|
func translationsKubectlFr_frLc_messagesK8sPo() (*asset, error) {
|
|
bytes, err := translationsKubectlFr_frLc_messagesK8sPoBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/kubectl/fr_FR/LC_MESSAGES/k8s.po", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsTestDefaultLc_messagesK8sMo = []byte("\xde\x12\x04\x95\x00\x00\x00\x00\x03\x00\x00\x00\x1c\x00\x00\x004\x00\x00\x00\x05\x00\x00\x00L\x00\x00\x00\x00\x00\x00\x00`\x00\x00\x00#\x00\x00\x00a\x00\x00\x00\x17\x00\x00\x00\x85\x00\x00\x00\xac\x01\x00\x00\x9d\x00\x00\x00%\x00\x00\x00J\x02\x00\x00\x03\x00\x00\x00p\x02\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00test_plural\x04test_plural\x00test_plural\x00test_string\x04test_string\x00Project-Id-Version: gettext-go-examples-hello\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2013-12-12 20:03+0000\nPO-Revision-Date: 2016-12-13 21:35-0800\nLast-Translator: Brendan Burns <brendan.d.burns@gmail.com>\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nX-Generator: Poedit 1.6.10\nX-Poedit-SourceCharset: UTF-8\nLanguage-Team: \nPlural-Forms: nplurals=2; plural=(n != 1);\nLanguage: en\n\x00there was %d item\x00there were %d items\x00foo\x00")
|
|
|
|
func translationsTestDefaultLc_messagesK8sMoBytes() ([]byte, error) {
|
|
return _translationsTestDefaultLc_messagesK8sMo, nil
|
|
}
|
|
|
|
func translationsTestDefaultLc_messagesK8sMo() (*asset, error) {
|
|
bytes, err := translationsTestDefaultLc_messagesK8sMoBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/test/default/LC_MESSAGES/k8s.mo", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsTestDefaultLc_messagesK8sPo = []byte(`# Test translations for unit tests.
|
|
# Copyright (C) 2016
|
|
# This file is distributed under the same license as the PACKAGE package.
|
|
# FIRST AUTHOR brendan.d.burns@gmail.com, 2016.
|
|
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: gettext-go-examples-hello\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2013-12-12 20:03+0000\n"
|
|
"PO-Revision-Date: 2016-12-13 21:35-0800\n"
|
|
"Last-Translator: Brendan Burns <brendan.d.burns@gmail.com>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"X-Generator: Poedit 1.6.10\n"
|
|
"X-Poedit-SourceCharset: UTF-8\n"
|
|
"Language-Team: \n"
|
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
"Language: en\n"
|
|
|
|
msgctxt "test_string"
|
|
msgid "test_string"
|
|
msgstr "foo"
|
|
|
|
msgctxt "test_plural"
|
|
msgid "test_plural"
|
|
msgid_plural "test_plural"
|
|
msgstr[0] "there was %d item"
|
|
msgstr[1] "there were %d items"
|
|
`)
|
|
|
|
func translationsTestDefaultLc_messagesK8sPoBytes() ([]byte, error) {
|
|
return _translationsTestDefaultLc_messagesK8sPo, nil
|
|
}
|
|
|
|
func translationsTestDefaultLc_messagesK8sPo() (*asset, error) {
|
|
bytes, err := translationsTestDefaultLc_messagesK8sPoBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/test/default/LC_MESSAGES/k8s.po", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsTestEn_usLc_messagesK8sMo = []byte("\xde\x12\x04\x95\x00\x00\x00\x00\x03\x00\x00\x00\x1c\x00\x00\x004\x00\x00\x00\x05\x00\x00\x00L\x00\x00\x00\x00\x00\x00\x00`\x00\x00\x00#\x00\x00\x00a\x00\x00\x00\x17\x00\x00\x00\x85\x00\x00\x00\xac\x01\x00\x00\x9d\x00\x00\x00%\x00\x00\x00J\x02\x00\x00\x03\x00\x00\x00p\x02\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00test_plural\x04test_plural\x00test_plural\x00test_string\x04test_string\x00Project-Id-Version: gettext-go-examples-hello\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2013-12-12 20:03+0000\nPO-Revision-Date: 2016-12-13 22:12-0800\nLast-Translator: Brendan Burns <brendan.d.burns@gmail.com>\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nX-Generator: Poedit 1.6.10\nX-Poedit-SourceCharset: UTF-8\nLanguage-Team: \nPlural-Forms: nplurals=2; plural=(n != 1);\nLanguage: en\n\x00there was %d item\x00there were %d items\x00baz\x00")
|
|
|
|
func translationsTestEn_usLc_messagesK8sMoBytes() ([]byte, error) {
|
|
return _translationsTestEn_usLc_messagesK8sMo, nil
|
|
}
|
|
|
|
func translationsTestEn_usLc_messagesK8sMo() (*asset, error) {
|
|
bytes, err := translationsTestEn_usLc_messagesK8sMoBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/test/en_US/LC_MESSAGES/k8s.mo", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _translationsTestEn_usLc_messagesK8sPo = []byte(`# Test translations for unit tests.
|
|
# Copyright (C) 2016
|
|
# This file is distributed under the same license as the PACKAGE package.
|
|
# FIRST AUTHOR brendan.d.burns@gmail.com, 2016.
|
|
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: gettext-go-examples-hello\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2013-12-12 20:03+0000\n"
|
|
"PO-Revision-Date: 2016-12-13 22:12-0800\n"
|
|
"Last-Translator: Brendan Burns <brendan.d.burns@gmail.com>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"X-Generator: Poedit 1.6.10\n"
|
|
"X-Poedit-SourceCharset: UTF-8\n"
|
|
"Language-Team: \n"
|
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
"Language: en\n"
|
|
|
|
msgctxt "test_string"
|
|
msgid "test_string"
|
|
msgstr "baz"
|
|
|
|
msgctxt "test_plural"
|
|
msgid "test_plural"
|
|
msgid_plural "test_plural"
|
|
msgstr[0] "there was %d item"
|
|
msgstr[1] "there were %d items"
|
|
`)
|
|
|
|
func translationsTestEn_usLc_messagesK8sPoBytes() ([]byte, error) {
|
|
return _translationsTestEn_usLc_messagesK8sPo, nil
|
|
}
|
|
|
|
func translationsTestEn_usLc_messagesK8sPo() (*asset, error) {
|
|
bytes, err := translationsTestEn_usLc_messagesK8sPoBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "translations/test/en_US/LC_MESSAGES/k8s.po", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
// Asset loads and returns the asset for the given name.
|
|
// It returns an error if the asset could not be found or
|
|
// could not be loaded.
|
|
func Asset(name string) ([]byte, error) {
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
if f, ok := _bindata[cannonicalName]; ok {
|
|
a, err := f()
|
|
if err != nil {
|
|
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
|
|
}
|
|
return a.bytes, nil
|
|
}
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
}
|
|
|
|
// MustAsset is like Asset but panics when Asset would return an error.
|
|
// It simplifies safe initialization of global variables.
|
|
func MustAsset(name string) []byte {
|
|
a, err := Asset(name)
|
|
if err != nil {
|
|
panic("asset: Asset(" + name + "): " + err.Error())
|
|
}
|
|
|
|
return a
|
|
}
|
|
|
|
// AssetInfo loads and returns the asset info for the given name.
|
|
// It returns an error if the asset could not be found or
|
|
// could not be loaded.
|
|
func AssetInfo(name string) (os.FileInfo, error) {
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
if f, ok := _bindata[cannonicalName]; ok {
|
|
a, err := f()
|
|
if err != nil {
|
|
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
|
|
}
|
|
return a.info, nil
|
|
}
|
|
return nil, fmt.Errorf("AssetInfo %s not found", name)
|
|
}
|
|
|
|
// AssetNames returns the names of the assets.
|
|
func AssetNames() []string {
|
|
names := make([]string, 0, len(_bindata))
|
|
for name := range _bindata {
|
|
names = append(names, name)
|
|
}
|
|
return names
|
|
}
|
|
|
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
|
var _bindata = map[string]func() (*asset, error){
|
|
"translations/extract.py": translationsExtractPy,
|
|
"translations/kubectl/OWNERS": translationsKubectlOwners,
|
|
"translations/kubectl/default/LC_MESSAGES/k8s.mo": translationsKubectlDefaultLc_messagesK8sMo,
|
|
"translations/kubectl/default/LC_MESSAGES/k8s.po": translationsKubectlDefaultLc_messagesK8sPo,
|
|
"translations/kubectl/en_US/LC_MESSAGES/k8s.mo": translationsKubectlEn_usLc_messagesK8sMo,
|
|
"translations/kubectl/en_US/LC_MESSAGES/k8s.po": translationsKubectlEn_usLc_messagesK8sPo,
|
|
"translations/kubectl/fr_FR/LC_MESSAGES/k8s.mo": translationsKubectlFr_frLc_messagesK8sMo,
|
|
"translations/kubectl/fr_FR/LC_MESSAGES/k8s.po": translationsKubectlFr_frLc_messagesK8sPo,
|
|
"translations/test/default/LC_MESSAGES/k8s.mo": translationsTestDefaultLc_messagesK8sMo,
|
|
"translations/test/default/LC_MESSAGES/k8s.po": translationsTestDefaultLc_messagesK8sPo,
|
|
"translations/test/en_US/LC_MESSAGES/k8s.mo": translationsTestEn_usLc_messagesK8sMo,
|
|
"translations/test/en_US/LC_MESSAGES/k8s.po": translationsTestEn_usLc_messagesK8sPo,
|
|
}
|
|
|
|
// AssetDir returns the file names below a certain
|
|
// directory embedded in the file by go-bindata.
|
|
// For example if you run go-bindata on data/... and data contains the
|
|
// following hierarchy:
|
|
// data/
|
|
// foo.txt
|
|
// img/
|
|
// a.png
|
|
// b.png
|
|
// then AssetDir("data") would return []string{"foo.txt", "img"}
|
|
// AssetDir("data/img") would return []string{"a.png", "b.png"}
|
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
|
|
// AssetDir("") will return []string{"data"}.
|
|
func AssetDir(name string) ([]string, error) {
|
|
node := _bintree
|
|
if len(name) != 0 {
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
pathList := strings.Split(cannonicalName, "/")
|
|
for _, p := range pathList {
|
|
node = node.Children[p]
|
|
if node == nil {
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
}
|
|
}
|
|
}
|
|
if node.Func != nil {
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
}
|
|
rv := make([]string, 0, len(node.Children))
|
|
for childName := range node.Children {
|
|
rv = append(rv, childName)
|
|
}
|
|
return rv, nil
|
|
}
|
|
|
|
type bintree struct {
|
|
Func func() (*asset, error)
|
|
Children map[string]*bintree
|
|
}
|
|
|
|
var _bintree = &bintree{nil, map[string]*bintree{
|
|
"translations": {nil, map[string]*bintree{
|
|
"extract.py": {translationsExtractPy, map[string]*bintree{}},
|
|
"kubectl": {nil, map[string]*bintree{
|
|
"OWNERS": {translationsKubectlOwners, map[string]*bintree{}},
|
|
"default": {nil, map[string]*bintree{
|
|
"LC_MESSAGES": {nil, map[string]*bintree{
|
|
"k8s.mo": {translationsKubectlDefaultLc_messagesK8sMo, map[string]*bintree{}},
|
|
"k8s.po": {translationsKubectlDefaultLc_messagesK8sPo, map[string]*bintree{}},
|
|
}},
|
|
}},
|
|
"en_US": {nil, map[string]*bintree{
|
|
"LC_MESSAGES": {nil, map[string]*bintree{
|
|
"k8s.mo": {translationsKubectlEn_usLc_messagesK8sMo, map[string]*bintree{}},
|
|
"k8s.po": {translationsKubectlEn_usLc_messagesK8sPo, map[string]*bintree{}},
|
|
}},
|
|
}},
|
|
"fr_FR": {nil, map[string]*bintree{
|
|
"LC_MESSAGES": {nil, map[string]*bintree{
|
|
"k8s.mo": {translationsKubectlFr_frLc_messagesK8sMo, map[string]*bintree{}},
|
|
"k8s.po": {translationsKubectlFr_frLc_messagesK8sPo, map[string]*bintree{}},
|
|
}},
|
|
}},
|
|
}},
|
|
"test": {nil, map[string]*bintree{
|
|
"default": {nil, map[string]*bintree{
|
|
"LC_MESSAGES": {nil, map[string]*bintree{
|
|
"k8s.mo": {translationsTestDefaultLc_messagesK8sMo, map[string]*bintree{}},
|
|
"k8s.po": {translationsTestDefaultLc_messagesK8sPo, map[string]*bintree{}},
|
|
}},
|
|
}},
|
|
"en_US": {nil, map[string]*bintree{
|
|
"LC_MESSAGES": {nil, map[string]*bintree{
|
|
"k8s.mo": {translationsTestEn_usLc_messagesK8sMo, map[string]*bintree{}},
|
|
"k8s.po": {translationsTestEn_usLc_messagesK8sPo, map[string]*bintree{}},
|
|
}},
|
|
}},
|
|
}},
|
|
}},
|
|
}}
|
|
|
|
// RestoreAsset restores an asset under the given directory
|
|
func RestoreAsset(dir, name string) error {
|
|
data, err := Asset(name)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
info, err := AssetInfo(name)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
|
|
if err != nil {
|
|
return err
|
|
}
|
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
|
if err != nil {
|
|
return err
|
|
}
|
|
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
|
|
if err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// RestoreAssets restores an asset under the given directory recursively
|
|
func RestoreAssets(dir, name string) error {
|
|
children, err := AssetDir(name)
|
|
// File
|
|
if err != nil {
|
|
return RestoreAsset(dir, name)
|
|
}
|
|
// Dir
|
|
for _, child := range children {
|
|
err = RestoreAssets(dir, filepath.Join(name, child))
|
|
if err != nil {
|
|
return err
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func _filePath(dir, name string) string {
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
|
|
}
|