diff --git a/pkg/generated/bindata.go b/pkg/generated/bindata.go index a0d7148d4b1..dd6cc787706 100644 --- a/pkg/generated/bindata.go +++ b/pkg/generated/bindata.go @@ -53,7 +53,22 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _translationsExtractPy = []byte(`#!/usr/bin/python +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. @@ -128,7 +143,7 @@ def replace(filename, matchers): 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('# 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))