Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F10433253
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/l10n/phrases.go b/l10n/phrases.go
new file mode 100644
index 0000000..5a52bd6
--- /dev/null
+++ b/l10n/phrases.go
@@ -0,0 +1,33 @@
+package l10n
+
+// Term constants
+const (
+ DefReadMore = "Read more..."
+ DefPublishedWith = "published with write.as"
+ DefOlder = "Older"
+ DefNewer = "Newer"
+)
+
+// Default phrases
+var phrases = map[string]string{
+ "Anonymous post": "Anonymous post",
+ "Blogs": "Blogs",
+ "Newer": "Newer",
+ "Older": "Older",
+ "Posts": "Posts",
+ "Publish to...": "Publish to...",
+ "Publish": "Publish",
+ "Read more...": "Read more...",
+ "Toggle theme": "Toggle theme",
+ "View posts": "View Posts",
+ "delete": "delete",
+ "edit": "edit",
+ "move to...": "move to...",
+ "pin": "pin",
+ "published with write.as": "published with write.as",
+ "share modal ending": "Send it to a friend, share it across the web, or maybe tweet it. Learn more.",
+ "share modal introduction": "Each published post has a secret, unique URL you can share with anyone. This is that URL:",
+ "share modal title": "Share this post",
+ "share": "share",
+ "unpin": "unpin",
+}
diff --git a/l10n/strings.go b/l10n/strings.go
new file mode 100644
index 0000000..7cbb528
--- /dev/null
+++ b/l10n/strings.go
@@ -0,0 +1,8 @@
+package l10n
+
+func Strings(lang string) map[string]string {
+ switch lang {
+ default:
+ return phrases
+ }
+}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Jan 20, 2:14 AM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3137512
Attached To
rWC Write.as Web Core
Event Timeline
Log In to Comment