瀏覽代碼

Alves: Adds init for headstart and language files.

Jeffrey Pearce 5 年之前
父節點
當前提交
36c5162c5a
共有 2 個文件被更改,包括 310 次插入0 次删除
  1. 170 0
      alves/inc/headstart/en.json
  2. 140 0
      alves/languages/alves.pot

+ 170 - 0
alves/inc/headstart/en.json

@@ -0,0 +1,170 @@
+{
+    "settings": {
+        "options": {
+            "show_on_front": "page",
+            "featured-content": false
+        },
+        "theme_mods": {
+            "0": false,
+            "nav_menu_locations": {
+                "primary": "primary",
+                "social": "social-media"
+            },
+            "custom_css_post_id": -1,
+            "hide_front_page_title": true
+        },
+        "headstart": {
+            "mapped_id_options": [],
+            "mapped_id_theme_mods": [],
+            "keep_submenu_items": true
+        }
+    },
+    "widgets": [
+        {
+            "id": "search-2",
+            "id_base": "search",
+            "settings": {
+                "title": "Search"
+            },
+            "sidebar": "sidebar-1",
+            "position": 0
+        },
+        {
+            "id": "text-2",
+            "id_base": "text",
+            "settings": {
+                "title": "Text Widget",
+                "text": "This is a text widget, which allows you to add text or HTML to your sidebar. You can use them to display text, links, images, HTML, or a combination of these. Edit them in the Widget section of the <a href=\"https:\/\/wordpress.com\/customize\/\">Customizer<\/a>."
+            },
+            "sidebar": "sidebar-1",
+            "position": 1
+        }
+    ],
+    "content": [
+        {
+            "post_title": "About",
+            "post_content": "This is an example of an about page. Unlike posts, pages are better suited for more timeless content that you want to be easily accessible, like your About or Contact information. Click the Edit link to make changes to this page or <a href=\"https:\/\/wordpress.com\/page\">add another page<\/a>.",
+            "post_status": "publish",
+            "menu_order": 2,
+            "comment_status": "closed",
+            "ping_status": "closed",
+            "post_type": "page",
+            "hs_custom_meta": "_hs_about_page",
+            "hs_sharing": 1,
+            "hs_like_status": 1,
+            "attachment_url": "https:\/\/headstartdata.files.wordpress.com\/2016\/06\/stairs-lights-abstract-bubbles1.jpg",
+            "hs_old_id": 100
+        },
+        {
+            "post_title": "Contact",
+            "post_content": "This is a contact page with some basic contact information and a contact form. [contact-form][contact-field label=\"Name\" type=\"name\" required=\"1\"\/][contact-field label=\"Email\" type=\"email\" required=\"1\"\/][contact-field label=\"Website\" type=\"url\"\/][contact-field label=\"Comment\" type=\"textarea\" required=\"1\"\/][\/contact-form]",
+            "post_status": "publish",
+            "menu_order": 3,
+            "comment_status": "closed",
+            "ping_status": "closed",
+            "post_type": "page",
+            "hs_custom_meta": "_hs_contact_page",
+            "hs_sharing": 1,
+            "hs_like_status": 1,
+            "attachment_url": "https:\/\/headstartdata.files.wordpress.com\/2016\/06\/person-smartphone-office-table.jpeg",
+            "hs_old_id": 101
+        },
+        {
+            "post_title": "First blog post",
+            "post_content": "This is your very first post. Click the Edit link to modify or delete it, or <a href=\"https:\/\/wordpress.com\/post\">start a new post<\/a>. If you like, use this post to tell readers why you started this blog and what you plan to do with it.",
+            "post_excerpt": "This is the excerpt for your very first post.",
+            "post_status": "publish",
+            "comment_status": "open",
+            "ping_status": "open",
+            "post_type": "post",
+            "hs_custom_meta": "_hs_first_post",
+            "hs_sharing": 1,
+            "hs_like_status": 1,
+            "attachment_url": "https:\/\/headstartdata.files.wordpress.com\/2016\/06\/pexels-photo-30732.jpg",
+            "hs_old_id": 102
+        },
+        {
+            "post_title": "Home",
+            "post_content": "Welcome to your new site!  You can edit this page by clicking on the Edit link.  For more information about customizing your site check out <a href=\"http:\/\/learn.wordpress.com\/\">http:\/\/learn.wordpress.com\/<\/a>",
+            "post_status": "publish",
+            "menu_order": 1,
+            "comment_status": "closed",
+            "ping_status": "closed",
+            "post_type": "page",
+            "hs_custom_meta": "_hs_front_page",
+            "hs_sharing": 1,
+            "hs_like_status": 1,
+            "attachment_url": "https:\/\/headstartdata.files.wordpress.com\/2016\/06\/skyline-buildings-new-york-skyscrapers.jpg",
+            "page_template": "default",
+            "hs_old_id": 103
+        },
+        {
+            "post_title": "Blog",
+            "post_content": "This is the page where users will find your site's blog",
+            "post_status": "publish",
+            "menu_order": 4,
+            "comment_status": "closed",
+            "ping_status": "closed",
+            "post_type": "page",
+            "hs_custom_meta": "_hs_blog_page",
+            "hs_sharing": 1,
+            "hs_like_status": 1,
+            "hs_old_id": 104
+        }
+    ],
+    "menus": {
+        "social-media": {
+            "name": "Social Media",
+            "items": [
+                {
+                    "menu-item-title": "Facebook",
+                    "menu-item-db-id": 175,
+                    "menu-item-object-id": "175",
+                    "menu-item-object": "custom",
+                    "menu-item-type": "custom",
+                    "menu-item-status": "publish",
+                    "menu-item-position": 0,
+                    "menu-item-parent-id": "0",
+                    "menu-item-description": "",
+                    "menu-item-url": "http:\/\/www.facebook.com"
+                },
+                {
+                    "menu-item-title": "LinkedIn",
+                    "menu-item-db-id": 176,
+                    "menu-item-object-id": "176",
+                    "menu-item-object": "custom",
+                    "menu-item-type": "custom",
+                    "menu-item-status": "publish",
+                    "menu-item-position": 1,
+                    "menu-item-parent-id": "0",
+                    "menu-item-description": "",
+                    "menu-item-url": "http:\/\/www.linkedin.com"
+                },
+                {
+                    "menu-item-title": "Twitter",
+                    "menu-item-db-id": 177,
+                    "menu-item-object-id": "177",
+                    "menu-item-object": "custom",
+                    "menu-item-type": "custom",
+                    "menu-item-status": "publish",
+                    "menu-item-position": 2,
+                    "menu-item-parent-id": "0",
+                    "menu-item-description": "",
+                    "menu-item-url": "http:\/\/www.twitter.com"
+                },
+                {
+                    "menu-item-title": "Instagram",
+                    "menu-item-db-id": 178,
+                    "menu-item-object-id": "178",
+                    "menu-item-object": "custom",
+                    "menu-item-type": "custom",
+                    "menu-item-status": "publish",
+                    "menu-item-position": 3,
+                    "menu-item-parent-id": "0",
+                    "menu-item-description": "",
+                    "menu-item-url": "http:\/\/www.instagram.com"
+                }
+            ]
+        }
+    }
+}

+ 140 - 0
alves/languages/alves.pot

@@ -0,0 +1,140 @@
+# Copyright (C) 2019 Automattic
+# This file is distributed under the GNU General Public License v2 or later.
+msgid ""
+msgstr ""
+"Project-Id-Version: Alves 1.1.0\n"
+"Report-Msgid-Bugs-To: http://wordpress.org/support/theme/alves\n"
+"POT-Creation-Date: 2019-08-27 13:10:39+00:00\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+
+#: footer.php:29
+msgid "Footer Menu"
+msgstr ""
+
+#: footer.php:47
+msgid "https://wordpress.org/"
+msgstr ""
+
+#. translators: %s: WordPress.
+#: footer.php:50
+msgid "proudly powered by %s."
+msgstr ""
+
+#: functions.php:30
+msgid "Small"
+msgstr ""
+
+#: functions.php:31
+msgid "S"
+msgstr ""
+
+#: functions.php:36
+msgid "Normal"
+msgstr ""
+
+#: functions.php:37
+msgid "M"
+msgstr ""
+
+#: functions.php:42
+msgid "Large"
+msgstr ""
+
+#: functions.php:43
+msgid "L"
+msgstr ""
+
+#: functions.php:48
+msgid "Huge"
+msgstr ""
+
+#: functions.php:49
+msgid "XL"
+msgstr ""
+
+#: functions.php:61
+msgid "Primary"
+msgstr ""
+
+#: functions.php:66
+msgid "Secondary"
+msgstr ""
+
+#: functions.php:71
+msgid "Dark Gray"
+msgstr ""
+
+#: functions.php:76
+msgid "Gray"
+msgstr ""
+
+#: functions.php:81
+msgid "Light Gray"
+msgstr ""
+
+#: functions.php:86
+msgid "White"
+msgstr ""
+
+#: functions.php:105 template-parts/footer/footer-widgets.php:29
+msgid "Footer 2"
+msgstr ""
+
+#: functions.php:107 functions.php:119
+msgid "Add widgets here to appear in your footer."
+msgstr ""
+
+#: functions.php:117 template-parts/footer/footer-widgets.php:41
+msgid "Footer 3"
+msgstr ""
+
+#. Translators: If there are characters in your language that are not supported
+#. by Lora, translate this to 'off'. Do not translate into your own language.
+#: functions.php:152
+msgctxt "Lora font: on or off"
+msgid "on"
+msgstr ""
+
+#. Translators: If there are characters in your language that are not supported
+#. by Karla, translate this to 'off'. Do not translate into your own language.
+#: functions.php:158
+msgctxt "Karla font: on or off"
+msgid "on"
+msgstr ""
+
+#: template-parts/footer/footer-widgets.php:17
+msgid "Footer 1"
+msgstr ""
+
+#. Theme Name of the plugin/theme
+#: wp-content/themes/pub/alves/style.css
+msgid "Alves"
+msgstr ""
+
+#. Theme URI of the plugin/theme
+#: wp-content/themes/pub/alves/style.css
+msgid "https://github.com/Automattic/themes/varia"
+msgstr ""
+
+#. Description of the plugin/theme
+#: wp-content/themes/pub/alves/style.css
+msgid ""
+"Convincing design for your charity or organization’s online presence. "
+"Highlight your actions, causes and projects, Alves is versatile enough to be "
+"your personal site too."
+msgstr ""
+
+#. Author of the plugin/theme
+#: wp-content/themes/pub/alves/style.css
+msgid "Automattic"
+msgstr ""
+
+#. Author URI of the plugin/theme
+#: wp-content/themes/pub/alves/style.css
+msgid "https://automattic.com/"
+msgstr ""