summaryrefslogtreecommitdiffci
path: root/locale
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/localization.en.yaml5
-rw-r--r--locale/localization.go9
-rw-r--r--locale/localization.ru.yaml3
3 files changed, 4 insertions, 13 deletions
diff --git a/locale/localization.en.yaml b/locale/localization.en.yaml
index 8981c49..ce334d9 100644
--- a/locale/localization.en.yaml
+++ b/locale/localization.en.yaml
@@ -26,7 +26,6 @@ Metadata:
Published: 'Published'
Action: 'Took place on'
Mail:
- UnsubscribeFooter: 'If this letter got you in a bad mood, you can unsubscribe from my blog by this link.'
VerifyEmail:
Subject: 'Verification Link for SAYA.TODAY is waiting for you!'
Welcome: 'Greetings!'
@@ -35,9 +34,7 @@ Mail:
InputCode: "Or input this code on the personal page:"
IfRandom: 'If you are unsure what this letter this, you can ignore it, and also, if you are interested, you may visit my site :)'
NewPost:
- Subject: 'A new post arrived at SAYA.TODAY!'
- Intro: 'A new post came!'
- CapturedOn: 'Captured on'
+ Subject: 'New post arrived at SAYA.TODAY!'
UserProfile:
Header: 'Personal Settings'
EmailHeader: 'E-Mail'
diff --git a/locale/localization.go b/locale/localization.go
index b3a1613..1028c9e 100644
--- a/locale/localization.go
+++ b/locale/localization.go
@@ -52,9 +52,8 @@ type MetadataConfig struct {
}
type MailConfig struct {
- UnsubscribeFooter string `yaml:"UnsubscribeFooter" json:"UnsubscribeFooter"`
- VerifyEmail VerifyEmailConfig `yaml:"VerifyEmail" json:"VerifyEmail"`
- NewPost NewPostConfig `yaml:"NewPost" json:"NewPost"`
+ VerifyEmail VerifyEmailConfig `yaml:"VerifyEmail" json:"VerifyEmail"`
+ NewPost NewPostConfig `yaml:"NewPost" json:"NewPost"`
}
type VerifyEmailConfig struct {
@@ -67,9 +66,7 @@ type VerifyEmailConfig struct {
}
type NewPostConfig struct {
- Subject string `yaml:"Subject" json:"Subject"`
- CapturedOn string `yaml:"CapturedOn" json:"CapturedOn"`
- Intro string `yaml:"Intro" json:"Intro"`
+ Subject string `yaml:"Subject" json:"Subject"`
}
type UserProfileConfig struct {
diff --git a/locale/localization.ru.yaml b/locale/localization.ru.yaml
index c09ad16..8894e22 100644
--- a/locale/localization.ru.yaml
+++ b/locale/localization.ru.yaml
@@ -26,7 +26,6 @@ Metadata:
Published: 'Опубликовано'
Action: 'Время действия'
Mail:
- UnsubscribeFooter: 'Если данное письмо пришло вам случайно, либо вы хотите отписаться, можете перейти по этой ссылке.'
VerifyEmail:
Subject: 'Ссылка для верификации для подтверждения вашей почты SAYA.TODAY'
Welcome: 'Приветствую!'
@@ -36,8 +35,6 @@ Mail:
IfRandom: 'Если ты не понимаешь, что это за спам, можешь проигнорировать это письмо, а ещё, если интересно, можешь посетить мой сайт :)'
NewPost:
Subject: 'Новый пост на SAYA.TODAY!'
- Intro: 'Вышел новый пост!'
- CapturedOn: 'Снималось'
UserProfile:
Header: 'Личные настройки'
EmailHeader: 'E-Mail'