From 0135904f7d3e1c0e763adaefe267c736616e3d26 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Wed, 16 Nov 2016 19:28:52 -0500 Subject: Upgrading server dependancies (#4566) --- vendor/github.com/nicksnyder/go-i18n/goi18n/doc.go | 38 ++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) (limited to 'vendor/github.com/nicksnyder/go-i18n/goi18n/doc.go') diff --git a/vendor/github.com/nicksnyder/go-i18n/goi18n/doc.go b/vendor/github.com/nicksnyder/go-i18n/goi18n/doc.go index 10d244217..97c7a7fb6 100644 --- a/vendor/github.com/nicksnyder/go-i18n/goi18n/doc.go +++ b/vendor/github.com/nicksnyder/go-i18n/goi18n/doc.go @@ -5,11 +5,22 @@ // // Help documentation: // -// goi18n formats and merges translation files. +// goi18n manages translation files. // // Usage: // -// goi18n [options] [files...] +// goi18n merge Merge translation files +// goi18n constants Generate constant file from translation file +// +// For more details execute: +// +// goi18n [command] -help +// +// Merge translation files. +// +// Usage: +// +// goi18n merge [options] [files...] // // Translation files: // @@ -56,4 +67,27 @@ // Supported formats: json, yaml // Default: json // +// Generate constant file from translation file. +// +// Usage: +// +// goi18n constants [options] [file] +// +// Translation files: +// +// A translation file contains the strings and translations for a single language. +// +// Translation file names must have a suffix of a supported format (e.g. .json) and +// contain a valid language tag as defined by RFC 5646 (e.g. en-us, fr, zh-hant, etc.). +// +// Options: +// +// -package name +// goi18n generates the constant file under the package name. +// Default: R +// +// -outdir directory +// goi18n writes the constant file to this directory. +// Default: . +// package main -- cgit v1.2.3-1-g7c22