Skip to content

Commit

Permalink
chore: removed log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerex committed Jul 5, 2024
1 parent 8ac62ea commit e32be4a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions i18n4go/cmds/create_translations.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ func (ct *createTranslations) googleTranslate(translateString string, language s
escapedTranslateString := url.QueryEscape(translateString)
googleTranslateUrl := "https://www.googleapis.com/language/translate/v2?key=" + ct.options.GoogleTranslateApiKeyFlag + "&target=" + language + "&q=" + escapedTranslateString

// REMOVEME: Do not commit
fmt.Printf("\ngoogleTranslateUrl: %s\n", googleTranslateUrl)
response, err := http.Get(googleTranslateUrl)
if err != nil {
ct.Println(i18n.T("i18n4go: ERROR invoking Google Translate: "), googleTranslateUrl)
Expand Down
4 changes: 0 additions & 4 deletions i18n4go/i18n/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ func initWithUserLocale(packageName, i18nDirname string, assetFn AssetFunc) (str
func mustLoadDefaultLocale(packageName, i18nDirname string, assetFn AssetFunc) string {
userLocale := DEFAULT_LOCALE

// REMOVEME: Do not commit
fmt.Printf("\npackageName: %s\n", packageName)
// REMOVEME: Do not commit
fmt.Printf("\ni18nDirname: %s\n", i18nDirname)
err := loadFromAsset(packageName, i18nDirname, DEFAULT_LOCALE, DEFAULT_LANGUAGE, assetFn)
if err != nil {
panic("Could not load en_US language files. God save the queen. " + err.Error())
Expand Down

0 comments on commit e32be4a

Please sign in to comment.