package server func init() { for lang, entries := range map[string]map[string]string{ "en": { "contact.title": "Contact details", "contact.phone": "Phone number", "contact.help": "Private by default, independently of your profile. A tap opens the phone app. Leave blank to remove. Use 3–15 digits with an optional leading +, spaces, hyphens or parentheses; extensions and service codes are not supported.", "contact.visibility_help": "The profile audience remains the upper limit. Anonymous access also requires the domain to permit public profiles. Administrators do not automatically see private numbers.", "contact.confirm": "I explicitly agree to make this phone number public.", "contact.invalid_phone": "Enter a phone number with 3–15 digits and optional leading +; only spaces, hyphens and parentheses may separate digits.", }, "ja": { "contact.title": "連絡先", "contact.phone": "電話番号", "contact.help": "プロフィールとは別に、既定で非公開です。タップすると電話アプリを開きます。空欄で削除。3〜15桁の数字と先頭の+、空白・ハイフン・括弧を使用できます。内線やサービスコードは未対応です。", "contact.visibility_help": "プロフィールの公開範囲を上限とします。匿名公開にはドメイン側の許可も必要です。管理者でも非公開の番号は表示されません。", "contact.confirm": "この電話番号をインターネットに公開することに同意します。", "contact.invalid_phone": "電話番号は3〜15桁の数字と先頭の+で指定してください。区切りには空白・ハイフン・括弧のみ使用できます。", }, } { for key, value := range entries { translations[lang][key] = value } } }