This commit is contained in:
root 2020-05-06 15:22:02 +00:00
parent af9769ebc3
commit 355112a6a7
392 changed files with 132992 additions and 117055 deletions

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Plugins - Akismet Anti-Spam - Stable (latest release) package. # This file is distributed under the same license as the Plugins - Akismet Anti-Spam - Stable (latest release) package.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2020-01-26 16:14:01+0000\n" "PO-Revision-Date: 2020-03-25 06:06:52+0000\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -11,6 +11,26 @@ msgstr ""
"Language: sv_SE\n" "Language: sv_SE\n"
"Project-Id-Version: Plugins - Akismet Anti-Spam - Stable (latest release)\n" "Project-Id-Version: Plugins - Akismet Anti-Spam - Stable (latest release)\n"
#: class.akismet-admin.php:682
msgid "No comment history."
msgstr "Ingen kommentarhistorik."
#: class.akismet-admin.php:650
msgid "Akismet was unable to recheck this comment."
msgstr "Akismet kunde inte kontrollera denna kommentar igen."
#: class.akismet-admin.php:642
msgid "Akismet was unable to check this comment but will automatically retry later."
msgstr "Akismet kunde inte kontrollera den här kommentaren men kommer automatiskt att försöka igen senare."
#: class.akismet-admin.php:613
msgid "Comment was caught by %s."
msgstr "Kommentaren stoppades av %s."
#: class.akismet.php:552
msgid "Akismet is not configured. Please enter an API key."
msgstr "Akismet är inte konfigurerad. Ange en API-nyckel."
#: views/enter.php:8 #: views/enter.php:8
msgid "Enter your API key" msgid "Enter your API key"
msgstr "Ange din API-nyckel" msgstr "Ange din API-nyckel"
@ -19,19 +39,15 @@ msgstr "Ange din API-nyckel"
msgid "Set up a different account" msgid "Set up a different account"
msgstr "Ställ in ett annat konto" msgstr "Ställ in ett annat konto"
#: views/setup.php:5 #: views/setup.php:2
msgid "Set up your Akismet account to enable spam filtering on this site." msgid "Set up your Akismet account to enable spam filtering on this site."
msgstr "Ställ in ditt Akismetkonto för att aktivera skräppostfiltrering på denna webbplats." msgstr "Ställ in ditt Akismetkonto för att aktivera skräppostfiltrering på denna webbplats."
#: views/setup.php:1 #: class.akismet-admin.php:1085
msgid "Set Up Akismet"
msgstr "Ställ in Akismet"
#: class.akismet-admin.php:1081
msgid "Akismet could not recheck your comments for spam." msgid "Akismet could not recheck your comments for spam."
msgstr "Akismet kunde inte kontrollera dina kommentarer igen efter skräppost." msgstr "Akismet kunde inte kontrollera dina kommentarer igen efter skräppost."
#: class.akismet-admin.php:429 #: class.akismet-admin.php:435
msgid "You don't have permission to do that." msgid "You don't have permission to do that."
msgstr "Du har inte behörighet att göra det." msgstr "Du har inte behörighet att göra det."
@ -47,22 +63,10 @@ msgstr "För närvarande kan statistik inte hämtas. Försök igen."
msgid "API key must be set to fetch stats." msgid "API key must be set to fetch stats."
msgstr "API-nyckeln måste vara inställd för att hämta statistik." msgstr "API-nyckeln måste vara inställd för att hämta statistik."
#: views/notice.php:144
msgid "To help your site with transparency under privacy laws like the GDPR, Akismet can display a notice to your users under your comment forms. This feature is disabled by default, however, you can turn it on below."
msgstr "För att hjälpa din webbplats med öppenhet enligt integritetslagar som GDPR kan Akismet visa ett meddelande till dina användare under dina kommentarformulär. Denna funktion är som standard inaktiverad, men du kan aktivera den nedan."
#: views/config.php:162 #: views/config.php:162
msgid "To help your site with transparency under privacy laws like the GDPR, Akismet can display a notice to your users under your comment forms. This feature is disabled by default, however, you can turn it on above." msgid "To help your site with transparency under privacy laws like the GDPR, Akismet can display a notice to your users under your comment forms. This feature is disabled by default, however, you can turn it on above."
msgstr "För att hjälpa din webbplats med öppenhet enligt integritetslagar som GDPR kan Akismet visa ett meddelande till dina användare under dina kommentarformulär. Denna funktion är som standard inaktiverad, men du kan aktivera den ovan." msgstr "För att hjälpa din webbplats med öppenhet enligt integritetslagar som GDPR kan Akismet visa ett meddelande till dina användare under dina kommentarformulär. Denna funktion är som standard inaktiverad, men du kan aktivera den ovan."
#: views/notice.php:145
msgid " Please <a href=\"%s\">enable</a> or <a href=\"%s\">disable</a> this feature. <a href=\"%s\" id=\"akismet-privacy-notice-control-notice-info-link\" target=\"_blank\">More information</a>."
msgstr " Vänligen <a href=\"%s\">aktivera</a> eller <a href=\"%s\">inaktivera</a> denna funktion. <a href=\"%s\" id=\"akismet-privacy-notice-control-notice-info-link\" target=\"_blank\">Mer information</a>."
#: views/notice.php:143
msgid "Akismet & Privacy."
msgstr "Akismet och integritet."
#: views/config.php:160 #: views/config.php:160
msgid "Do not display privacy notice." msgid "Do not display privacy notice."
msgstr "Visa inte integritetsmeddelandet." msgstr "Visa inte integritetsmeddelandet."
@ -79,15 +83,15 @@ msgstr "Akismet integritetsmeddelande"
msgid "Privacy" msgid "Privacy"
msgstr "Integritet" msgstr "Integritet"
#: class.akismet.php:1420 #: class.akismet.php:1491
msgid "This site uses Akismet to reduce spam. <a href=\"%s\" target=\"_blank\" rel=\"nofollow noopener\">Learn how your comment data is processed</a>." msgid "This site uses Akismet to reduce spam. <a href=\"%s\" target=\"_blank\" rel=\"nofollow noopener\">Learn how your comment data is processed</a>."
msgstr "Denna webbplats använder Akismet för att minska skräppost. <a href=\"%s\" target=\"_blank\" rel=\"nofollow noopener\">Lär dig hur din kommentardata bearbetas</a>." msgstr "Denna webbplats använder Akismet för att minska skräppost. <a href=\"%s\" target=\"_blank\" rel=\"nofollow noopener\">Lär dig hur din kommentardata bearbetas</a>."
#: class.akismet-admin.php:96 #: class.akismet-admin.php:87
msgid "We collect information about visitors who comment on Sites that use our Akismet anti-spam service. The information we collect depends on how the User sets up Akismet for the Site, but typically includes the commenter's IP address, user agent, referrer, and Site URL (along with other information directly provided by the commenter such as their name, username, email address, and the comment itself)." msgid "We collect information about visitors who comment on Sites that use our Akismet anti-spam service. The information we collect depends on how the User sets up Akismet for the Site, but typically includes the commenter's IP address, user agent, referrer, and Site URL (along with other information directly provided by the commenter such as their name, username, email address, and the comment itself)."
msgstr "Vi samlar information om besökare som kommenterar på webbplatser som använder vår Akismet anti-skräppost-tjänst. Informationen vi samlar in beror på hur användaren konfigurerar Akismet för webbplatsen, men brukar innehålla kommentatorns IP-adress, användaragent, hänvisare och webbplats-URL (tillsammans med annan information som tillhandahålls direkt av kommentatorn såsom dess namn, användarnamn, e-postadress och själva kommentaren)." msgstr "Vi samlar information om besökare som kommenterar på webbplatser som använder vår Akismet anti-skräppost-tjänst. Informationen vi samlar in beror på hur användaren konfigurerar Akismet för webbplatsen, men brukar innehålla kommentatorns IP-adress, användaragent, hänvisare och webbplats-URL (tillsammans med annan information som tillhandahålls direkt av kommentatorn såsom dess namn, användarnamn, e-postadress och själva kommentaren)."
#: class.akismet.php:231 #: class.akismet.php:236
msgid "Comment discarded." msgid "Comment discarded."
msgstr "Kommentaren har kastats." msgstr "Kommentaren har kastats."
@ -120,7 +124,7 @@ msgstr "Om sant kommer Akismet ta bort den värsta skräpposten automatiskt ist
msgid "A 12-character Akismet API key. Available at akismet.com/get/" msgid "A 12-character Akismet API key. Available at akismet.com/get/"
msgstr "En Akismet API-nyckel på 12 tecken. Finns på akismet.com/get/" msgstr "En Akismet API-nyckel på 12 tecken. Finns på akismet.com/get/"
#: class.akismet-admin.php:405 #: class.akismet-admin.php:411
msgid "(%1$s%)" msgid "(%1$s%)"
msgstr "(%1$s%)" msgstr "(%1$s%)"
@ -137,7 +141,7 @@ msgstr "En API-nyckel för Akismet har angetts i filen %s för denna webbplats."
msgid "Manual Configuration" msgid "Manual Configuration"
msgstr "Manuell konfigurering" msgstr "Manuell konfigurering"
#: class.akismet-admin.php:239 #: class.akismet-admin.php:230
msgid "On this page, you are able to update your Akismet settings and view spam stats." msgid "On this page, you are able to update your Akismet settings and view spam stats."
msgstr "På denna sida kan du uppdatera dina inställningar för Akismet och se spam-statistik." msgstr "På denna sida kan du uppdatera dina inställningar för Akismet och se spam-statistik."
@ -146,7 +150,7 @@ msgid "Used by millions, Akismet is quite possibly the best way in the world to
msgstr "Akismet används av miljoner personer och är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Det skyddar din webbplats t.o.m. medan du sover. För att komma igång behöver du aktivera tillägget Akismet och sedan gå till inställningssidan för Akismet och konfigurera din API-nyckel." msgstr "Akismet används av miljoner personer och är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Det skyddar din webbplats t.o.m. medan du sover. För att komma igång behöver du aktivera tillägget Akismet och sedan gå till inställningssidan för Akismet och konfigurera din API-nyckel."
#. Plugin Name of the plugin #. Plugin Name of the plugin
#: class.akismet-admin.php:121 class.akismet-admin.php:124 #: class.akismet-admin.php:112 class.akismet-admin.php:115
msgid "Akismet Anti-Spam" msgid "Akismet Anti-Spam"
msgstr "Akismet Anti-Spam" msgstr "Akismet Anti-Spam"
@ -196,39 +200,39 @@ msgstr "Detaljerad statistik"
msgid "Statistics" msgid "Statistics"
msgstr "Statistik" msgstr "Statistik"
#: class.akismet-admin.php:1193 #: class.akismet-admin.php:1189
msgid "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started, just go to <a href=\"admin.php?page=akismet-key-config\">your Akismet Settings page</a> to set up your API key." msgid "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started, just go to <a href=\"admin.php?page=akismet-key-config\">your Akismet Settings page</a> to set up your API key."
msgstr "Akismet, som används av miljoner personer, är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Det skyddar din webbplats t.o.m. medan du sover. För att komma igång behöver du bara gå till <a href=\"admin.php?page=akismet-key-config\">din inställningssida för Akismet</a> för att konfigurera din API-nyckel." msgstr "Akismet, som används av miljoner personer, är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Det skyddar din webbplats t.o.m. medan du sover. För att komma igång behöver du bara gå till <a href=\"admin.php?page=akismet-key-config\">din inställningssida för Akismet</a> för att konfigurera din API-nyckel."
#: class.akismet-admin.php:1190 #: class.akismet-admin.php:1186
msgid "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. Your site is fully configured and being protected, even while you sleep." msgid "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. Your site is fully configured and being protected, even while you sleep."
msgstr "Akismet, som används av miljoner personer, är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Din webbplats är färdigkonfigurerad och skyddar din webbplats t.o.m. medan du sover. " msgstr "Akismet, som används av miljoner personer, är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Din webbplats är färdigkonfigurerad och skyddar din webbplats t.o.m. medan du sover. "
#: class.akismet-admin.php:1074 #: class.akismet-admin.php:1078
msgid "%s comment was caught as spam." msgid "%s comment was caught as spam."
msgid_plural "%s comments were caught as spam." msgid_plural "%s comments were caught as spam."
msgstr[0] "%s kommentar bedömdes som skräppost." msgstr[0] "%s kommentar bedömdes som skräppost."
msgstr[1] "%s kommentarer bedömdes som skräppost." msgstr[1] "%s kommentarer bedömdes som skräppost."
#: class.akismet-admin.php:1071 #: class.akismet-admin.php:1075
msgid "No comments were caught as spam." msgid "No comments were caught as spam."
msgstr "Inga kommentarer bedömdes som skräppost." msgstr "Inga kommentarer bedömdes som skräppost."
#: class.akismet-admin.php:1067 #: class.akismet-admin.php:1071
msgid "Akismet checked %s comment." msgid "Akismet checked %s comment."
msgid_plural "Akismet checked %s comments." msgid_plural "Akismet checked %s comments."
msgstr[0] "Akismet har kontrollerat %s kommentar." msgstr[0] "Akismet har kontrollerat %s kommentar."
msgstr[1] "Akismet har kontrollerat %s kommentarer." msgstr[1] "Akismet har kontrollerat %s kommentarer."
#: class.akismet-admin.php:1064 #: class.akismet-admin.php:1068
msgid "There were no comments to check. Akismet will only check comments in the Pending queue." msgid "There were no comments to check. Akismet will only check comments awaiting moderation."
msgstr "Det fanns inga kommentarer att granska. Akismet kontrollerar bara kommentarer i kön med väntande kommentarer." msgstr "Det finns inga kommentarer att kontrollera. Akismet kommer endast att kontrollera kommentarer som inväntar granskning."
#: class.akismet-admin.php:404 #: class.akismet-admin.php:410
msgid "Checking for Spam" msgid "Checking for Spam"
msgstr "Söker efter skräppost" msgstr "Söker efter skräppost"
#: class.akismet.php:512 #: class.akismet.php:558
msgid "Comment not found." msgid "Comment not found."
msgstr "Kommentaren kunde inte hittas." msgstr "Kommentaren kunde inte hittas."
@ -302,26 +306,26 @@ msgstr "Vänligen uppdatera din betalinformation."
msgid "<strong>Almost done</strong> - configure Akismet and say goodbye to spam" msgid "<strong>Almost done</strong> - configure Akismet and say goodbye to spam"
msgstr "<strong>Nästan klart</strong> konfigurera Akismet och vinka adjö till skräppost" msgstr "<strong>Nästan klart</strong> konfigurera Akismet och vinka adjö till skräppost"
#: class.akismet-admin.php:995 #: class.akismet-admin.php:1002
msgid "Akismet has saved you %d minute!" msgid "Akismet has saved you %d minute!"
msgid_plural "Akismet has saved you %d minutes!" msgid_plural "Akismet has saved you %d minutes!"
msgstr[0] "Akismet har sparat dig %d minut!" msgstr[0] "Akismet har sparat dig %d minut!"
msgstr[1] "Akismet har sparat dig %d minuter!" msgstr[1] "Akismet har sparat dig %d minuter!"
#: class.akismet-admin.php:993 #: class.akismet-admin.php:1000
msgid "Akismet has saved you %d hour!" msgid "Akismet has saved you %d hour!"
msgid_plural "Akismet has saved you %d hours!" msgid_plural "Akismet has saved you %d hours!"
msgstr[0] "Akismet har sparat dig %d timme!" msgstr[0] "Akismet har sparat dig %d timme!"
msgstr[1] "Akismet har sparat dig %d timmar!" msgstr[1] "Akismet har sparat dig %d timmar!"
#: class.akismet-admin.php:991 #: class.akismet-admin.php:998
msgid "Akismet has saved you %s day!" msgid "Akismet has saved you %s day!"
msgid_plural "Akismet has saved you %s days!" msgid_plural "Akismet has saved you %s days!"
msgstr[0] "Akismet har sparat dig %s dag!" msgstr[0] "Akismet har sparat dig %s dag!"
msgstr[1] "Akismet har sparat dig %s dagar!" msgstr[1] "Akismet har sparat dig %s dagar!"
#: class.akismet-admin.php:187 class.akismet-admin.php:225 #: class.akismet-admin.php:178 class.akismet-admin.php:216
#: class.akismet-admin.php:238 #: class.akismet-admin.php:229
msgid "Akismet filters out spam, so you can focus on more important things." msgid "Akismet filters out spam, so you can focus on more important things."
msgstr "Akismet filtrerar bort skräppost så att du kan fokusera på viktigare saker." msgstr "Akismet filtrerar bort skräppost så att du kan fokusera på viktigare saker."
@ -381,244 +385,244 @@ msgstr "Inaktiverat."
msgid "SSL Status" msgid "SSL Status"
msgstr "SSL-status" msgstr "SSL-status"
#: class.akismet-admin.php:624 #: class.akismet-admin.php:628
msgid "This comment was reported as not spam." msgid "This comment was reported as not spam."
msgstr "Denna kommentar rapporterades som 'inte skräppost'." msgstr "Denna kommentar rapporterades som 'inte skräppost'."
#: class.akismet-admin.php:616 #: class.akismet-admin.php:620
msgid "This comment was reported as spam." msgid "This comment was reported as spam."
msgstr "Denna kommentar rapporterades som skräppost." msgstr "Denna kommentar rapporterades som skräppost."
#: class.akismet-admin.php:156 #: class.akismet-admin.php:147
msgid "(undo)" msgid "(undo)"
msgstr "(ångra)" msgstr "(ångra)"
#: class.akismet-admin.php:155 #: class.akismet-admin.php:146
msgid "URL removed" msgid "URL removed"
msgstr "URL borttagen" msgstr "URL borttagen"
#: class.akismet-admin.php:154 #: class.akismet-admin.php:145
msgid "Removing..." msgid "Removing..."
msgstr "Tar bort..." msgstr "Tar bort..."
#: class.akismet-admin.php:95 class.akismet-admin.php:1212 #: class.akismet-admin.php:86 class.akismet-admin.php:1204
msgid "Akismet" msgid "Akismet"
msgstr "Akismet" msgstr "Akismet"
#: class.akismet-admin.php:114 class.akismet-admin.php:246 #: views/config.php:60 class.akismet-admin.php:105 class.akismet-admin.php:237
#: class.akismet-admin.php:674 views/config.php:60 #: class.akismet-admin.php:689
msgid "Settings" msgid "Settings"
msgstr "Inställningar" msgstr "Inställningar"
#: class.akismet-admin.php:157 #: class.akismet-admin.php:148
msgid "Re-adding..." msgid "Re-adding..."
msgstr "Återställer..." msgstr "Återställer..."
#: class.akismet-admin.php:184 class.akismet-admin.php:222 #: class.akismet-admin.php:175 class.akismet-admin.php:213
#: class.akismet-admin.php:235 #: class.akismet-admin.php:226
msgid "Overview" msgid "Overview"
msgstr "Översikt" msgstr "Översikt"
#: class.akismet-admin.php:186 class.akismet-admin.php:197 #: class.akismet-admin.php:177 class.akismet-admin.php:188
#: class.akismet-admin.php:208 #: class.akismet-admin.php:199
msgid "Akismet Setup" msgid "Akismet Setup"
msgstr "Konfiguration för Akismet" msgstr "Konfiguration för Akismet"
#: class.akismet-admin.php:188 #: class.akismet-admin.php:179
msgid "On this page, you are able to set up the Akismet plugin." msgid "On this page, you are able to set up the Akismet plugin."
msgstr "På den här sidan har du möjlighet att konfigurera tillägget Akismet." msgstr "På den här sidan har du möjlighet att konfigurera tillägget Akismet."
#: class.akismet-admin.php:195 #: class.akismet-admin.php:186
msgid "New to Akismet" msgid "New to Akismet"
msgstr "Ny på Akismet" msgstr "Ny på Akismet"
#: class.akismet-admin.php:198 #: class.akismet-admin.php:189
msgid "You need to enter an API key to activate the Akismet service on your site." msgid "You need to enter an API key to activate the Akismet service on your site."
msgstr "Du måste ange en API-nyckel för att aktivera tjänsten från Akismet på din webbplats." msgstr "Du måste ange en API-nyckel för att aktivera tjänsten från Akismet på din webbplats."
#: class.akismet-admin.php:206 #: class.akismet-admin.php:197
msgid "Enter an API Key" msgid "Enter an API Key"
msgstr "Ange en API-nyckel" msgstr "Ange en API-nyckel"
#: class.akismet-admin.php:199 #: class.akismet-admin.php:190
msgid "Sign up for an account on %s to get an API Key." msgid "Sign up for an account on %s to get an API Key."
msgstr "Registrera ett konto på %s för att få en API-nyckel." msgstr "Registrera ett konto på %s för att få en API-nyckel."
#: class.akismet-admin.php:209 #: class.akismet-admin.php:200
msgid "If you already have an API key" msgid "If you already have an API key"
msgstr "Om du redan har en API-nyckel" msgstr "Om du redan har en API-nyckel"
#: class.akismet-admin.php:211 #: class.akismet-admin.php:202
msgid "Copy and paste the API key into the text field." msgid "Copy and paste the API key into the text field."
msgstr "Kopiera och klistra in API-nyckeln i textfältet." msgstr "Kopiera och klistra in API-nyckeln i textfältet."
#: class.akismet-admin.php:212 #: class.akismet-admin.php:203
msgid "Click the Use this Key button." msgid "Click the Use this Key button."
msgstr "Klicka på knappen Använd denna nyckel." msgstr "Klicka på knappen Använd denna nyckel."
#: class.akismet-admin.php:224 #: class.akismet-admin.php:215
msgid "Akismet Stats" msgid "Akismet Stats"
msgstr "Akismet statistik" msgstr "Akismet statistik"
#: class.akismet-admin.php:226 #: class.akismet-admin.php:217
msgid "On this page, you are able to view stats on spam filtered on your site." msgid "On this page, you are able to view stats on spam filtered on your site."
msgstr "På den här sidan har du möjlighet att se statistik för skräppost som har filtrerats på din webbplats." msgstr "På den här sidan har du möjlighet att se statistik för skräppost som har filtrerats på din webbplats."
#: class.akismet-admin.php:237 class.akismet-admin.php:248 #: class.akismet-admin.php:228 class.akismet-admin.php:239
#: class.akismet-admin.php:261 #: class.akismet-admin.php:252
msgid "Akismet Configuration" msgid "Akismet Configuration"
msgstr "Konfigurera Akismet" msgstr "Konfigurera Akismet"
#: class.akismet-admin.php:249 views/config.php:70 #: views/config.php:70 class.akismet-admin.php:240
msgid "API Key" msgid "API Key"
msgstr "API-nyckel" msgstr "API-nyckel"
#: class.akismet-admin.php:249 #: class.akismet-admin.php:240
msgid "Enter/remove an API key." msgid "Enter/remove an API key."
msgstr "Ange/ta bort en API-nyckel." msgstr "Ange/ta bort en API-nyckel."
#: class.akismet-admin.php:250 views/config.php:105 #: views/config.php:105 class.akismet-admin.php:241
msgid "Comments" msgid "Comments"
msgstr "Kommentarer" msgstr "Kommentarer"
#: class.akismet-admin.php:250 #: class.akismet-admin.php:241
msgid "Show the number of approved comments beside each comment author in the comments list page." msgid "Show the number of approved comments beside each comment author in the comments list page."
msgstr "Visa antalet godkända kommentarer bredvid varje kommentarsförfattare på kommentarslistningssidan." msgstr "Visa antalet godkända kommentarer bredvid varje kommentarsförfattare på kommentarslistningssidan."
#: class.akismet-admin.php:251 #: class.akismet-admin.php:242
msgid "Choose to either discard the worst spam automatically or to always put all spam in spam folder." msgid "Choose to either discard the worst spam automatically or to always put all spam in spam folder."
msgstr "Välj att antingen ignorera den värsta skräpposten automatiskt eller att alltid placera all skräppost i skräppostmappen." msgstr "Välj att antingen ignorera den värsta skräpposten automatiskt eller att alltid placera all skräppost i skräppostmappen."
#: class.akismet-admin.php:251 views/config.php:128 #: views/config.php:128 class.akismet-admin.php:242
msgid "Strictness" msgid "Strictness"
msgstr "Strikthet" msgstr "Strikthet"
#: class.akismet-admin.php:259 views/config.php:188 #: views/config.php:188 class.akismet-admin.php:250
msgid "Account" msgid "Account"
msgstr "Konto" msgstr "Konto"
#: class.akismet-admin.php:262 views/config.php:196 #: views/config.php:196 class.akismet-admin.php:253
msgid "Subscription Type" msgid "Subscription Type"
msgstr "Prenumerationstyp" msgstr "Prenumerationstyp"
#: class.akismet-admin.php:263 #: class.akismet-admin.php:254
msgid "The subscription status - active, cancelled or suspended" msgid "The subscription status - active, cancelled or suspended"
msgstr "Prenumerationsstatus - aktiv, avslutad eller suspenderad" msgstr "Prenumerationsstatus - aktiv, avslutad eller suspenderad"
#: class.akismet-admin.php:263 views/config.php:203 #: views/config.php:203 class.akismet-admin.php:254
msgid "Status" msgid "Status"
msgstr "Status" msgstr "Status"
#: class.akismet-admin.php:262 #: class.akismet-admin.php:253
msgid "The Akismet subscription plan" msgid "The Akismet subscription plan"
msgstr "Akismets prenumerationsplan" msgstr "Akismets prenumerationsplan"
#: class.akismet-admin.php:273 #: class.akismet-admin.php:264
msgid "Akismet FAQ" msgid "Akismet FAQ"
msgstr "Vanliga frågor för Akismet" msgstr "Vanliga frågor för Akismet"
#: class.akismet-admin.php:272 #: class.akismet-admin.php:263
msgid "For more information:" msgid "For more information:"
msgstr "För mer information:" msgstr "För mer information:"
#: class.akismet-admin.php:274 #: class.akismet-admin.php:265
msgid "Akismet Support" msgid "Akismet Support"
msgstr "Support för Akismet" msgstr "Support för Akismet"
#: class.akismet-admin.php:280 #: class.akismet-admin.php:271
msgid "Cheatin&#8217; uh?" msgid "Cheatin&#8217; uh?"
msgstr "Fuskar du va?" msgstr "Fuskar du va?"
#: class.akismet-admin.php:350 #: class.akismet-admin.php:341
msgctxt "comments" msgctxt "comments"
msgid "Spam" msgid "Spam"
msgstr "Skräppost" msgstr "Skräppost"
#: class.akismet-admin.php:352 #: class.akismet-admin.php:343
msgid "<a href=\"%1$s\">Akismet</a> has protected your site from <a href=\"%2$s\">%3$s spam comment</a>." msgid "<a href=\"%1$s\">Akismet</a> has protected your site from <a href=\"%2$s\">%3$s spam comment</a>."
msgid_plural "<a href=\"%1$s\">Akismet</a> has protected your site from <a href=\"%2$s\">%3$s spam comments</a>." msgid_plural "<a href=\"%1$s\">Akismet</a> has protected your site from <a href=\"%2$s\">%3$s spam comments</a>."
msgstr[0] "<a href=\"%1$s\">Akismet</a> har skyddat din webbplats från <a href=\"%2$s\">%3$s skräpkommentar</a>." msgstr[0] "<a href=\"%1$s\">Akismet</a> har skyddat din webbplats från <a href=\"%2$s\">%3$s skräpkommentar</a>."
msgstr[1] "<a href=\"%1$s\">Akismet</a> har skyddat din webbplats från <a href=\"%2$s\">%3$s skräpkommentarer</a>." msgstr[1] "<a href=\"%1$s\">Akismet</a> har skyddat din webbplats från <a href=\"%2$s\">%3$s skräpkommentarer</a>."
#: class.akismet-admin.php:362 #: class.akismet-admin.php:353
msgid "<a href=\"%1$s\">Akismet</a> has protected your site from %2$s spam comment already. " msgid "<a href=\"%1$s\">Akismet</a> has protected your site from %2$s spam comment already. "
msgid_plural "<a href=\"%1$s\">Akismet</a> has protected your site from %2$s spam comments already. " msgid_plural "<a href=\"%1$s\">Akismet</a> has protected your site from %2$s spam comments already. "
msgstr[0] "<a href=\"%1$s\">Akismet</a> har redan skyddat din webbplats från %2$s skräpkommentar. " msgstr[0] "<a href=\"%1$s\">Akismet</a> har redan skyddat din webbplats från %2$s skräpkommentar. "
msgstr[1] "<a href=\"%1$s\">Akismet</a> har redan skyddat din webbplats från %2$s skräpkommentarer. " msgstr[1] "<a href=\"%1$s\">Akismet</a> har redan skyddat din webbplats från %2$s skräpkommentarer. "
#: class.akismet-admin.php:368 #: class.akismet-admin.php:359
msgid "<a href=\"%s\">Akismet</a> blocks spam from getting to your blog. " msgid "<a href=\"%s\">Akismet</a> blocks spam from getting to your blog. "
msgstr "<a href=\"%s\">Akismet</a> motverkar skräpposter på din blogg." msgstr "<a href=\"%s\">Akismet</a> motverkar skräpposter på din blogg."
#: class.akismet-admin.php:374 #: class.akismet-admin.php:365
msgid "There&#8217;s <a href=\"%2$s\">%1$s comment</a> in your spam queue right now." msgid "There&#8217;s <a href=\"%2$s\">%1$s comment</a> in your spam queue right now."
msgid_plural "There are <a href=\"%2$s\">%1$s comments</a> in your spam queue right now." msgid_plural "There are <a href=\"%2$s\">%1$s comments</a> in your spam queue right now."
msgstr[0] "Det finns <a href=\"%2$s\">%1$s kommentar</a> markerad som skräp just nu." msgstr[0] "Det finns <a href=\"%2$s\">%1$s kommentar</a> markerad som skräp just nu."
msgstr[1] "Det finns <a href=\"%2$s\">%1$s kommentarer</a> markerade som skräp just nu." msgstr[1] "Det finns <a href=\"%2$s\">%1$s kommentarer</a> markerade som skräp just nu."
#: class.akismet-admin.php:380 #: class.akismet-admin.php:371
msgid "There&#8217;s nothing in your <a href='%s'>spam queue</a> at the moment." msgid "There&#8217;s nothing in your <a href='%s'>spam queue</a> at the moment."
msgstr "Det finns inga poster markerade som <a href='%s'>skräppost</a> för tillfället." msgstr "Det finns inga poster markerade som <a href='%s'>skräppost</a> för tillfället."
#: class.akismet-admin.php:603 #: class.akismet-admin.php:607
msgid "Akismet re-checked and cleared this comment." msgid "Akismet re-checked and cleared this comment."
msgstr "Akismet kontrollerade denna kommentar igen och godkände den." msgstr "Akismet kontrollerade denna kommentar igen och godkände den."
#: class.akismet-admin.php:597 #: class.akismet-admin.php:601
msgid "Akismet re-checked and caught this comment as spam." msgid "Akismet re-checked and caught this comment as spam."
msgstr "Akismet kontrollerade denna kommentar igen och markerade den som skräppost." msgstr "Akismet kontrollerade denna kommentar igen och markerade den som skräppost."
#: class.akismet-admin.php:411 #: class.akismet-admin.php:417
msgid "Check for Spam" msgid "Check for Spam"
msgstr "Kolla efter skräppost" msgstr "Kolla efter skräppost"
#: class.akismet-admin.php:640 #: class.akismet-admin.php:647
msgid "Akismet was unable to recheck this comment (response: %s)." msgid "Akismet was unable to recheck this comment (response: %s)."
msgstr "Akismet kunde inte kontrollera denna kommentar igen (svar: %s)." msgstr "Akismet kunde inte kontrollera denna kommentar igen (svar: %s)."
#: class.akismet-admin.php:525 #: class.akismet-admin.php:531
msgid "Flagged as spam by Akismet" msgid "Flagged as spam by Akismet"
msgstr "Flaggat som skräppost av Akismet" msgstr "Flaggat som skräppost av Akismet"
#: class.akismet-admin.php:521 #: class.akismet-admin.php:527
msgid "Awaiting spam check" msgid "Awaiting spam check"
msgstr "Inväntar skräppostkontroll" msgstr "Inväntar skräppostkontroll"
#: class.akismet-admin.php:531 #: class.akismet-admin.php:537
msgid "Flagged as spam by %s" msgid "Flagged as spam by %s"
msgstr "Flaggat som skräppost av %s" msgstr "Flaggat som skräppost av %s"
#: class.akismet-admin.php:527 #: class.akismet-admin.php:533
msgid "Cleared by Akismet" msgid "Cleared by Akismet"
msgstr "Godkänd av Akismet" msgstr "Godkänd av Akismet"
#: class.akismet-admin.php:533 #: class.akismet-admin.php:539
msgid "Un-spammed by %s" msgid "Un-spammed by %s"
msgstr "Avmarkerat som skräppost av %s" msgstr "Avmarkerat som skräppost av %s"
#: class.akismet-admin.php:568 #: class.akismet-admin.php:574
msgid "%s approved" msgid "%s approved"
msgid_plural "%s approved" msgid_plural "%s approved"
msgstr[0] "%s godkänd" msgstr[0] "%s godkänd"
msgstr[1] "%s godkända" msgstr[1] "%s godkända"
#: class.akismet-admin.php:545 #: class.akismet-admin.php:551
msgid "History" msgid "History"
msgstr "Historik" msgstr "Historik"
#: class.akismet-admin.php:545 class.akismet-admin.php:553 #: class.akismet-admin.php:551 class.akismet-admin.php:559
msgid "View comment history" msgid "View comment history"
msgstr "Visa kommentarshistorik" msgstr "Visa kommentarshistorik"
#: class.akismet-admin.php:881 #: class.akismet-admin.php:888
msgid "Please check your <a href=\"%s\">Akismet configuration</a> and contact your web host if problems persist." msgid "Please check your <a href=\"%s\">Akismet configuration</a> and contact your web host if problems persist."
msgstr "Vänligen kontrollera din <a href=\"%s\">konfiguration av Akismet</a> och kontakta ditt webbhotell om problemen består." msgstr "Vänligen kontrollera din <a href=\"%s\">konfiguration av Akismet</a> och kontakta ditt webbhotell om problemen består."
#: class.akismet-admin.php:662 #: class.akismet-admin.php:673
msgid "%s ago" msgid "%s ago"
msgstr "%s sedan" msgstr "%s sedan"
#: class.akismet-admin.php:988 #: class.akismet-admin.php:995
msgid "Cleaning up spam takes time." msgid "Cleaning up spam takes time."
msgstr "Att rensa upp skräppost tar tid." msgstr "Att rensa upp skräppost tar tid."
@ -644,51 +648,47 @@ msgid_plural "<strong class=\"count\">%1$s spam</strong> blocked by <strong>Akis
msgstr[0] "<strong class=\"count\">%1$s skräppost</strong> blockerad av <strong>Akismet</strong>" msgstr[0] "<strong class=\"count\">%1$s skräppost</strong> blockerad av <strong>Akismet</strong>"
msgstr[1] "<strong class=\"count\">%1$s skräpposter</strong> blockerade av <strong>Akismet</strong>" msgstr[1] "<strong class=\"count\">%1$s skräpposter</strong> blockerade av <strong>Akismet</strong>"
#: class.akismet-admin.php:600 #: class.akismet-admin.php:604
msgid "Akismet caught this comment as spam." msgid "Akismet caught this comment as spam."
msgstr "Akismet markerade denna kommentar som skräppost." msgstr "Akismet markerade denna kommentar som skräppost."
#: class.akismet-admin.php:648 #: class.akismet-admin.php:658
msgid "Comment status was changed to %s" msgid "Comment status was changed to %s"
msgstr "Kommentarsstatus ändrades till %s" msgstr "Kommentarsstatus ändrades till %s"
#: class.akismet-admin.php:606 #: class.akismet-admin.php:610
msgid "Akismet cleared this comment." msgid "Akismet cleared this comment."
msgstr "Akismet godkände denna kommentar." msgstr "Akismet godkände denna kommentar."
#: class.akismet-admin.php:609 #: class.akismet-admin.php:639
msgid "Comment was caught by wp_blacklist_check."
msgstr "Kommentaren fångades av wp_blacklist_check."
#: class.akismet-admin.php:635
msgid "Akismet was unable to check this comment (response: %s) but will automatically retry later." msgid "Akismet was unable to check this comment (response: %s) but will automatically retry later."
msgstr "Akismet kunde inte kontrollera denna kommentar (svar: %s) men kommer automatiskt att försök igen senare." msgstr "Akismet kunde inte kontrollera denna kommentar (svar: %s) men kommer automatiskt att försök igen senare."
#: class.akismet-admin.php:654 #: class.akismet-admin.php:664
msgid "%1$s changed the comment status to %2$s." msgid "%1$s changed the comment status to %2$s."
msgstr "%1$s ändrade status för kommentaren till %2$s." msgstr "%1$s ändrade status för kommentaren till %2$s."
#: class.akismet-admin.php:613 #: class.akismet-admin.php:617
msgid "%s reported this comment as spam." msgid "%s reported this comment as spam."
msgstr "%s rapporterade denna kommentar som skräppost." msgstr "%s rapporterade denna kommentar som skräppost."
#: class.akismet-admin.php:621 #: class.akismet-admin.php:625
msgid "%s reported this comment as not spam." msgid "%s reported this comment as not spam."
msgstr "%s rapporterade denna kommentar som 'inte skräppost'." msgstr "%s rapporterade denna kommentar som 'inte skräppost'."
#: class.akismet-admin.php:628 #: class.akismet-admin.php:632
msgid "Akismet caught this comment as spam during an automatic retry." msgid "Akismet caught this comment as spam during an automatic retry."
msgstr "Akismet fångade den här kommentaren som skräpport under en automatisk körning." msgstr "Akismet fångade den här kommentaren som skräpport under en automatisk körning."
#: class.akismet-admin.php:631 #: class.akismet-admin.php:635
msgid "Akismet cleared this comment during an automatic retry." msgid "Akismet cleared this comment during an automatic retry."
msgstr "Akismet godkände den här kommentaren under en automatisk skanning." msgstr "Akismet godkände den här kommentaren under en automatisk skanning."
#: class.akismet.php:1277 #: class.akismet.php:1348
msgid "Please <a href=\"%1$s\">upgrade WordPress</a> to a current version, or <a href=\"%2$s\">downgrade to version 2.4 of the Akismet plugin</a>." msgid "Please <a href=\"%1$s\">upgrade WordPress</a> to a current version, or <a href=\"%2$s\">downgrade to version 2.4 of the Akismet plugin</a>."
msgstr "Vänligen <a href=\"%1$s\">uppdatera WordPress</a> till aktuell version eller <a href=\"%2$s\">använd version 2.4 av tillägget Akismet</a>." msgstr "Vänligen <a href=\"%1$s\">uppdatera WordPress</a> till aktuell version eller <a href=\"%2$s\">använd version 2.4 av tillägget Akismet</a>."
#: class.akismet.php:1277 #: class.akismet.php:1348
msgid "Akismet %s requires WordPress %s or higher." msgid "Akismet %s requires WordPress %s or higher."
msgstr "Akismet %s kräver WordPress %s eller senare." msgstr "Akismet %s kräver WordPress %s eller senare."
@ -872,10 +872,10 @@ msgstr "https://automattic.com/wordpress-plugins/"
msgid "Automattic" msgid "Automattic"
msgstr "Automattic" msgstr "Automattic"
#: class.akismet-admin.php:153 #: class.akismet-admin.php:144
msgid "Remove this URL" msgid "Remove this URL"
msgstr "Ta bort denna URL" msgstr "Ta bort denna URL"
#: class.akismet-admin.php:91 #: class.akismet-admin.php:82
msgid "Comment History" msgid "Comment History"
msgstr "Kommentarshistorik" msgstr "Kommentarshistorik"

View File

@ -0,0 +1 @@
{"translation-revision-date":"2020-05-06 12:54:15+0000","generator":"GlotPress\/3.0.0-alpha","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.":["Ett ov\u00e4ntat fel intr\u00e4ffade i Podcast Player. Att l\u00e4sa in den h\u00e4r sidan igen kan l\u00f6sa problemet."],"The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser\u2019s \"Internet options\" settings. In the \"Advanced\" tab you will have to check the box next to \"Play sounds in webpages\" in the \"Multimedia\" section. Once you have confirmed that the box is checked, please press \"Apply\" and then reload this page.":["Podcastspelaren kan inte visas eftersom dina webbl\u00e4sarinst\u00e4llningar inte till\u00e5ter att ljud spelas upp p\u00e5 webbsidor. Detta kan \u00e4ndras i din webbl\u00e4sares \"Internetalternativ\"-inst\u00e4llningar. P\u00e5 fliken \"Avancerat\" m\u00e5ste du markera rutan bredvid \"Spela upp ljud p\u00e5 webbsidor\" i avsnittet \"Multimedia\". N\u00e4r du har bekr\u00e4ftat att rutan \u00e4r markerad trycker du p\u00e5 \"Till\u00e4mpa\" och l\u00e4ser d\u00e4refter in den h\u00e4r sidan igen."],"Select an episode to play it in the audio player.":["V\u00e4lj ett avsnitt f\u00f6r att spela upp det i ljudspelaren."],"Playlist: %s":["Spellista: %s"],"Error: Episode unavailable - Open in a new tab":["Fel: Avsnittet \u00e4r inte tillg\u00e4ngligt - \u00d6ppna i en ny flik"],"Loading: %s":["Laddar: %s"],"Paused":["Pausad"],"track":["sp\u00e5r"],"%s:":["%s:"],"Error:":["Fel:"],"Open in a new tab":["\u00d6ppna i en ny flik"],"Episode unavailable. ":["Avsnitt inte tillg\u00e4ngligt."],"Playing:":["Spelar:"]}},"comment":{"reference":"_inc\/blocks\/podcast-player\/view.js"}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"translation-revision-date":"2020-03-06 11:02:18+0000","generator":"GlotPress\/2.4.0-alpha","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"block search term\u0004map":["karta"],"block search term\u0004navigation":["navigering"],"Terrain":["Terr\u00e4ng"],"Satellite":["Satellit"],"Black and white":["Svart och vit"],"Basic":["Grundl\u00e4ggande"],"Delete Marker":["Ta bort mark\u00f6r"],"Add an interactive map showing one or more locations.":["L\u00e4gg till en interaktiv karta som visar en eller flera platser."],"block search term\u0004location":["plats"],"Marker Caption":["Tidsmark\u00f6rstext"],"Marker Title":["Tidsmark\u00f6rstitel"],"Map":["Karta"]}},"comment":{"reference":"_inc\/blocks\/map\/view.js"}} {"translation-revision-date":"2020-05-06 12:54:15+0000","generator":"GlotPress\/3.0.0-alpha","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"block search term\u0004maps":["kartor"],"Grow":["V\u00e4x"],"Earn":["Tj\u00e4na"],"Delete Marker":["Ta bort mark\u00f6r"],"Marker Caption":["Tidsmark\u00f6rstext"],"Marker Title":["Tidsmark\u00f6rstitel"],"Terrain":["Terr\u00e4ng"],"Satellite":["Satellit"],"Black and white":["Svart och vit"],"Basic":["Grundl\u00e4ggande"],"Add an interactive map showing one or more locations.":["L\u00e4gg till en interaktiv karta som visar en eller flera platser."],"block search term\u0004navigation":["navigering"],"block search term\u0004location":["plats"],"Map":["Karta"]}},"comment":{"reference":"_inc\/blocks\/map\/view.js"}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Eleven package. # This file is distributed under the same license as the Themes - Twenty Eleven package.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2019-05-08 07:52:09+0000\n" "PO-Revision-Date: 2020-03-31 21:00:33+0000\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -19,6 +19,14 @@ msgstr "2011 års tema för WordPress är sofistikerat, lätt och anpassningsbar
msgid "Twenty Eleven" msgid "Twenty Eleven"
msgstr "Twenty Eleven" msgstr "Twenty Eleven"
#: functions.php:751
msgid "Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved."
msgstr "Din kommentar inväntar granskning. Detta är en förhandsvisning. Din kommentar blir synlig när den har godkänts."
#: inc/theme-options.php:121
msgid "<a href=\"https://wordpress.org/support/article/appearance-customize-screen/\" target=\"_blank\">Documentation on Theme Options</a>"
msgstr "<a href=\"https://wordpress.org/support/article/appearance-customize-screen/\" target=\"_blank\">Dokumentation av temats inställningar</a>"
#. translators: %s: The post title. #. translators: %s: The post title.
#: comments.php:37 #: comments.php:37
msgid "One thought on &ldquo;%1$s&rdquo;" msgid "One thought on &ldquo;%1$s&rdquo;"
@ -56,7 +64,8 @@ msgstr "Mall för sidofält"
msgid "Showcase Template" msgid "Showcase Template"
msgstr "Mall för showcase" msgstr "Mall för showcase"
#: tag.php:20 #. translators: %s: Tag title.
#: tag.php:21
msgid "Tag Archives: %s" msgid "Tag Archives: %s"
msgstr "Etikettarkiv: %s" msgstr "Etikettarkiv: %s"
@ -76,11 +85,12 @@ msgstr "Meta"
msgid "Archives" msgid "Archives"
msgstr "Arkiv" msgstr "Arkiv"
#: showcase.php:170 #: showcase.php:176
msgid "Recent Posts" msgid "Recent Posts"
msgstr "Senaste inläggen" msgstr "Senaste inläggen"
#: showcase.php:160 #. translators: %s: Post title.
#: showcase.php:164
msgid "Featuring: %s" msgid "Featuring: %s"
msgstr "Innehåller: %s" msgstr "Innehåller: %s"
@ -92,35 +102,36 @@ msgstr "Utvalt inlägg"
msgid "Search" msgid "Search"
msgstr "Sök" msgstr "Sök"
#: search.php:51 #: search.php:56
msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords." msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords."
msgstr "Ledsen, men inga matchande resultat kunde hittas baserat på dina kriterier. Var vänlig försök med andra sökord." msgstr "Ledsen, men inga matchande resultat kunde hittas baserat på dina kriterier. Var vänlig försök med andra sökord."
#: search.php:18 #. translators: %s: Search query.
#: search.php:21
msgid "Search Results for: %s" msgid "Search Results for: %s"
msgstr "Sökresultat för: %s" msgstr "Sökresultat för: %s"
#: inc/widgets.php:196 #: inc/widgets.php:198
msgid "Number of posts to show:" msgid "Number of posts to show:"
msgstr "Antal inlägg att visa:" msgstr "Antal inlägg att visa:"
#: inc/widgets.php:193 #: inc/widgets.php:195
msgid "Title:" msgid "Title:"
msgstr "Titel:" msgstr "Titel:"
#: inc/widgets.php:117 inc/widgets.php:126 #: inc/widgets.php:119 inc/widgets.php:128
msgid "% <span class=\"reply\">comments &rarr;</span>" msgid "% <span class=\"reply\">comments &rarr;</span>"
msgstr "%s <span class=\"reply\">kommentarer &rarr;</span>" msgstr "%s <span class=\"reply\">kommentarer &rarr;</span>"
#: inc/widgets.php:117 inc/widgets.php:126 #: inc/widgets.php:119 inc/widgets.php:128
msgid "1 <span class=\"reply\">comment &rarr;</span>" msgid "1 <span class=\"reply\">comment &rarr;</span>"
msgstr "1 <span class=\"reply\">kommentar &rarr;</span>" msgstr "1 <span class=\"reply\">kommentar &rarr;</span>"
#: inc/widgets.php:117 inc/widgets.php:126 #: inc/widgets.php:119 inc/widgets.php:128
msgid "0 <span class=\"reply\">comments &rarr;</span>" msgid "0 <span class=\"reply\">comments &rarr;</span>"
msgstr "0 <span class=\"reply\">kommentarer &rarr;</span>" msgstr "0 <span class=\"reply\">kommentarer &rarr;</span>"
#: inc/widgets.php:73 #: inc/widgets.php:74
msgid "Ephemera" msgid "Ephemera"
msgstr "Ephemera" msgstr "Ephemera"
@ -132,15 +143,17 @@ msgstr "Twenty Eleven Ephemera"
msgid "Use this widget to list your recent Aside, Status, Quote, and Link posts" msgid "Use this widget to list your recent Aside, Status, Quote, and Link posts"
msgstr "Använd denna widget för att lista senaste inläggen från inläggsformaten notiser, statusar, citat och länkar " msgstr "Använd denna widget för att lista senaste inläggen från inläggsformaten notiser, statusar, citat och länkar "
#: inc/theme-options.php:600 #: inc/theme-options.php:612
msgid "Layout" msgid "Layout"
msgstr "Layout" msgstr "Layout"
#: inc/theme-options.php:341 #. translators: %s: Theme name.
#: inc/theme-options.php:349
msgid "%s Theme Options" msgid "%s Theme Options"
msgstr "Temainställningar för %s" msgstr "Temainställningar för %s"
#: inc/theme-options.php:305 #. translators: %s: Link color.
#: inc/theme-options.php:308
msgid "Default color: %s" msgid "Default color: %s"
msgstr "Standardfärg: %s" msgstr "Standardfärg: %s"
@ -176,10 +189,6 @@ msgstr "Översikt"
msgid "<a href=\"https://wordpress.org/support/\" target=\"_blank\">Support</a>" msgid "<a href=\"https://wordpress.org/support/\" target=\"_blank\">Support</a>"
msgstr "<a href=\"https://wordpress.org/support/\" target=\"_blank\">Support</a>" msgstr "<a href=\"https://wordpress.org/support/\" target=\"_blank\">Support</a>"
#: inc/theme-options.php:121
msgid "<a href=\"https://codex.wordpress.org/Appearance_Theme_Options_Screen\" target=\"_blank\">Documentation on Theme Options</a>"
msgstr "<a href=\"https://codex.wordpress.org/Appearance_Theme_Options_Screen\" target=\"_blank\">Dokumentation för temainställningar</a>"
#: inc/theme-options.php:120 #: inc/theme-options.php:120
msgid "For more information:" msgid "For more information:"
msgstr "För mer information:" msgstr "För mer information:"
@ -212,15 +221,17 @@ msgstr "Temainställningar"
msgid "Default Layout" msgid "Default Layout"
msgstr "Standardlayout" msgstr "Standardlayout"
#: inc/theme-options.php:62 inc/theme-options.php:589 #: inc/theme-options.php:62 inc/theme-options.php:601
msgid "Link Color" msgid "Link Color"
msgstr "Länkfärg" msgstr "Länkfärg"
#: inc/theme-options.php:56 inc/theme-options.php:564 #: inc/theme-options.php:56 inc/theme-options.php:576
msgid "Color Scheme" msgid "Color Scheme"
msgstr "Färgschema" msgstr "Färgschema"
#: image.php:34 #. translators: 1: Time, 2: Date, 3: Image permalink, 4: Image width, 5: Image
#. height, 6: Parent permalink, 7: Parent post title, 8: Parent post title.
#: image.php:35
msgid "<span class=\"meta-prep meta-prep-entry-date\">Published </span> <span class=\"entry-date\"><abbr class=\"published\" title=\"%1$s\">%2$s</abbr></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%8$s</a>" msgid "<span class=\"meta-prep meta-prep-entry-date\">Published </span> <span class=\"entry-date\"><abbr class=\"published\" title=\"%1$s\">%2$s</abbr></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%8$s</a>"
msgstr "<span class=\"meta-prep meta-prep-entry-date\">Publicerad </span> <span class=\"entry-date\"><abbr class=\"published\" title=\"%1$s\">%2$s</abbr></span> i storleken <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> i <a href=\"%6$s\" title=\"Gå tillbaka till %7$s\" rel=\"gallery\">%8$s</a>" msgstr "<span class=\"meta-prep meta-prep-entry-date\">Publicerad </span> <span class=\"entry-date\"><abbr class=\"published\" title=\"%1$s\">%2$s</abbr></span> i storleken <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> i <a href=\"%6$s\" title=\"Gå tillbaka till %7$s\" rel=\"gallery\">%8$s</a>"
@ -236,39 +247,43 @@ msgstr "&larr; Föregående"
msgid "Image navigation" msgid "Image navigation"
msgstr "Bildnavigering" msgstr "Bildnavigering"
#: header.php:147 #: functions.php:924
msgid "Skip to secondary content" msgid "Skip to secondary content"
msgstr "Hoppa till sekundärt innehåll" msgstr "Hoppa till sekundärt innehåll"
#: header.php:145 #: functions.php:922
msgid "Skip to primary content" msgid "Skip to primary content"
msgstr "Hoppa till huvudinnehåll" msgstr "Hoppa till huvudinnehåll"
#: header.php:143 #: header.php:147
msgid "Main menu" msgid "Main menu"
msgstr "Huvudmeny" msgstr "Huvudmeny"
#: header.php:45 #. translators: %s: Page number.
#: header.php:46
msgid "Page %s" msgid "Page %s"
msgstr "Sida %s" msgstr "Sida %s"
#: functions.php:787 #. translators: 1: The permalink, 2: Time, 3: Date and time, 4: Date and time,
#. 5: Author posts, 6: Author post link text, 7: Author display name.
#: functions.php:797
msgid "<span class=\"sep\">Posted on </span><a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\">%4$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>" msgid "<span class=\"sep\">Posted on </span><a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\">%4$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>"
msgstr "<span class=\"sep\">Postat </span><a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\">%4$s</time></a><span class=\"by-author\"> <span class=\"sep\"> av </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>" msgstr "<span class=\"sep\">Postat </span><a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\">%4$s</time></a><span class=\"by-author\"> <span class=\"sep\"> av </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>"
#: functions.php:761 #: functions.php:770
msgid "Reply <span>&darr;</span>" msgid "Reply <span>&darr;</span>"
msgstr "Svara <span>&darr;</span>" msgstr "Svara <span>&darr;</span>"
#: functions.php:747 #: functions.php:749
msgid "Your comment is awaiting moderation." msgid "Your comment is awaiting moderation."
msgstr "Din kommentar inväntar granskning." msgstr "Din kommentar inväntar granskning."
#. translators: 1: date, 2: time #. translators: 1: Date, 2: Time.
#: functions.php:738 #: functions.php:738
msgid "%1$s at %2$s" msgid "%1$s at %2$s"
msgstr "%1$s kl. %2$s" msgstr "%1$s kl. %2$s"
#. translators: 1: Comment author, 2: Date and time.
#: functions.php:731 #: functions.php:731
msgid "%1$s on %2$s <span class=\"says\">said:</span>" msgid "%1$s on %2$s <span class=\"says\">said:</span>"
msgstr "%1$s den %2$s <span class=\"says\">skrev:</span>" msgstr "%1$s den %2$s <span class=\"says\">skrev:</span>"
@ -317,42 +332,42 @@ msgstr "Sidopanel presentation"
msgid "Main Sidebar" msgid "Main Sidebar"
msgstr "Primär sidopanel" msgstr "Primär sidopanel"
#. translators: header image description #. translators: Header image description.
#: functions.php:280 #: functions.php:280
msgid "Hanoi Plant" msgid "Hanoi Plant"
msgstr "Hanoi-blom" msgstr "Hanoi-blom"
#. translators: header image description #. translators: Header image description.
#: functions.php:274 #: functions.php:274
msgid "Willow" msgid "Willow"
msgstr "Vide" msgstr "Vide"
#. translators: header image description #. translators: Header image description.
#: functions.php:268 #: functions.php:268
msgid "Lanterns" msgid "Lanterns"
msgstr "Lanternor" msgstr "Lanternor"
#. translators: header image description #. translators: Header image description.
#: functions.php:262 #: functions.php:262
msgid "Chessboard" msgid "Chessboard"
msgstr "Schackbräde" msgstr "Schackbräde"
#. translators: header image description #. translators: Header image description.
#: functions.php:256 #: functions.php:256
msgid "Pine Cone" msgid "Pine Cone"
msgstr "Tallkotte" msgstr "Tallkotte"
#. translators: header image description #. translators: Header image description.
#: functions.php:250 #: functions.php:250
msgid "Trolley" msgid "Trolley"
msgstr "Kärra" msgstr "Kärra"
#. translators: header image description #. translators: Header image description.
#: functions.php:244 #: functions.php:244
msgid "Shore" msgid "Shore"
msgstr "Strand" msgstr "Strand"
#. translators: header image description #. translators: Header image description.
#: functions.php:238 #: functions.php:238
msgid "Wheel" msgid "Wheel"
msgstr "Hjul" msgstr "Hjul"
@ -361,7 +376,8 @@ msgstr "Hjul"
msgid "Primary Menu" msgid "Primary Menu"
msgstr "Primär meny" msgstr "Primär meny"
#: footer.php:35 #. translators: %s: WordPress
#: footer.php:37
msgid "Proudly powered by %s" msgid "Proudly powered by %s"
msgstr "Drivs med %s" msgstr "Drivs med %s"
@ -377,19 +393,26 @@ msgstr "Utvalda"
msgid "Status" msgid "Status"
msgstr "Status" msgstr "Status"
#: content-single.php:74 #. translators: %s: Author name.
#: content-single.php:88
msgid "View all posts by %s <span class=\"meta-nav\">&rarr;</span>" msgid "View all posts by %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">&rarr;</span>" msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">&rarr;</span>"
#: content-single.php:46 #. translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title,
#. 5: Author name, 6: Author URL.
#: content-single.php:49
msgid "This entry was posted by <a href=\"%6$s\">%5$s</a>. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." msgid "This entry was posted by <a href=\"%6$s\">%5$s</a>. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
msgstr "Detta inlägg postades av <a href=\"%6$s\">%5$s</a>. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>." msgstr "Detta inlägg postades av <a href=\"%6$s\">%5$s</a>. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>."
#: content-single.php:44 #. translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title,
#. 5: Author name, 6: Author URL.
#: content-single.php:46
msgid "This entry was posted in %1$s by <a href=\"%6$s\">%5$s</a>. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." msgid "This entry was posted in %1$s by <a href=\"%6$s\">%5$s</a>. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
msgstr "Det här inlägget postades i %1$s av <a href=\"%6$s\">%5$s</a>. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>." msgstr "Det här inlägget postades i %1$s av <a href=\"%6$s\">%5$s</a>. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>."
#: content-single.php:42 #. translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title,
#. 5: Author name, 6: Author URL.
#: content-single.php:43
msgid "This entry was posted in %1$s and tagged %2$s by <a href=\"%6$s\">%5$s</a>. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." msgid "This entry was posted in %1$s and tagged %2$s by <a href=\"%6$s\">%5$s</a>. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
msgstr "Det här inlägget postades i %1$s och märktes %2$s av <a href=\"%6$s\">%5$s</a>. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>." msgstr "Det här inlägget postades i %1$s och märktes %2$s av <a href=\"%6$s\">%5$s</a>. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>."
@ -401,11 +424,14 @@ msgstr "Citat"
msgid "Link" msgid "Link"
msgstr "Länk" msgstr "Länk"
#: content-image.php:49 functions.php:793 #. translators: %s: Author display name.
#: content-image.php:51 functions.php:804
msgid "View all posts by %s" msgid "View all posts by %s"
msgstr "Visa alla inlägg av %s" msgstr "Visa alla inlägg av %s"
#: content-image.php:44 #. translators: 1: The permalink, 2: Date and time, 3: Date and time, 4: Author
#. link, 5: Author link title, 6: Author display name.
#: content-image.php:45
msgid "<a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%2$s\">%3$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%4$s\" title=\"%5$s\" rel=\"author\">%6$s</a></span></span>" msgid "<a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%2$s\">%3$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%4$s\" title=\"%5$s\" rel=\"author\">%6$s</a></span></span>"
msgstr "<a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%2$s\">%3$s</time></a><span class=\"by-author\"> <span class=\"sep\"> av </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%4$s\" title=\"%5$s\" rel=\"author\">%6$s</a></span></span>" msgstr "<a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%2$s\">%3$s</time></a><span class=\"by-author\"> <span class=\"sep\"> av </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%4$s\" title=\"%5$s\" rel=\"author\">%6$s</a></span></span>"
@ -413,21 +439,27 @@ msgstr "<a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"
msgid "Image" msgid "Image"
msgstr "Bild" msgstr "Bild"
#: content-gallery.php:93 content-image.php:70 content-quote.php:71 #. translators: 1: CSS classes, 2: List of tags.
#: content.php:80 #. translators: 1: CSS classes, 2: Tag list.
#: content-gallery.php:97 content-image.php:77 content-quote.php:73
#: content.php:82
msgid "<span class=\"%1$s\">Tagged</span> %2$s" msgid "<span class=\"%1$s\">Tagged</span> %2$s"
msgstr "<span class=\"%1$s\">Etiketter</span> %2$s" msgstr "<span class=\"%1$s\">Etiketter</span> %2$s"
#: content-gallery.php:78 content-image.php:61 content-quote.php:56 #. translators: 1: CSS classes, 2: List of categories.
#: content.php:63 #. translators: 1: CSS classes, 2: Category list.
#: content-gallery.php:81 content-image.php:65 content-quote.php:57
#: content.php:64
msgid "<span class=\"%1$s\">Posted in</span> %2$s" msgid "<span class=\"%1$s\">Posted in</span> %2$s"
msgstr "<span class=\"%1$s\">Publicerat i</span> %2$s" msgstr "<span class=\"%1$s\">Publicerat i</span> %2$s"
#: content-gallery.php:50 showcase.php:128 #. translators: %s: Post title.
#: content-gallery.php:52 showcase.php:129
msgid "Permalink to %s" msgid "Permalink to %s"
msgstr "Permanent länk till %s" msgstr "Permanent länk till %s"
#: content-gallery.php:49 #. translators: 1: Link attributes, 2: Number of photos.
#: content-gallery.php:50
msgid "This gallery contains <a %1$s>%2$s photo</a>." msgid "This gallery contains <a %1$s>%2$s photo</a>."
msgid_plural "This gallery contains <a %1$s>%2$s photos</a>." msgid_plural "This gallery contains <a %1$s>%2$s photos</a>."
msgstr[0] "Detta galleri innehåller <a %1$s>%2$s bild</a>." msgstr[0] "Detta galleri innehåller <a %1$s>%2$s bild</a>."
@ -437,50 +469,53 @@ msgstr[1] "Detta galleri innehåller <a %1$s>%2$s bilder</a>."
msgid "Gallery" msgid "Gallery"
msgstr "Galleri" msgstr "Galleri"
#: content-featured.php:40 #. translators: 1: Category list, 3: Post permalink, 4: Post title.
#: content-featured.php:42
msgid "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." msgid "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
msgstr "Det här inlägget postades i %1$s. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>. " msgstr "Det här inlägget postades i %1$s. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>. "
#: content-featured.php:38 #. translators: 1: Category list, 2: Tag list, 3: Post permalink, 4: Post
#. title.
#: content-featured.php:39
msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
msgstr "Det här inlägget postades i %1$s och har märkts med etiketterna %2$s. Bokmärk <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalänken</a>." msgstr "Det här inlägget postades i %1$s och har märkts med etiketterna %2$s. Bokmärk <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalänken</a>."
#. translators: used between list items, there is a space after the comma #. translators: Used between list items, there is a space after the comma.
#: content-gallery.php:73 content-gallery.php:85 content-image.php:57 #: content-gallery.php:75 content-gallery.php:88 content-image.php:59
#: content-image.php:66 content-single.php:37 content-single.php:40 #: content-image.php:71 content-single.php:37 content-single.php:40
#: content-quote.php:51 content-quote.php:63 content-featured.php:36 #: content-quote.php:51 content-quote.php:64 content-featured.php:36
#: content-featured.php:45 content.php:58 content.php:72 #: content-featured.php:47 content.php:58 content.php:73
msgid ", " msgid ", "
msgstr ", " msgstr ", "
#: content-gallery.php:106 content-aside.php:53 content-status.php:66 #: content-gallery.php:110 content-aside.php:53 content-status.php:66
#: content-image.php:79 content-single.php:59 content-link.php:53 #: content-image.php:87 content-single.php:62 content-link.php:53
#: content-intro.php:26 content-page.php:28 content-quote.php:84 image.php:45 #: content-intro.php:26 content-page.php:28 content-quote.php:86 image.php:46
#: functions.php:712 functions.php:743 content-featured.php:52 content.php:94 #: functions.php:712 functions.php:743 content-featured.php:54 content.php:96
msgid "Edit" msgid "Edit"
msgstr "Redigera" msgstr "Redigera"
#: content-gallery.php:103 content-aside.php:51 content-status.php:64 #: content-gallery.php:107 content-aside.php:51 content-status.php:64
#: content-image.php:75 content-link.php:51 content-quote.php:81 #: content-image.php:83 content-link.php:51 content-quote.php:83
#: showcase.php:214 content.php:91 #: showcase.php:220 content.php:93
msgid "<b>%</b> Replies" msgid "<b>%</b> Replies"
msgstr "<b>%</b> Kommentarer" msgstr "<b>%</b> Kommentarer"
#: content-gallery.php:103 content-aside.php:51 content-status.php:64 #: content-gallery.php:107 content-aside.php:51 content-status.php:64
#: content-image.php:75 content-link.php:51 content-quote.php:81 #: content-image.php:83 content-link.php:51 content-quote.php:83
#: showcase.php:214 content.php:91 #: showcase.php:220 content.php:93
msgid "<b>1</b> Reply" msgid "<b>1</b> Reply"
msgstr "<b>1</b> Kommentar" msgstr "<b>1</b> Kommentar"
#: content-gallery.php:103 content-aside.php:51 content-status.php:64 #: content-gallery.php:107 content-aside.php:51 content-status.php:64
#: content-image.php:75 content-link.php:51 content-quote.php:81 #: content-image.php:83 content-link.php:51 content-quote.php:83
#: showcase.php:214 content.php:91 #: showcase.php:220 content.php:93
msgid "Leave a reply" msgid "Leave a reply"
msgstr "Kommentera" msgstr "Kommentera"
#: content-gallery.php:61 content-aside.php:39 content-status.php:52 #: content-gallery.php:63 content-aside.php:39 content-status.php:52
#: content-image.php:33 content-single.php:27 content-link.php:39 #: content-image.php:33 content-single.php:27 content-link.php:39
#: content-intro.php:21 content-page.php:21 content-quote.php:39 image.php:119 #: content-intro.php:21 content-page.php:21 content-quote.php:39 image.php:122
#: content-featured.php:26 content.php:45 #: content-featured.php:26 content.php:45
msgid "Pages:" msgid "Pages:"
msgstr "Sidor:" msgstr "Sidor:"
@ -539,54 +574,63 @@ msgstr[1] "%1$s svar på ”%2$s”"
msgid "This post is password protected. Enter the password to view any comments." msgid "This post is password protected. Enter the password to view any comments."
msgstr "Det här inlägget är lösenordsskyddat. Ange lösenordet för att se eventuella kommentarer." msgstr "Det här inlägget är lösenordsskyddat. Ange lösenordet för att se eventuella kommentarer."
#: category.php:20 #. translators: %s: Ñategory title.
#: category.php:21
msgid "Category Archives: %s" msgid "Category Archives: %s"
msgstr "Kategoriarkiv: %s" msgstr "Kategoriarkiv: %s"
#: content-single.php:70 author.php:61 #. translators: %s: Author name.
#. translators: Author display name.
#: content-single.php:80 author.php:70
msgid "About %s" msgid "About %s"
msgstr "Om %s" msgstr "Om %s"
#: author.php:29 #. translators: %s: Author display name.
#: author.php:32
msgid "Author Archives: %s" msgid "Author Archives: %s"
msgstr "Författararkiv: %s" msgstr "Författararkiv: %s"
#: archive.php:64 index.php:44 tag.php:69 category.php:68 author.php:94 #: archive.php:71 index.php:44 tag.php:70 category.php:70 author.php:106
msgid "Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post." msgid "Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post."
msgstr "Tyvärr så kunde inga resultat hittas för efterfrågat arkiv. Kanske kan en sökning hjälpa dig att hitta relaterande inlägg." msgstr "Tyvärr så kunde inga resultat hittas för efterfrågat arkiv. Kanske kan en sökning hjälpa dig att hitta relaterande inlägg."
#: archive.php:60 index.php:40 tag.php:65 search.php:47 category.php:64 #: archive.php:67 index.php:40 tag.php:66 search.php:52 category.php:66
#: author.php:90 #: author.php:102
msgid "Nothing Found" msgid "Nothing Found"
msgstr "Kunde inte hittas" msgstr "Kunde inte hittas"
#: archive.php:31 #: archive.php:35
msgid "Blog Archives" msgid "Blog Archives"
msgstr "Bloggarkiv" msgstr "Bloggarkiv"
#: archive.php:29 #. translators: %s: Date.
#: archive.php:33
msgctxt "yearly archives date format" msgctxt "yearly archives date format"
msgid "Y" msgid "Y"
msgstr "Y" msgstr "Y"
#: archive.php:29 #. translators: %s: Date.
#: archive.php:33
msgid "Yearly Archives: %s" msgid "Yearly Archives: %s"
msgstr "Årsarkiv: %s" msgstr "Årsarkiv: %s"
#: archive.php:27 #. translators: %s: Date.
#: archive.php:30
msgctxt "monthly archives date format" msgctxt "monthly archives date format"
msgid "F Y" msgid "F Y"
msgstr "F Y" msgstr "F Y"
#: archive.php:27 #. translators: %s: Date.
#: archive.php:30
msgid "Monthly Archives: %s" msgid "Monthly Archives: %s"
msgstr "månadsarkiv: %s" msgstr "månadsarkiv: %s"
#: archive.php:25 #. translators: %s: Date.
#: archive.php:27
msgid "Daily Archives: %s" msgid "Daily Archives: %s"
msgstr "Dagsarkiv: %s" msgstr "Dagsarkiv: %s"
#. translators: %1$s: smilie #. translators: %1$s: Smilie.
#: 404.php:46 #: 404.php:46
msgid "Try looking in the monthly archives. %1$s" msgid "Try looking in the monthly archives. %1$s"
msgstr "Prova att leta i månadsarkiven. %1$s" msgstr "Prova att leta i månadsarkiven. %1$s"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Fifteen package. # This file is distributed under the same license as the Themes - Twenty Fifteen package.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2018-12-07 12:20:26+0000\n" "PO-Revision-Date: 2020-03-31 20:57:42+0000\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -19,117 +19,118 @@ msgstr "Vårt 2015-års standardtema är rent, bloggfokuserat, och utformat för
msgid "Twenty Fifteen" msgid "Twenty Fifteen"
msgstr "Twenty Fifteen" msgstr "Twenty Fifteen"
#: functions.php:212 #: functions.php:245
msgid "Light Blue" msgid "Light Blue"
msgstr "Ljusblått" msgstr "Ljusblått"
#: functions.php:207 #: functions.php:240
msgid "Bright Blue" msgid "Bright Blue"
msgstr "Djupblått" msgstr "Djupblått"
#: functions.php:162 #: functions.php:195
msgid "Light Gray" msgid "Light Gray"
msgstr "Ljusgrått" msgstr "Ljusgrått"
#: functions.php:157 #: functions.php:190
msgid "Dark Gray" msgid "Dark Gray"
msgstr "Mörkgrått" msgstr "Mörkgrått"
#: functions.php:177 #: functions.php:210
msgid "Dark Brown" msgid "Dark Brown"
msgstr "Mörkbrunt" msgstr "Mörkbrunt"
#: functions.php:167 #: functions.php:200
msgid "White" msgid "White"
msgstr "Vitt" msgstr "Vitt"
#: functions.php:187 #: functions.php:220
msgid "Light Pink" msgid "Light Pink"
msgstr "Ljusrosa" msgstr "Ljusrosa"
#: functions.php:182 #: functions.php:215
msgid "Medium Pink" msgid "Medium Pink"
msgstr "Mellanrosa" msgstr "Mellanrosa"
#: functions.php:202 #: functions.php:235
msgid "Blue Gray" msgid "Blue Gray"
msgstr "Blågrått" msgstr "Blågrått"
#: functions.php:192 #: functions.php:225
msgid "Dark Purple" msgid "Dark Purple"
msgstr "Mörklila" msgstr "Mörklila"
#. translators: %s: post title #. translators: %s: Post title.
#: comments.php:31 #: comments.php:31
msgctxt "comments title" msgctxt "comments title"
msgid "One thought on &ldquo;%s&rdquo;" msgid "One thought on &ldquo;%s&rdquo;"
msgstr "En kommentar till &ldquo;%s&rdquo;" msgstr "En kommentar till &ldquo;%s&rdquo;"
#. translators: %s: post title #. translators: %s: Post title.
#: inc/template-tags.php:123 #: inc/template-tags.php:132
msgid "Leave a comment<span class=\"screen-reader-text\"> on %s</span>" msgid "Leave a comment<span class=\"screen-reader-text\"> on %s</span>"
msgstr "Lämna en kommentar<span class=\"screen-reader-text\"> till %s</span>" msgstr "Lämna en kommentar<span class=\"screen-reader-text\"> till %s</span>"
#: single.php:37 #: single.php:39
msgid "Previous post:" msgid "Previous post:"
msgstr "Föregående inlägg:" msgstr "Föregående inlägg:"
#: single.php:36 #: single.php:38
msgid "Previous" msgid "Previous"
msgstr "Föregående" msgstr "Föregående"
#: single.php:34 #: single.php:36
msgid "Next post:" msgid "Next post:"
msgstr "Nästa inlägg:" msgstr "Nästa inlägg:"
#: single.php:33 #: single.php:35
msgid "Next" msgid "Next"
msgstr "Nästa" msgstr "Nästa"
#: search.php:18 #. translators: %s: Search query.
#: search.php:21
msgid "Search Results for: %s" msgid "Search Results for: %s"
msgstr "Sökresultat för: %s" msgstr "Sökresultat för: %s"
#: inc/template-tags.php:113 #: inc/template-tags.php:122
msgctxt "Used before full size attachment link." msgctxt "Used before full size attachment link."
msgid "Full size" msgid "Full size"
msgstr "Full storlek" msgstr "Full storlek"
#: inc/template-tags.php:102 #: inc/template-tags.php:110
msgctxt "Used before tag names." msgctxt "Used before tag names."
msgid "Tags" msgid "Tags"
msgstr "Taggar" msgstr "Taggar"
#: inc/template-tags.php:94 #: inc/template-tags.php:101
msgctxt "Used before category names." msgctxt "Used before category names."
msgid "Categories" msgid "Categories"
msgstr "Kategorier" msgstr "Kategorier"
#: inc/template-tags.php:91 inc/template-tags.php:99 #: inc/template-tags.php:97 inc/template-tags.php:106
msgctxt "Used between list items, there is a space after the comma." msgctxt "Used between list items, there is a space after the comma."
msgid ", " msgid ", "
msgstr ", " msgstr ", "
#: inc/template-tags.php:85 #: inc/template-tags.php:91
msgctxt "Used before post author name." msgctxt "Used before post author name."
msgid "Author" msgid "Author"
msgstr "Författare" msgstr "Författare"
#: inc/template-tags.php:76 #: inc/template-tags.php:81
msgctxt "Used before publish date." msgctxt "Used before publish date."
msgid "Posted on" msgid "Posted on"
msgstr "Postat" msgstr "Postat"
#: inc/template-tags.php:55 #: inc/template-tags.php:58
msgctxt "Used before post format." msgctxt "Used before post format."
msgid "Format" msgid "Format"
msgstr "Format" msgstr "Format"
#: inc/template-tags.php:49 #: inc/template-tags.php:51
msgid "Featured" msgid "Featured"
msgstr "Utvalda" msgstr "Utvalda"
#: inc/template-tags.php:30 #: inc/template-tags.php:31
msgid "Newer Comments" msgid "Newer Comments"
msgstr "Nyare kommentarer" msgstr "Nyare kommentarer"
@ -141,154 +142,157 @@ msgstr "Äldre kommentarer"
msgid "Comment navigation" msgid "Comment navigation"
msgstr "Kommentarsnavigering" msgstr "Kommentarsnavigering"
#: inc/customizer.php:205 #: inc/customizer.php:237
msgid "Blue" msgid "Blue"
msgstr "Blå" msgstr "Blå"
#: functions.php:197 inc/customizer.php:194 #: functions.php:230 inc/customizer.php:226
msgid "Purple" msgid "Purple"
msgstr "Lila" msgstr "Lila"
#: inc/customizer.php:183 #: inc/customizer.php:215
msgid "Pink" msgid "Pink"
msgstr "Rosa" msgstr "Rosa"
#: functions.php:172 inc/customizer.php:172 #: functions.php:205 inc/customizer.php:204
msgid "Yellow" msgid "Yellow"
msgstr "Gult" msgstr "Gult"
#: inc/customizer.php:161 #: inc/customizer.php:193
msgid "Dark" msgid "Dark"
msgstr "Mörkt" msgstr "Mörkt"
#: inc/customizer.php:150 #: inc/customizer.php:182
msgid "Default" msgid "Default"
msgstr "Standard" msgstr "Standard"
#: inc/customizer.php:75 #: inc/customizer.php:103
msgid "Header and Sidebar Background Color" msgid "Header and Sidebar Background Color"
msgstr "Bakgrundsfärg för sidhuvud och sidofält" msgstr "Bakgrundsfärg för sidhuvud och sidofält"
#: inc/customizer.php:60 inc/customizer.php:76 inc/customizer.php:81 #: inc/customizer.php:79 inc/customizer.php:104 inc/customizer.php:111
msgid "Applied to the header on small screens and the sidebar on wide screens." msgid "Applied to the header on small screens and the sidebar on wide screens."
msgstr "Anges som sidhuvud på små skärmar och sidofält på större skärmar." msgstr "Anges som sidhuvud på små skärmar och sidofält på större skärmar."
#: inc/customizer.php:59 #: inc/customizer.php:78
msgid "Header and Sidebar Text Color" msgid "Header and Sidebar Text Color"
msgstr "Textfärg för sidhuvud och sidofält" msgstr "Textfärg för sidhuvud och sidofält"
#: inc/customizer.php:44 #: inc/customizer.php:55
msgid "Base Color Scheme" msgid "Base Color Scheme"
msgstr "Huvudfärgschema" msgstr "Huvudfärgschema"
#: inc/back-compat.php:37 inc/back-compat.php:47 inc/back-compat.php:60 #. translators: %s: WordPress version.
#: inc/back-compat.php:38 inc/back-compat.php:50 inc/back-compat.php:67
msgid "Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again." msgid "Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again."
msgstr "Twenty Fifteen kräver minst WordPress version 4.1. Du använder version %s. Uppdatera och försök igen." msgstr "Twenty Fifteen kräver minst WordPress version 4.1. Du använder version %s. Uppdatera och försök igen."
#: image.php:84 #: image.php:88
msgctxt "Parent post link" msgctxt "Parent post link"
msgid "<span class=\"meta-nav\">Published in</span><span class=\"post-title\">%title</span>" msgid "<span class=\"meta-nav\">Published in</span><span class=\"post-title\">%title</span>"
msgstr "<span class=\"meta-nav\">Publicerat i</span><span class=\"post-title\">%title</span>" msgstr "<span class=\"meta-nav\">Publicerat i</span><span class=\"post-title\">%title</span>"
#: image.php:24 #: image.php:25
msgid "Next Image" msgid "Next Image"
msgstr "Nästa bild" msgstr "Nästa bild"
#: image.php:24 #: image.php:25
msgid "Previous Image" msgid "Previous Image"
msgstr "Föregående bild" msgstr "Föregående bild"
#: header.php:45 #: header.php:50
msgid "Menu and widgets" msgid "Menu and widgets"
msgstr "Meny och widgets" msgstr "Meny och widgets"
#: header.php:26 #: header.php:27
msgid "Skip to content" msgid "Skip to content"
msgstr "Hoppa till innehåll" msgstr "Hoppa till innehåll"
#: functions.php:359 #: functions.php:402
msgid "collapse child menu" msgid "collapse child menu"
msgstr "minimera undermeny" msgstr "minimera undermeny"
#: functions.php:358 #: functions.php:401
msgid "expand child menu" msgid "expand child menu"
msgstr "expandera undermeny" msgstr "expandera undermeny"
#: functions.php:285 #: functions.php:321
msgctxt "Add new subset (greek, cyrillic, devanagari, vietnamese)" msgctxt "Add new subset (greek, cyrillic, devanagari, vietnamese)"
msgid "no-subset" msgid "no-subset"
msgstr "no-subset" msgstr "no-subset"
#: functions.php:277 #: functions.php:313
msgctxt "Inconsolata font: on or off" msgctxt "Inconsolata font: on or off"
msgid "on" msgid "on"
msgstr "på" msgstr "på"
#: functions.php:269 #: functions.php:305
msgctxt "Noto Serif font: on or off" msgctxt "Noto Serif font: on or off"
msgid "on" msgid "on"
msgstr "på" msgstr "på"
#: functions.php:261 #: functions.php:297
msgctxt "Noto Sans font: on or off" msgctxt "Noto Sans font: on or off"
msgid "on" msgid "on"
msgstr "på" msgstr "på"
#: functions.php:235 #: functions.php:270
msgid "Add widgets here to appear in your sidebar." msgid "Add widgets here to appear in your sidebar."
msgstr "Lägg till widgets som ska visas i din sidopanel här." msgstr "Lägg till widgets som ska visas i din sidopanel här."
#: functions.php:233 #: functions.php:268
msgid "Widget Area" msgid "Widget Area"
msgstr "Widgetfält" msgstr "Widgetfält"
#: functions.php:86 #: functions.php:87
msgid "Social Links Menu" msgid "Social Links Menu"
msgstr "Meny för sociala länkar" msgstr "Meny för sociala länkar"
#: functions.php:85 #: functions.php:86
msgid "Primary Menu" msgid "Primary Menu"
msgstr "Primär meny" msgstr "Primär meny"
#: footer.php:31 #. translators: %s: WordPress
#: footer.php:33
msgid "Proudly powered by %s" msgid "Proudly powered by %s"
msgstr "Drivs med %s" msgstr "Drivs med %s"
#: content-none.php:31 #: content-none.php:36
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help." msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en sökning hjälpa." msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en sökning hjälpa."
#: content-none.php:26 #: content-none.php:31
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords." msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord." msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord."
#: content-none.php:22 #. translators: %s: Post editor URL.
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>." #: content-none.php:25
msgstr "Är du redo att posta ditt första inlägg? <a href=\"%1$s\">Starta här</a>." msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>."
msgstr "Redo att publicera ditt första inlägg? <a href=\"%s\">Kom igång här</a>."
#: content-none.php:15 #: content-none.php:15
msgid "Nothing Found" msgid "Nothing Found"
msgstr "Kunde inte hittas" msgstr "Kunde inte hittas"
#: content-link.php:56 content.php:57 image.php:71 content-search.php:28 #: content-link.php:60 content.php:61 image.php:74 content-search.php:28
#: content-search.php:33 content-page.php:35 #: content-search.php:33 content-page.php:37
msgid "Edit" msgid "Edit"
msgstr "Redigera" msgstr "Redigera"
#: content-link.php:36 content.php:38 image.php:59 content-page.php:25 #: content-link.php:39 content.php:41 image.php:61 content-page.php:26
msgid "Pages:" msgid "Pages:"
msgstr "Sidor:" msgstr "Sidor:"
#. translators: %s: Name of current post #. translators: %s: Post title.
#: content-link.php:31 content.php:33 inc/template-tags.php:238 #: content-link.php:32 content.php:34 inc/template-tags.php:252
msgid "Continue reading %s" msgid "Continue reading %s"
msgstr "Fortsätt läsa %s" msgstr "Fortsätt läsa %s"
#: comments.php:69 #: comments.php:71
msgid "Comments are closed." msgid "Comments are closed."
msgstr "Kommentarer inaktiverade." msgstr "Kommentarer inaktiverade."
#. translators: 1: number of comments, 2: post title #. translators: 1: Number of comments, 2: Post title.
#: comments.php:35 #: comments.php:35
msgctxt "comments title" msgctxt "comments title"
msgid "%1$s thought on &ldquo;%2$s&rdquo;" msgid "%1$s thought on &ldquo;%2$s&rdquo;"
@ -296,7 +300,8 @@ msgid_plural "%1$s thoughts on &ldquo;%2$s&rdquo;"
msgstr[0] "%1$s reaktion till &ldquo;%2$s&rdquo;" msgstr[0] "%1$s reaktion till &ldquo;%2$s&rdquo;"
msgstr[1] "%1$s reaktioner till &ldquo;%2$s&rdquo;" msgstr[1] "%1$s reaktioner till &ldquo;%2$s&rdquo;"
#: author-bio.php:34 #. translators: %s: Author display name.
#: author-bio.php:36
msgid "View all posts by %s" msgid "View all posts by %s"
msgstr "Visa alla inlägg av %s" msgstr "Visa alla inlägg av %s"
@ -304,16 +309,16 @@ msgstr "Visa alla inlägg av %s"
msgid "Published by" msgid "Published by"
msgstr "Publicerat av" msgstr "Publicerat av"
#: content-link.php:40 index.php:48 content.php:42 archive.php:51 search.php:40 #: content-link.php:43 index.php:50 content.php:45 archive.php:53 search.php:48
#: image.php:63 content-page.php:29 #: image.php:65 content-page.php:30
msgid "Page" msgid "Page"
msgstr "Sida" msgstr "Sida"
#: index.php:47 archive.php:50 search.php:39 #: index.php:49 archive.php:52 search.php:47
msgid "Next page" msgid "Next page"
msgstr "Nästa sida" msgstr "Nästa sida"
#: index.php:46 archive.php:49 search.php:38 #: index.php:48 archive.php:51 search.php:46
msgid "Previous page" msgid "Previous page"
msgstr "Föregående sida" msgstr "Föregående sida"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Nineteen package. # This file is distributed under the same license as the Themes - Twenty Nineteen package.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2019-05-19 11:20:08+0000\n" "PO-Revision-Date: 2020-03-31 20:56:24+0000\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -19,7 +19,19 @@ msgstr "Vårt standardtema för 2019 är utformat för att visa upp blockrediger
msgid "Twenty Nineteen" msgid "Twenty Nineteen"
msgstr "Twenty Nineteen" msgstr "Twenty Nineteen"
#. translators: %s: parent post link #: classes/class-twentynineteen-walker-comment.php:96
msgid "Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved."
msgstr "Din kommentar inväntar granskning. Detta är en förhandsvisning. Din kommentar blir synlig när den har godkänts."
#: functions.php:153
msgid "Dark Blue"
msgstr "Mörkblått"
#: functions.php:148
msgid "Blue"
msgstr "Blått"
#. translators: %s: Parent post link.
#: single.php:31 #: single.php:31
msgid "<span class=\"meta-nav\">Published in</span><span class=\"post-title\">%s</span>" msgid "<span class=\"meta-nav\">Published in</span><span class=\"post-title\">%s</span>"
msgstr "<span class=\"meta-nav\">Publicerad i</span><span class=\"post-title\">%s</span>" msgstr "<span class=\"meta-nav\">Publicerad i</span><span class=\"post-title\">%s</span>"
@ -29,21 +41,22 @@ msgctxt "Parent post link"
msgid "<span class=\"meta-nav\">Published in</span><br><span class=\"post-title\">%title</span>" msgid "<span class=\"meta-nav\">Published in</span><br><span class=\"post-title\">%title</span>"
msgstr "<span class=\"meta-nav\">Publicerat i</span><br><span class=\"post-title\">%title</span>" msgstr "<span class=\"meta-nav\">Publicerat i</span><br><span class=\"post-title\">%title</span>"
#: template-parts/content/content.php:18
#: template-parts/content/content-excerpt.php:18 #: template-parts/content/content-excerpt.php:18
#: template-parts/content/content.php:18
msgctxt "post" msgctxt "post"
msgid "Featured" msgid "Featured"
msgstr "Utvalt" msgstr "Utvalt"
#: inc/back-compat.php:39 inc/back-compat.php:53 inc/back-compat.php:73 #. translators: %s: WordPress version.
#: inc/back-compat.php:40 inc/back-compat.php:55 inc/back-compat.php:76
msgid "Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again." msgid "Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again."
msgstr "Twenty Nineteen kräver lägst WordPress version 4.7. Du använder version %s. Uppgradera och försök igen." msgstr "Twenty Nineteen kräver lägst WordPress version 4.7. Du använder version %s. Uppgradera och försök igen."
#: inc/template-functions.php:216 #: inc/template-functions.php:143
msgid "Back" msgid "Back"
msgstr "Tillbaka" msgstr "Tillbaka"
#: inc/template-functions.php:209 #: inc/template-functions.php:136
msgid "More" msgid "More"
msgstr "Mer" msgstr "Mer"
@ -65,55 +78,51 @@ msgctxt "primary color"
msgid "Default" msgid "Default"
msgstr "Standard" msgstr "Standard"
#: functions.php:166 #: functions.php:168
msgid "White" msgid "White"
msgstr "Vitt" msgstr "Vitt"
#: functions.php:161 #: functions.php:163
msgid "Light Gray" msgid "Light Gray"
msgstr "Ljustgrått" msgstr "Ljustgrått"
#: functions.php:156 #: functions.php:158
msgid "Dark Gray" msgid "Dark Gray"
msgstr "Mörkgrått" msgstr "Mörkgrått"
#: functions.php:151 #: functions.php:136
msgid "Secondary"
msgstr "Sekundär"
#: functions.php:134
msgid "XL" msgid "XL"
msgstr "XL" msgstr "XL"
#: functions.php:133 #: functions.php:135
msgid "Huge" msgid "Huge"
msgstr "Enorm" msgstr "Enorm"
#: functions.php:128 #: functions.php:130
msgid "L" msgid "L"
msgstr "L" msgstr "L"
#: functions.php:127 #: functions.php:129
msgid "Large" msgid "Large"
msgstr "Stor" msgstr "Stor"
#: functions.php:122 #: functions.php:124
msgid "M" msgid "M"
msgstr "M" msgstr "M"
#: functions.php:121 #: functions.php:123
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
#: functions.php:115 #: functions.php:117
msgid "Small" msgid "Small"
msgstr "Liten" msgstr "Liten"
#: functions.php:116 #: functions.php:118
msgid "S" msgid "S"
msgstr "S" msgstr "S"
#: functions.php:60 footer.php:37 #: footer.php:37 functions.php:60
msgid "Footer Menu" msgid "Footer Menu"
msgstr "Sidfotsmeny" msgstr "Sidfotsmeny"
@ -126,11 +135,11 @@ msgstr "Full storlek"
msgid "Page" msgid "Page"
msgstr "Sida" msgstr "Sida"
#: functions.php:190 #: functions.php:192
msgid "Add widgets here to appear in your footer." msgid "Add widgets here to appear in your footer."
msgstr "Lägg till widgetar här som ska visas i sidfoten." msgstr "Lägg till widgetar här som ska visas i sidfoten."
#: functions.php:188 template-parts/footer/footer-widgets.php:12 #: template-parts/footer/footer-widgets.php:12 functions.php:190
msgid "Footer" msgid "Footer"
msgstr "Sidfot" msgstr "Sidfot"
@ -142,7 +151,7 @@ msgstr "Huvudfärg"
msgid "No comments" msgid "No comments"
msgstr "Ingen kommentar" msgstr "Ingen kommentar"
#. translators: %1(X comments)$s #. translators: %d: Number of comments.
#: template-parts/post/discussion-meta.php:16 #: template-parts/post/discussion-meta.php:16
msgid "%d Comment" msgid "%d Comment"
msgid_plural "%d Comments" msgid_plural "%d Comments"
@ -153,7 +162,7 @@ msgstr[1] "%d kommentarer"
msgid "View more posts" msgid "View more posts"
msgstr "Visa fler inlägg" msgstr "Visa fler inlägg"
#. translators: %s: post author #. translators: %s: Post author.
#: template-parts/post/author-bio.php:17 #: template-parts/post/author-bio.php:17
msgid "Published by %s" msgid "Published by %s"
msgstr "Publicerat av %s" msgstr "Publicerat av %s"
@ -162,15 +171,15 @@ msgstr "Publicerat av %s"
msgid "Top Menu" msgid "Top Menu"
msgstr "Toppmeny" msgstr "Toppmeny"
#. translators: %s: Name of current post. Only visible to screen readers #. translators: %s: Post title. Only visible to screen readers.
#: template-parts/content/content.php:36
#: template-parts/content/content-single.php:27 #: template-parts/content/content-single.php:27
#: template-parts/content/content.php:36
msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>" msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>"
msgstr "Fortsätt läsa<span class=\"screen-reader-text\"> \"%s\"</span>" msgstr "Fortsätt läsa<span class=\"screen-reader-text\"> \"%s\"</span>"
#: image.php:52 template-parts/content/content-page.php:27
#: template-parts/content/content.php:49
#: template-parts/content/content-single.php:40 #: template-parts/content/content-single.php:40
#: template-parts/content/content.php:49
#: template-parts/content/content-page.php:27 image.php:52
msgid "Pages:" msgid "Pages:"
msgstr "Sidor:" msgstr "Sidor:"
@ -182,7 +191,7 @@ msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en s
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords." msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord." msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord."
#. translators: 1: link to WP admin new post page. #. translators: 1: Link to WP admin new post page.
#: template-parts/content/content-none.php:26 #: template-parts/content/content-none.php:26
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>." msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr "Är du redo att posta ditt första inlägg? <a href=\"%1$s\">Starta här</a>." msgstr "Är du redo att posta ditt första inlägg? <a href=\"%1$s\">Starta här</a>."
@ -208,7 +217,7 @@ msgid "Next Post"
msgstr "Nästa inlägg" msgstr "Nästa inlägg"
#: search.php:22 #: search.php:22
msgid "Search results for:" msgid "Search results for: "
msgstr "Sökresultat för:" msgstr "Sökresultat för:"
#: inc/template-tags.php:234 #: inc/template-tags.php:234
@ -227,12 +236,12 @@ msgstr "Etiketter:"
msgid "Posted in" msgid "Posted in"
msgstr "Publicerat i" msgstr "Publicerat i"
#. translators: used between list items, there is a space after the comma. #. translators: Used between list items, there is a space after the comma.
#: inc/template-tags.php:86 inc/template-tags.php:98 #: inc/template-tags.php:86 inc/template-tags.php:98
msgid ", " msgid ", "
msgstr ", " msgstr ", "
#. translators: %s: Name of current post. Only visible to screen readers. #. translators: %s: Post title. Only visible to screen readers.
#: inc/template-tags.php:63 #: inc/template-tags.php:63
msgid "Leave a comment<span class=\"screen-reader-text\"> on %s</span>" msgid "Leave a comment<span class=\"screen-reader-text\"> on %s</span>"
msgstr "Lämna en kommentar<span class=\"screen-reader-text\"> till %s</span>" msgstr "Lämna en kommentar<span class=\"screen-reader-text\"> till %s</span>"
@ -255,7 +264,7 @@ msgstr "Y"
msgid "Archives:" msgid "Archives:"
msgstr "Arkiv:" msgstr "Arkiv:"
#. translators: %s: Taxonomy singular name #. translators: %s: Taxonomy singular name.
#: inc/template-functions.php:90 #: inc/template-functions.php:90
msgid "%s Archives:" msgid "%s Archives:"
msgstr "Arkiv för %s:" msgstr "Arkiv för %s:"
@ -288,10 +297,9 @@ msgstr "Etikettarkiv:"
msgid "Category Archives: " msgid "Category Archives: "
msgstr "Kategoriarkiv:" msgstr "Kategoriarkiv:"
#. translators: %s: Name of current post. Only visible to screen readers #. translators: %s: Post title. Only visible to screen readers.
#. translators: %s: Name of current post. Only visible to screen readers. #: template-parts/header/entry-header.php:32
#: template-parts/content/content-page.php:41 #: template-parts/content/content-page.php:41 inc/template-tags.php:120
#: template-parts/header/entry-header.php:32 inc/template-tags.php:120
msgid "Edit <span class=\"screen-reader-text\">%s</span>" msgid "Edit <span class=\"screen-reader-text\">%s</span>"
msgstr "Redigera <span class=\"screen-reader-text\">%s</span>" msgstr "Redigera <span class=\"screen-reader-text\">%s</span>"
@ -299,11 +307,11 @@ msgstr "Redigera <span class=\"screen-reader-text\">%s</span>"
msgid "Skip to content" msgid "Skip to content"
msgstr "Hoppa till innehåll" msgstr "Hoppa till innehåll"
#: functions.php:61 template-parts/header/site-branding.php:46 #: template-parts/header/site-branding.php:46 functions.php:61
msgid "Social Links Menu" msgid "Social Links Menu"
msgstr "Meny för sociala länkar" msgstr "Meny för sociala länkar"
#: functions.php:59 functions.php:146 #: functions.php:59
msgid "Primary" msgid "Primary"
msgstr "Huvudmeny" msgstr "Huvudmeny"
@ -328,7 +336,7 @@ msgstr "Föregående"
msgid "Comments" msgid "Comments"
msgstr "Kommentarer" msgstr "Kommentarer"
#. translators: 1: number of comments, 2: post title #. translators: 1: Number of comments, 2: Post title.
#: comments.php:44 #: comments.php:44
msgctxt "comments title" msgctxt "comments title"
msgid "%1$s reply on &ldquo;%2$s&rdquo;" msgid "%1$s reply on &ldquo;%2$s&rdquo;"
@ -336,7 +344,7 @@ msgid_plural "%1$s replies on &ldquo;%2$s&rdquo;"
msgstr[0] "%1$s svar på ”%2$s”" msgstr[0] "%1$s svar på ”%2$s”"
msgstr[1] "%1$s svar på ”%2$s”" msgstr[1] "%1$s svar på ”%2$s”"
#. translators: %s: post title #. translators: %s: Post title.
#: comments.php:40 #: comments.php:40
msgctxt "comments title" msgctxt "comments title"
msgid "One reply on &ldquo;%s&rdquo;" msgid "One reply on &ldquo;%s&rdquo;"
@ -350,20 +358,21 @@ msgstr "Lämna en kommentar"
msgid "Join the Conversation" msgid "Join the Conversation"
msgstr "Delta i diskussionen" msgstr "Delta i diskussionen"
#: classes/class-twentynineteen-walker-comment.php:99 #: classes/class-twentynineteen-walker-comment.php:94
msgid "Your comment is awaiting moderation." msgid "Your comment is awaiting moderation."
msgstr "Din kommentar inväntar granskning." msgstr "Din kommentar inväntar granskning."
#: classes/class-twentynineteen-walker-comment.php:94 #: classes/class-twentynineteen-walker-comment.php:87
msgid "Edit" msgid "Edit"
msgstr "Redigera" msgstr "Redigera"
#. translators: 1: comment date, 2: comment time #. translators: 1: Comment date, 2: Comment time.
#: classes/class-twentynineteen-walker-comment.php:86 #: classes/class-twentynineteen-walker-comment.php:79
msgid "%1$s at %2$s" msgid "%1$s at %2$s"
msgstr "%1$s \\k\\l. %2$s" msgstr "%1$s \\k\\l. %2$s"
#: classes/class-twentynineteen-walker-comment.php:66 #. translators: %s: Comment author link.
#: classes/class-twentynineteen-walker-comment.php:59
msgid "%s <span class=\"screen-reader-text says\">says:</span>" msgid "%s <span class=\"screen-reader-text says\">says:</span>"
msgstr "%s <span class=\"screen-reader-text says\">säger:</span>" msgstr "%s <span class=\"screen-reader-text says\">säger:</span>"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Seventeen package. # This file is distributed under the same license as the Themes - Twenty Seventeen package.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2018-11-02 11:53:35+0000\n" "PO-Revision-Date: 2020-03-31 20:57:10+0000\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -23,30 +23,30 @@ msgstr "Twenty Seventeen"
msgid "Footer" msgid "Footer"
msgstr "Sidfot" msgstr "Sidfot"
#: functions.php:338 #: functions.php:340
msgid "Add widgets here to appear in your sidebar on blog posts and archive pages." msgid "Add widgets here to appear in your sidebar on blog posts and archive pages."
msgstr "Lägg till widgetar här som kommer att visas i sidokolumnen för blogginlägg och arkivsidor." msgstr "Lägg till widgetar här som kommer att visas i sidokolumnen för blogginlägg och arkivsidor."
#: sidebar.php:18 functions.php:336 #: functions.php:338 sidebar.php:18
msgid "Blog Sidebar" msgid "Blog Sidebar"
msgstr "Sidokolumn för blogg" msgstr "Sidokolumn för blogg"
#: template-parts/navigation/navigation-top.php:31
#: template-parts/header/site-branding.php:34 #: template-parts/header/site-branding.php:34
#: template-parts/navigation/navigation-top.php:31
msgid "Scroll down to content" msgid "Scroll down to content"
msgstr "Rulla ned till innehållet" msgstr "Rulla ned till innehållet"
#: functions.php:179 #: functions.php:181
msgctxt "Theme starter content" msgctxt "Theme starter content"
msgid "Coffee" msgid "Coffee"
msgstr "Kaffe" msgstr "Kaffe"
#: functions.php:175 #: functions.php:177
msgctxt "Theme starter content" msgctxt "Theme starter content"
msgid "Sandwich" msgid "Sandwich"
msgstr "Macka" msgstr "Macka"
#: functions.php:171 #: functions.php:173
msgctxt "Theme starter content" msgctxt "Theme starter content"
msgid "Espresso" msgid "Espresso"
msgstr "Espresso" msgstr "Espresso"
@ -59,9 +59,10 @@ msgstr "Pausa bakgrundsvideo"
msgid "Play background video" msgid "Play background video"
msgstr "Spela bakgrundsvideo" msgstr "Spela bakgrundsvideo"
#: inc/template-tags.php:151 #. translators: %s: The section ID.
msgid "Front Page Section %1$s Placeholder" #: inc/template-tags.php:158
msgstr "Platshållare för förstasidessektionen %1$s" msgid "Front Page Section %s Placeholder"
msgstr "Platshållare för förstasidessektionen %s"
#: inc/customizer.php:109 #: inc/customizer.php:109
msgid "When the two-column layout is assigned, the page title is in one column and content is in the other." msgid "When the two-column layout is assigned, the page title is in one column and content is in the other."
@ -83,17 +84,17 @@ msgstr "Taggar"
msgid "Categories" msgid "Categories"
msgstr "Kategorier" msgstr "Kategorier"
#. translators: used between list items, there is a space after the comma #. translators: Used between list items, there is a space after the comma.
#: inc/template-tags.php:66 #: inc/template-tags.php:66
msgid ", " msgid ", "
msgstr ", " msgstr ", "
#. translators: %s: post date #. translators: %s: Post date.
#: inc/template-tags.php:52 #: inc/template-tags.php:52
msgid "<span class=\"screen-reader-text\">Posted on</span> %s" msgid "<span class=\"screen-reader-text\">Posted on</span> %s"
msgstr "<span class=\"screen-reader-text\">Publicerat</span> %s" msgstr "<span class=\"screen-reader-text\">Publicerat</span> %s"
#. translators: %s: post author #. translators: %s: Post author.
#: inc/template-tags.php:21 #: inc/template-tags.php:21
msgid "by %s" msgid "by %s"
msgstr "av %s" msgstr "av %s"
@ -110,7 +111,7 @@ msgstr "Ange standard-parametrar i form av en array."
msgid "Select pages to feature in each area from the dropdowns. Add an image to a section by setting a featured image in the page editor. Empty sections will not be displayed." msgid "Select pages to feature in each area from the dropdowns. Add an image to a section by setting a featured image in the page editor. Empty sections will not be displayed."
msgstr "Välj sidor som ska framhävas i varje sektions rullgardinsmenyer. Lägg till en bild i en sektion genom att ställa in en utvald bild i sidredigeraren. Tomma sektioner visas ej." msgstr "Välj sidor som ska framhävas i varje sektions rullgardinsmenyer. Lägg till en bild i en sektion genom att ställa in en utvald bild i sidredigeraren. Tomma sektioner visas ej."
#. translators: %d is the front page section number #. translators: %d: The front page section number.
#: inc/customizer.php:142 #: inc/customizer.php:142
msgid "Front Page Section %d Content" msgid "Front Page Section %d Content"
msgstr "Innehåll för förstasidessektion %d" msgstr "Innehåll för förstasidessektion %d"
@ -147,25 +148,25 @@ msgstr "Färgschema"
msgid "Default Header Image" msgid "Default Header Image"
msgstr "Standard-sidhuvudsbild" msgstr "Standard-sidhuvudsbild"
#: functions.php:360 #: functions.php:362
msgid "Footer 2" msgid "Footer 2"
msgstr "Sidfot 2" msgstr "Sidfot 2"
#: functions.php:350 functions.php:362 #: functions.php:352 functions.php:364
msgid "Add widgets here to appear in your footer." msgid "Add widgets here to appear in your footer."
msgstr "Lägg till widgets som ska visas i sidfoten här." msgstr "Lägg till widgets som ska visas i sidfoten här."
#: functions.php:348 #: functions.php:350
msgid "Footer 1" msgid "Footer 1"
msgstr "Sidfot 1" msgstr "Sidfot 1"
#: functions.php:289 #: functions.php:290
msgctxt "Libre Franklin font: on or off" msgctxt "Libre Franklin font: on or off"
msgid "on" msgid "on"
msgstr "on" msgstr "on"
#: template-parts/navigation/navigation-top.php:12 functions.php:64 #: template-parts/navigation/navigation-top.php:12 functions.php:64
#: functions.php:203 #: functions.php:205
msgid "Top Menu" msgid "Top Menu"
msgstr "Toppmeny" msgstr "Toppmeny"
@ -173,19 +174,20 @@ msgstr "Toppmeny"
msgid "Reply" msgid "Reply"
msgstr "Svara" msgstr "Svara"
#: template-parts/post/content-none.php:28 #: template-parts/post/content-none.php:33
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help." msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en sökning hjälpa." msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en sökning hjälpa."
#: search.php:54 #: search.php:59
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords." msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord." msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord."
#: template-parts/post/content-none.php:24 #. translators: %s: Post editor URL.
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>." #: template-parts/post/content-none.php:27
msgstr "Är du redo att posta ditt första inlägg? <a href=\"%1$s\">Starta här</a>." msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>."
msgstr "Är du redo att posta ditt första inlägg? <a href=\"%s\">Starta här</a>."
#: template-parts/post/content-none.php:17 search.php:21 #: template-parts/post/content-none.php:17 search.php:26
msgid "Nothing Found" msgid "Nothing Found"
msgstr "Kunde inte hittas" msgstr "Kunde inte hittas"
@ -216,17 +218,18 @@ msgctxt "label"
msgid "Search for:" msgid "Search for:"
msgstr "Sök efter:" msgstr "Sök efter:"
#: search.php:19 #. translators: Search query.
#: search.php:22
msgid "Search Results for: %s" msgid "Search Results for: %s"
msgstr "Sökresultat för: %s" msgstr "Sökresultat för: %s"
#. translators: %s: Name of current post #. translators: %s: Post title.
#: template-parts/page/content-front-page-panels.php:45 #: template-parts/post/content.php:57 template-parts/post/content-audio.php:84
#: template-parts/page/content-front-page.php:42 #: template-parts/post/content-image.php:61
#: template-parts/post/content-audio.php:84 template-parts/post/content.php:57
#: template-parts/post/content-gallery.php:71
#: template-parts/post/content-video.php:83 #: template-parts/post/content-video.php:83
#: template-parts/post/content-image.php:61 functions.php:390 #: template-parts/post/content-gallery.php:71
#: template-parts/page/content-front-page.php:42
#: template-parts/page/content-front-page-panels.php:45 functions.php:392
msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>" msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>"
msgstr "Fortsätt läsa<span class=\"screen-reader-text\"> \"%s\"</span>" msgstr "Fortsätt läsa<span class=\"screen-reader-text\"> \"%s\"</span>"
@ -234,20 +237,21 @@ msgstr "Fortsätt läsa<span class=\"screen-reader-text\"> \"%s\"</span>"
msgid "Dark" msgid "Dark"
msgstr "Mörkt" msgstr "Mörkt"
#: inc/back-compat.php:39 inc/back-compat.php:52 inc/back-compat.php:70 #. translators: %s: The current WordPress version.
#: inc/back-compat.php:40 inc/back-compat.php:54 inc/back-compat.php:73
msgid "Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again." msgid "Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again."
msgstr "Twenty Seventeen kräver minst version 4.7 av WordPress. Du kör version %s. Vänligen uppdatera WordPress och försök igen." msgstr "Twenty Seventeen kräver minst version 4.7 av WordPress. Du kör version %s. Vänligen uppdatera WordPress och försök igen."
#. translators: %s: Name of current post #. translators: %s: Post title.
#: inc/template-tags.php:117 #: inc/template-tags.php:117
msgid "Edit<span class=\"screen-reader-text\"> \"%s\"</span>" msgid "Edit<span class=\"screen-reader-text\"> \"%s\"</span>"
msgstr "Redigera<span class=\"screen-reader-text\"> ”%s”</span>" msgstr "Redigera<span class=\"screen-reader-text\"> ”%s”</span>"
#: template-parts/page/content-page.php:26 #: template-parts/post/content.php:64 template-parts/post/content-audio.php:91
#: template-parts/post/content-audio.php:91 template-parts/post/content.php:64
#: template-parts/post/content-gallery.php:78
#: template-parts/post/content-video.php:90
#: template-parts/post/content-image.php:68 #: template-parts/post/content-image.php:68
#: template-parts/post/content-video.php:90
#: template-parts/post/content-gallery.php:78
#: template-parts/page/content-page.php:26
msgid "Pages:" msgid "Pages:"
msgstr "Sidor:" msgstr "Sidor:"
@ -259,19 +263,20 @@ msgstr "Meny"
msgid "Skip to content" msgid "Skip to content"
msgstr "Hoppa till innehåll" msgstr "Hoppa till innehåll"
#: functions.php:482 #: functions.php:484
msgid "Collapse child menu" msgid "Collapse child menu"
msgstr "Minimera undermeny" msgstr "Minimera undermeny"
#: functions.php:481 #: functions.php:483
msgid "Expand child menu" msgid "Expand child menu"
msgstr "Expandera undermeny" msgstr "Expandera undermeny"
#: functions.php:65 functions.php:214 #: functions.php:65 functions.php:216
msgid "Social Links Menu" msgid "Social Links Menu"
msgstr "Meny för sociala länkar" msgstr "Meny för sociala länkar"
#: template-parts/footer/site-info.php:19 #. translators: %s: WordPress
#: template-parts/footer/site-info.php:21
msgid "Proudly powered by %s" msgid "Proudly powered by %s"
msgstr "Drivs med %s" msgstr "Drivs med %s"
@ -283,7 +288,7 @@ msgstr "Social länkmeny sidfot"
msgid "Comments are closed." msgid "Comments are closed."
msgstr "Kommentarer kan inte lämnas på detta inlägg." msgstr "Kommentarer kan inte lämnas på detta inlägg."
#. translators: 1: number of comments, 2: post title #. translators: 1: Number of comments, 2: Post title.
#: comments.php:41 #: comments.php:41
msgctxt "comments title" msgctxt "comments title"
msgid "%1$s Reply to &ldquo;%2$s&rdquo;" msgid "%1$s Reply to &ldquo;%2$s&rdquo;"
@ -291,13 +296,13 @@ msgid_plural "%1$s Replies to &ldquo;%2$s&rdquo;"
msgstr[0] "%1$s svar på ”%2$s”" msgstr[0] "%1$s svar på ”%2$s”"
msgstr[1] "%1$s svar på ”%2$s”" msgstr[1] "%1$s svar på ”%2$s”"
#. translators: %s: post title #. translators: %s: Post title.
#: comments.php:37 #: comments.php:37
msgctxt "comments title" msgctxt "comments title"
msgid "One Reply to &ldquo;%s&rdquo;" msgid "One Reply to &ldquo;%s&rdquo;"
msgstr "Ett svar på ”%s”" msgstr "Ett svar på ”%s”"
#: archive.php:50 search.php:47 index.php:54 #: index.php:55 archive.php:51 search.php:52
msgid "Page" msgid "Page"
msgstr "Sida" msgstr "Sida"
@ -309,11 +314,11 @@ msgstr "Ojdå! Sidan kunde inte hittas."
msgid "It looks like nothing was found at this location. Maybe try a search?" msgid "It looks like nothing was found at this location. Maybe try a search?"
msgstr "Det verkar inte som något kunde hittas för den här platsen. Testa en sökning kanske?" msgstr "Det verkar inte som något kunde hittas för den här platsen. Testa en sökning kanske?"
#: archive.php:48 search.php:45 index.php:52 #: index.php:53 archive.php:49 search.php:50
msgid "Previous page" msgid "Previous page"
msgstr "Föregående sida" msgstr "Föregående sida"
#: archive.php:49 search.php:46 index.php:53 #: index.php:54 archive.php:50 search.php:51
msgid "Next page" msgid "Next page"
msgstr "Nästa sida" msgstr "Nästa sida"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Ten package. # This file is distributed under the same license as the Themes - Twenty Ten package.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2019-03-23 10:32:07+0000\n" "PO-Revision-Date: 2020-03-31 20:59:15+0000\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -19,36 +19,41 @@ msgstr "Temat 2010 för WordPress är ett stilfullt, anpassningsbart, enkelt och
msgid "Twenty Ten" msgid "Twenty Ten"
msgstr "Twenty Ten" msgstr "Twenty Ten"
#: functions.php:437
msgid "Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved."
msgstr "Din kommentar inväntar granskning. Detta är en förhandsvisning. Din kommentar blir synlig när den har godkänts."
#. translators: %s: The post title. #. translators: %s: The post title.
#: comments.php:40 #: comments.php:40
msgid "One Response to %s" msgid "One Response to %s"
msgstr "Ett svar på %s" msgstr "Ett svar på %s"
#: functions.php:90 #: functions.php:112
msgid "Blue" msgid "White"
msgstr "Blått" msgstr "Vitt"
#: functions.php:95 #: functions.php:107
msgid "Black"
msgstr "Svart"
#: functions.php:100
msgid "Medium Gray"
msgstr "Mellangrått"
#: functions.php:105
msgid "Light Gray" msgid "Light Gray"
msgstr "Ljusgrått" msgstr "Ljusgrått"
#: functions.php:110 #: functions.php:102
msgid "White" msgid "Medium Gray"
msgstr "Vitt" msgstr "Mellangrått"
#: functions.php:97
msgid "Black"
msgstr "Svart"
#: functions.php:92
msgid "Blue"
msgstr "Blått"
#. Template Name of the theme #. Template Name of the theme
msgid "One column, no sidebar" msgid "One column, no sidebar"
msgstr "En kolumn, utan sidofält" msgstr "En kolumn, utan sidofält"
#: tag.php:17 #. translators: %s: Tag title.
#: tag.php:18
msgid "Tag Archives: %s" msgid "Tag Archives: %s"
msgstr "Etikettarkiv: %s" msgstr "Etikettarkiv: %s"
@ -60,60 +65,65 @@ msgstr "Meta"
msgid "Archives" msgid "Archives"
msgstr "Arkiv" msgstr "Arkiv"
#: search.php:29 #: search.php:34
msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords." msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords."
msgstr "Ledsen, men inga matchande resultat kunde hittas baserat på dina kriterier. Var vänlig försök med andra sökord." msgstr "Ledsen, men inga matchande resultat kunde hittas baserat på dina kriterier. Var vänlig försök med andra sökord."
#: search.php:27 #: search.php:32
msgid "Nothing Found" msgid "Nothing Found"
msgstr "Inget kunde hittas" msgstr "Inget kunde hittas"
#: search.php:16 #. translators: %s: Search query.
#: search.php:19
msgid "Search Results for: %s" msgid "Search Results for: %s"
msgstr "Sökresultat för: %s" msgstr "Sökresultat för: %s"
#: loop.php:176 #. translators: 1: CSS classes, 2: Category list.
#: loop.php:186
msgid "<span class=\"%1$s\">Tagged</span> %2$s" msgid "<span class=\"%1$s\">Tagged</span> %2$s"
msgstr "<span class=\"%1$s\">Etiketter</span> %2$s" msgstr "<span class=\"%1$s\">Etiketter</span> %2$s"
#: loop.php:167 #. translators: 1: CSS classes, 2: Category list.
#: loop.php:174
msgid "<span class=\"%1$s\">Posted in</span> %2$s" msgid "<span class=\"%1$s\">Posted in</span> %2$s"
msgstr "<span class=\"%1$s\">Publicerat i</span> %2$s" msgstr "<span class=\"%1$s\">Publicerat i</span> %2$s"
#: loop.php:115 #: loop.php:120
msgctxt "asides category slug" msgctxt "asides category slug"
msgid "asides" msgid "asides"
msgstr "notiser" msgstr "notiser"
#: loop.php:108 loop.php:131 loop.php:180 #: loop.php:113 loop.php:136 loop.php:191
msgid "% Comments" msgid "% Comments"
msgstr "% kommentarer" msgstr "% kommentarer"
#: loop.php:108 loop.php:131 loop.php:180 #: loop.php:113 loop.php:136 loop.php:191
msgid "1 Comment" msgid "1 Comment"
msgstr "1 kommentar" msgstr "1 kommentar"
#: loop.php:108 loop.php:131 loop.php:180 #: loop.php:113 loop.php:136 loop.php:191
msgid "Leave a comment" msgid "Leave a comment"
msgstr "Lämna en kommentar" msgstr "Lämna en kommentar"
#: loop.php:105 #: loop.php:110
msgid "View posts in the Gallery category" msgid "View posts in the Gallery category"
msgstr "Visa inlägg i gallerikategorin" msgstr "Visa inlägg i gallerikategorin"
#: loop.php:102 loop.php:105 #: loop.php:107 loop.php:110
msgid "More Galleries" msgid "More Galleries"
msgstr "Fler gallerier" msgstr "Fler gallerier"
#: loop.php:102 #: loop.php:107
msgid "View Galleries" msgid "View Galleries"
msgstr "Visa gallerier" msgstr "Visa gallerier"
#: loop.php:90 #. translators: %s: Post title.
#: loop.php:92
msgid "Permalink to %s" msgid "Permalink to %s"
msgstr "Permanent länk till %s" msgstr "Permanent länk till %s"
#: loop.php:89 #. translators: 1: HTML tag attributes, 2: Image count.
#: loop.php:90
msgid "This gallery contains <a %1$s>%2$s photo</a>." msgid "This gallery contains <a %1$s>%2$s photo</a>."
msgid_plural "This gallery contains <a %1$s>%2$s photos</a>." msgid_plural "This gallery contains <a %1$s>%2$s photos</a>."
msgstr[0] "Detta galleri innehåller <a %1$s>%2$s bild</a>." msgstr[0] "Detta galleri innehåller <a %1$s>%2$s bild</a>."
@ -128,196 +138,210 @@ msgstr "galleri"
msgid "Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post." msgid "Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post."
msgstr "Tyvärr så kunde inga resultat hittas för efterfrågat arkiv. Kanske kan en sökning hjälpa dig att hitta relaterande inlägg." msgstr "Tyvärr så kunde inga resultat hittas för efterfrågat arkiv. Kanske kan en sökning hjälpa dig att hitta relaterande inlägg."
#: loop.php:26 loop.php:195 #: loop.php:26 loop.php:206
msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>" msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>"
msgstr "Nyare inlägg <span class=\"meta-nav\">&rarr;</span>" msgstr "Nyare inlägg <span class=\"meta-nav\">&rarr;</span>"
#: loop.php:25 loop.php:194 #: loop.php:25 loop.php:205
msgid "<span class=\"meta-nav\">&larr;</span> Older posts" msgid "<span class=\"meta-nav\">&larr;</span> Older posts"
msgstr "<span class=\"meta-nav\">&larr;</span> Äldre inlägg" msgstr "<span class=\"meta-nav\">&larr;</span> Äldre inlägg"
#: loop-single.php:61 #. translators: %s: Author display name.
#: loop-single.php:69
msgid "View all posts by %s <span class=\"meta-nav\">&rarr;</span>" msgid "View all posts by %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">&rarr;</span>" msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">&rarr;</span>"
#: loop-single.php:26 loop-single.php:76 #: loop-single.php:26 loop-single.php:85
msgctxt "Next post link" msgctxt "Next post link"
msgid "&rarr;" msgid "&rarr;"
msgstr "&rarr;" msgstr "&rarr;"
#: loop-single.php:25 loop-single.php:75 #: loop-single.php:25 loop-single.php:84
msgctxt "Previous post link" msgctxt "Previous post link"
msgid "&larr;" msgid "&larr;"
msgstr "&larr;" msgstr "&larr;"
#: loop-page.php:36 loop-attachment.php:155 loop.php:156 loop-single.php:41 #: loop-attachment.php:165 loop.php:161 loop-page.php:36 loop-single.php:41
msgid "Pages:" msgid "Pages:"
msgstr "Sidor:" msgstr "Sidor:"
#: loop-page.php:41 loop-attachment.php:75 loop-attachment.php:165 loop.php:109 #: loop-attachment.php:83 loop-attachment.php:175 loop.php:114 loop.php:137
#: loop.php:132 loop.php:181 loop-single.php:70 #: loop.php:192 loop-page.php:41 loop-single.php:79
msgid "Edit" msgid "Edit"
msgstr "Redigera" msgstr "Redigera"
#: loop-attachment.php:68 #: loop-attachment.php:76
msgid "Link to full-size image" msgid "Link to full-size image"
msgstr "Länk till bild i originalstorlek" msgstr "Länk till bild i originalstorlek"
#: loop-attachment.php:64 #. translators: %s: Image dimensions.
#: loop-attachment.php:72
msgid "Full size is %s pixels" msgid "Full size is %s pixels"
msgstr "Full storlek är %s pixlar" msgstr "Full storlek är %s pixlar"
#: loop-attachment.php:52 #. translators: 1: CSS classes, 2: Date.
#: loop-attachment.php:59
msgid "<span class=\"%1$s\">Published</span> %2$s" msgid "<span class=\"%1$s\">Published</span> %2$s"
msgstr "<span class=\"%1$s\">Publicerat</span> %2$s" msgstr "<span class=\"%1$s\">Publicerat</span> %2$s"
#: loop-attachment.php:39 #. translators: %s: Author display name.
#: loop-attachment.php:44
msgid "<span class=\"%1$s\">By</span> %2$s" msgid "<span class=\"%1$s\">By</span> %2$s"
msgstr "<span class=\"%1$s\">Av</span> %2$s" msgstr "<span class=\"%1$s\">Av</span> %2$s"
#. translators: %s - title of parent post #. translators: %s: Title of parent post.
#: loop-attachment.php:28 #: loop-attachment.php:32
msgid "<span class=\"meta-nav\">&larr;</span> %s" msgid "<span class=\"meta-nav\">&larr;</span> %s"
msgstr "<span class=\"meta-nav\">&larr;</span> %s" msgstr "<span class=\"meta-nav\">&larr;</span> %s"
#: loop-attachment.php:25 #. translators: %s: Post title.
#: loop-attachment.php:27
msgid "Return to %s" msgid "Return to %s"
msgstr "Tillbaka till %s" msgstr "Tillbaka till %s"
#: header.php:110 #: header.php:114
msgid "Skip to content" msgid "Skip to content"
msgstr "Gå till innehåll" msgstr "Gå till innehåll"
#: header.php:35 #. translators: %s: Page number.
#: header.php:36
msgid "Page %s" msgid "Page %s"
msgstr "Sida %s" msgstr "Sida %s"
#: functions.php:621 #. translators: 3: Post permalink, 4: Post title.
#: functions.php:641
msgid "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." msgid "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
msgstr "Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänk</a>." msgstr "Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänk</a>."
#: functions.php:619 #. translators: 1: Category name, 3: Post permalink, 4: Post title.
#: functions.php:638
msgid "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." msgid "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
msgstr "Det här inlägget postades i %1$s. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>. " msgstr "Det här inlägget postades i %1$s. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>. "
#: functions.php:617 #. translators: 1: Category name, 2: Tag name, 3: Post permalink, 4: Post
#. title.
#: functions.php:635
msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
msgstr "Det här inlägget postades i %1$s och har märkts med etiketterna %2$s. Bokmärk <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalänken</a>." msgstr "Det här inlägget postades i %1$s och har märkts med etiketterna %2$s. Bokmärk <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalänken</a>."
#: functions.php:600 loop-attachment.php:44 #. translators: %s: Author display name.
#: loop-attachment.php:50 functions.php:617
msgid "View all posts by %s" msgid "View all posts by %s"
msgstr "Visa alla inlägg av %s" msgstr "Visa alla inlägg av %s"
#: functions.php:589 #. translators: 1: CSS classes, 2: Date, 3: Author display name.
#: functions.php:605
msgid "<span class=\"%1$s\">Posted on</span> %2$s <span class=\"meta-sep\">by</span> %3$s" msgid "<span class=\"%1$s\">Posted on</span> %2$s <span class=\"meta-sep\">by</span> %3$s"
msgstr "<span class=\"%1$s\">Postat den</span> %2$s <span class=\"meta-sep\">av</span> %3$s" msgstr "<span class=\"%1$s\">Postat den</span> %2$s <span class=\"meta-sep\">av</span> %3$s"
#: functions.php:551 #: functions.php:566
msgid "Fourth Footer Widget Area" msgid "Fourth Footer Widget Area"
msgstr "Fjärde widgetfält i sidfot" msgstr "Fjärde widgetfält i sidfot"
#: functions.php:538 #: functions.php:553
msgid "Third Footer Widget Area" msgid "Third Footer Widget Area"
msgstr "Tredje widgetfält i sidfot" msgstr "Tredje widgetfält i sidfot"
#: functions.php:525 #: functions.php:540
msgid "Second Footer Widget Area" msgid "Second Footer Widget Area"
msgstr "Andra widgetfält i sidfot" msgstr "Andra widgetfält i sidfot"
#: functions.php:514 functions.php:527 functions.php:540 functions.php:553 #: functions.php:529 functions.php:542 functions.php:555 functions.php:568
msgid "An optional widget area for your site footer." msgid "An optional widget area for your site footer."
msgstr "Ett valfritt widgetfält för din sidfot." msgstr "Ett valfritt widgetfält för din sidfot."
#: functions.php:512 #: functions.php:527
msgid "First Footer Widget Area" msgid "First Footer Widget Area"
msgstr "Första widgetfält i sidfot" msgstr "Första widgetfält i sidfot"
#: functions.php:501 #: functions.php:516
msgid "An optional secondary widget area, displays below the primary widget area in your sidebar." msgid "An optional secondary widget area, displays below the primary widget area in your sidebar."
msgstr "Ett valfritt sekundärt widgetfält, visas under det primära widgetfältet i din sidopanel." msgstr "Ett valfritt sekundärt widgetfält, visas under det primära widgetfältet i din sidopanel."
#: functions.php:499 #: functions.php:514
msgid "Secondary Widget Area" msgid "Secondary Widget Area"
msgstr "Sekundärt widgetfält" msgstr "Sekundärt widgetfält"
#: functions.php:488 #: functions.php:503
msgid "Add widgets here to appear in your sidebar." msgid "Add widgets here to appear in your sidebar."
msgstr "Lägg till widgets som ska visas i din sidopanel här." msgstr "Lägg till widgets som ska visas i din sidopanel här."
#: functions.php:486 #: functions.php:501
msgid "Primary Widget Area" msgid "Primary Widget Area"
msgstr "Primärt widgetfält" msgstr "Primärt widgetfält"
#: functions.php:465 #: functions.php:480
msgid "Pingback:" msgid "Pingback:"
msgstr "Pingback: " msgstr "Pingback: "
#: functions.php:438 functions.php:465 #: functions.php:453 functions.php:480
msgid "(Edit)" msgid "(Edit)"
msgstr "(Redigera)" msgstr "(Redigera)"
#. translators: 1: date, 2: time #. translators: 1: Date, 2: Time.
#: functions.php:434 #: functions.php:449
msgid "%1$s at %2$s" msgid "%1$s at %2$s"
msgstr "%1$s kl. %2$s" msgstr "%1$s kl. %2$s"
#: functions.php:427 #: functions.php:435
msgid "Your comment is awaiting moderation." msgid "Your comment is awaiting moderation."
msgstr "Din kommentar inväntar granskning." msgstr "Din kommentar inväntar granskning."
#: functions.php:424 #. translators: %s: Author display name.
#: functions.php:428
msgid "%s <span class=\"says\">says:</span>" msgid "%s <span class=\"says\">says:</span>"
msgstr "%s <span class=\"says\">skriver:</span>" msgstr "%s <span class=\"says\">skriver:</span>"
#: functions.php:327 loop-attachment.php:151 loop.php:124 loop.php:152 #: loop-attachment.php:161 loop.php:129 loop.php:157 functions.php:329
msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>" msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>"
msgstr "Läs mer <span class=\"meta-nav\">&rarr;</span>" msgstr "Läs mer <span class=\"meta-nav\">&rarr;</span>"
#. translators: header image description #. translators: Header image description.
#: functions.php:252 #: functions.php:254
msgid "Sunset" msgid "Sunset"
msgstr "Solnedgång" msgstr "Solnedgång"
#. translators: header image description #. translators: Header image description.
#: functions.php:246 #: functions.php:248
msgid "Path" msgid "Path"
msgstr "Sökväg" msgstr "Sökväg"
#. translators: header image description #. translators: Header image description.
#: functions.php:240 #: functions.php:242
msgid "Inkwell" msgid "Inkwell"
msgstr "Färgbrunn" msgstr "Färgbrunn"
#. translators: header image description #. translators: Header image description.
#: functions.php:234 #: functions.php:236
msgid "Forest Floor" msgid "Forest Floor"
msgstr "Skogsmatta" msgstr "Skogsmatta"
#. translators: header image description #. translators: Header image description.
#: functions.php:228 #: functions.php:230
msgid "Fern" msgid "Fern"
msgstr "Ormbunke" msgstr "Ormbunke"
#. translators: header image description #. translators: Header image description.
#: functions.php:222 #: functions.php:224
msgid "Concave" msgid "Concave"
msgstr "Konkav" msgstr "Konkav"
#. translators: header image description #. translators: Header image description.
#: functions.php:216 #: functions.php:218
msgid "Cherry Blossoms" msgid "Cherry Blossoms"
msgstr "Körsbärsblom" msgstr "Körsbärsblom"
#. translators: header image description #. translators: Header image description.
#: functions.php:210 #: functions.php:212
msgid "Berries" msgid "Berries"
msgstr "Bär" msgstr "Bär"
#: functions.php:135 #: functions.php:137
msgid "Primary Navigation" msgid "Primary Navigation"
msgstr "Primär navigation" msgstr "Primär navigation"
#: footer.php:47 #. translators: %s: WordPress
#: footer.php:49
msgid "Proudly powered by %s." msgid "Proudly powered by %s."
msgstr "Drivs med %s." msgstr "Drivs med %s."
@ -337,6 +361,7 @@ msgstr "Nyare kommentarer <span class=\"meta-nav\">&rarr;</span>"
msgid "<span class=\"meta-nav\">&larr;</span> Older Comments" msgid "<span class=\"meta-nav\">&larr;</span> Older Comments"
msgstr "<span class=\"meta-nav\">&larr;</span> Äldre kommentarer" msgstr "<span class=\"meta-nav\">&larr;</span> Äldre kommentarer"
#. translators: %1$s: The number of comments. %2$s: The post title.
#: comments.php:46 #: comments.php:46
msgid "%1$s Response to %2$s" msgid "%1$s Response to %2$s"
msgid_plural "%1$s Responses to %2$s" msgid_plural "%1$s Responses to %2$s"
@ -347,41 +372,49 @@ msgstr[1] "%1$s svar på %2$s"
msgid "This post is password protected. Enter the password to view any comments." msgid "This post is password protected. Enter the password to view any comments."
msgstr "Det här inlägget är lösenordsskyddat. Ange lösenordet för att se eventuella kommentarer." msgstr "Det här inlägget är lösenordsskyddat. Ange lösenordet för att se eventuella kommentarer."
#: category.php:17 #. translators: %s: Category title.
#: category.php:18
msgid "Category Archives: %s" msgid "Category Archives: %s"
msgstr "Kategoriarkiv: %s" msgstr "Kategoriarkiv: %s"
#: author.php:49 loop-single.php:57 #. translators: %s: Author display name.
#: loop-single.php:61 author.php:58
msgid "About %s" msgid "About %s"
msgstr "Om %s" msgstr "Om %s"
#: author.php:29 #. translators: %s: Author display name.
#: author.php:32
msgid "Author Archives: %s" msgid "Author Archives: %s"
msgstr "Författararkiv: %s" msgstr "Författararkiv: %s"
#: archive.php:41 #: archive.php:45
msgid "Blog Archives" msgid "Blog Archives"
msgstr "Bloggarkiv" msgstr "Bloggarkiv"
#: archive.php:39 #. translators: %s: Date.
#: archive.php:43
msgctxt "yearly archives date format" msgctxt "yearly archives date format"
msgid "Y" msgid "Y"
msgstr "Y" msgstr "Y"
#: archive.php:39 #. translators: %s: Date.
#: archive.php:43
msgid "Yearly Archives: <span>%s</span>" msgid "Yearly Archives: <span>%s</span>"
msgstr "Årsarkiv: <span>%s</span>" msgstr "Årsarkiv: <span>%s</span>"
#: archive.php:37 #. translators: %s: Date.
#: archive.php:40
msgctxt "monthly archives date format" msgctxt "monthly archives date format"
msgid "F Y" msgid "F Y"
msgstr "F Y" msgstr "F Y"
#: archive.php:37 #. translators: %s: Date.
#: archive.php:40
msgid "Monthly Archives: <span>%s</span>" msgid "Monthly Archives: <span>%s</span>"
msgstr "Månadsarkiv: <span>%s</span>" msgstr "Månadsarkiv: <span>%s</span>"
#: archive.php:35 #. translators: %s: Date.
#: archive.php:37
msgid "Daily Archives: <span>%s</span>" msgid "Daily Archives: <span>%s</span>"
msgstr "Dagsarkiv: <span>%s</span>" msgstr "Dagsarkiv: <span>%s</span>"
@ -389,7 +422,7 @@ msgstr "Dagsarkiv: <span>%s</span>"
msgid "Apologies, but the page you requested could not be found. Perhaps searching will help." msgid "Apologies, but the page you requested could not be found. Perhaps searching will help."
msgstr "Tyvärr så kunde inte sidan du efterfrågat hittas. Kanske kan en sökning hjälpa." msgstr "Tyvärr så kunde inte sidan du efterfrågat hittas. Kanske kan en sökning hjälpa."
#: 404.php:16 loop.php:33 #: loop.php:33 404.php:16
msgid "Not Found" msgid "Not Found"
msgstr "Kunde inte hittas" msgstr "Kunde inte hittas"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Thirteen package. # This file is distributed under the same license as the Themes - Twenty Thirteen package.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2019-02-22 13:05:04+0000\n" "PO-Revision-Date: 2020-03-31 20:58:29+0000\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -25,59 +25,62 @@ msgctxt "comments title"
msgid "One thought on &ldquo;%s&rdquo;" msgid "One thought on &ldquo;%s&rdquo;"
msgstr "En tanke kring ”%s”" msgstr "En tanke kring ”%s”"
#: functions.php:96 #: functions.php:147
msgid "Dark Gray"
msgstr "Mörkgrått"
#: functions.php:121
msgid "White"
msgstr "Vitt"
#: functions.php:126
msgid "Dark Brown"
msgstr "Mörkbrunt"
#: functions.php:131
msgid "Medium Brown"
msgstr "Mellanbrunt"
#: functions.php:101
msgid "Red"
msgstr "Röd"
#: functions.php:116
msgid "Yellow"
msgstr "Gult"
#: functions.php:106
msgid "Medium Orange"
msgstr "Mellanorange"
#: functions.php:111
msgid "Light Orange"
msgstr "Ljusorange"
#: functions.php:136
msgid "Light Brown"
msgstr "Ljusbrunt"
#: functions.php:141
msgid "Beige"
msgstr "Beige"
#: functions.php:146
msgid "Off-white" msgid "Off-white"
msgstr "Off-white" msgstr "Off-white"
#: taxonomy-post_format.php:23 #: functions.php:142
msgid "Beige"
msgstr "Beige"
#: functions.php:137
msgid "Light Brown"
msgstr "Ljusbrunt"
#: functions.php:132
msgid "Medium Brown"
msgstr "Mellanbrunt"
#: functions.php:127
msgid "Dark Brown"
msgstr "Mörkbrunt"
#: functions.php:122
msgid "White"
msgstr "Vitt"
#: functions.php:117
msgid "Yellow"
msgstr "Gult"
#: functions.php:112
msgid "Light Orange"
msgstr "Ljusorange"
#: functions.php:107
msgid "Medium Orange"
msgstr "Mellanorange"
#: functions.php:102
msgid "Red"
msgstr "Röd"
#: functions.php:97
msgid "Dark Gray"
msgstr "Mörkgrått"
#. translators: %s: Post format name.
#: taxonomy-post_format.php:26
msgid "%s Archives" msgid "%s Archives"
msgstr "Arkiv för %s" msgstr "Arkiv för %s"
#: tag.php:21 #. translators: Tag title.
#: tag.php:24
msgid "Tag Archives: %s" msgid "Tag Archives: %s"
msgstr "Etikettarkiv: %s" msgstr "Etikettarkiv: %s"
#: search.php:18 #. translators: %s: Search query.
#: search.php:21
msgid "Search Results for: %s" msgid "Search Results for: %s"
msgstr "Sökresultat för: %s" msgstr "Sökresultat för: %s"
@ -96,180 +99,183 @@ msgctxt "header image description"
msgid "Circle" msgid "Circle"
msgstr "Cirkel" msgstr "Cirkel"
#: inc/back-compat.php:37 inc/back-compat.php:48 inc/back-compat.php:64 #. translators: %s: WordPress version.
#: inc/back-compat.php:38 inc/back-compat.php:50 inc/back-compat.php:67
msgid "Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again." msgid "Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again."
msgstr "Twenty Thirteen kräver minst WordPress version 3.6. Du kör version %s. Vänligen uppdatera och försök igen." msgstr "Twenty Thirteen kräver minst WordPress version 3.6. Du kör version %s. Vänligen uppdatera och försök igen."
#: image.php:62 #: image.php:63
msgid "Next <span class=\"meta-nav\">&rarr;</span>" msgid "Next <span class=\"meta-nav\">&rarr;</span>"
msgstr "Nästa <span class=\"meta-nav\">&rarr;</span>" msgstr "Nästa <span class=\"meta-nav\">&rarr;</span>"
#: image.php:61 #: image.php:62
msgid "<span class=\"meta-nav\">&larr;</span> Previous" msgid "<span class=\"meta-nav\">&larr;</span> Previous"
msgstr "<span class=\"meta-nav\">&larr;</span> Föregående" msgstr "<span class=\"meta-nav\">&larr;</span> Föregående"
#: image.php:49 #: image.php:50
msgid "Full resolution" msgid "Full resolution"
msgstr "Full upplösning" msgstr "Full upplösning"
#: image.php:48 #: image.php:49
msgid "Link to full-size image" msgid "Link to full-size image"
msgstr "Länk till bild i originalstorlek" msgstr "Länk till bild i originalstorlek"
#: image.php:29 #. translators: 1: Date, 2: Date, 3, Parent permalink, 4, Post title, 5: Post
#. title.
#: image.php:30
msgid "<span class=\"attachment-meta\">Published on <time class=\"entry-date\" datetime=\"%1$s\">%2$s</time> in <a href=\"%3$s\" title=\"Return to %4$s\" rel=\"gallery\">%5$s</a></span>" msgid "<span class=\"attachment-meta\">Published on <time class=\"entry-date\" datetime=\"%1$s\">%2$s</time> in <a href=\"%3$s\" title=\"Return to %4$s\" rel=\"gallery\">%5$s</a></span>"
msgstr "<span class=\"attachment-meta\">Publicerat <time class=\"entry-date\" datetime=\"%1$s\">%2$s</time> i <a href=\"%3$s\" title=\"Tillbaka till %4$s\" rel=\"gallery\">%5$s</a></span>" msgstr "<span class=\"attachment-meta\">Publicerat <time class=\"entry-date\" datetime=\"%1$s\">%2$s</time> i <a href=\"%3$s\" title=\"Tillbaka till %4$s\" rel=\"gallery\">%5$s</a></span>"
#: header.php:44 #: header.php:45
msgid "Skip to content" msgid "Skip to content"
msgstr "Hoppa till innehåll" msgstr "Hoppa till innehåll"
#: header.php:43 #: header.php:44
msgid "Menu" msgid "Menu"
msgstr "Meny" msgstr "Meny"
#: functions.php:525 #. translators: %s: Post title.
#: functions.php:533
msgid "Permalink to %s" msgid "Permalink to %s"
msgstr "Permanent länk till %s" msgstr "Permanent länk till %s"
#: functions.php:517 #. translators: 1: Post format name, 2: Date.
#: functions.php:524
msgctxt "1: post format name. 2: date" msgctxt "1: post format name. 2: date"
msgid "%1$s on %2$s" msgid "%1$s on %2$s"
msgstr "%1$s den %2$s" msgstr "%1$s den %2$s"
#: functions.php:497 #. translators: %s: Author display name.
#: functions.php:503
msgid "View all posts by %s" msgid "View all posts by %s"
msgstr "Visa alla inlägg av %s" msgstr "Visa alla inlägg av %s"
#. Translators: used between list items, there is a space after the comma. #. translators: Used between list items, there is a space after the comma.
#: functions.php:481 functions.php:487 #: functions.php:486 functions.php:492
msgid ", " msgid ", "
msgstr ", " msgstr ", "
#: functions.php:473 #: functions.php:478
msgid "Sticky" msgid "Sticky"
msgstr "Klistrad" msgstr "Klistrad"
#: functions.php:455 #: functions.php:460
msgctxt "Next post link" msgctxt "Next post link"
msgid "%title <span class=\"meta-nav\">&rarr;</span>" msgid "%title <span class=\"meta-nav\">&rarr;</span>"
msgstr "%title <span class=\"meta-nav\">&rarr;</span>" msgstr "%title <span class=\"meta-nav\">&rarr;</span>"
#: functions.php:454 #: functions.php:459
msgctxt "Previous post link" msgctxt "Previous post link"
msgid "<span class=\"meta-nav\">&larr;</span> %title" msgid "<span class=\"meta-nav\">&larr;</span> %title"
msgstr "<span class=\"meta-nav\">&larr;</span> %title" msgstr "<span class=\"meta-nav\">&larr;</span> %title"
#: functions.php:451 #: functions.php:456
msgid "Post navigation" msgid "Post navigation"
msgstr "Inläggsnavigering" msgstr "Inläggsnavigering"
#: functions.php:424 #: functions.php:429
msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>" msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>"
msgstr "Nyare inlägg <span class=\"meta-nav\">&rarr;</span>" msgstr "Nyare inlägg <span class=\"meta-nav\">&rarr;</span>"
#: functions.php:420 #: functions.php:425
msgid "<span class=\"meta-nav\">&larr;</span> Older posts" msgid "<span class=\"meta-nav\">&larr;</span> Older posts"
msgstr "<span class=\"meta-nav\">&larr;</span> Äldre inlägg" msgstr "<span class=\"meta-nav\">&larr;</span> Äldre inlägg"
#: functions.php:416 #: functions.php:421
msgid "Posts navigation" msgid "Posts navigation"
msgstr "Inläggsnavigering" msgstr "Inläggsnavigering"
#: functions.php:391 #: functions.php:396
msgid "Appears on posts and pages in the sidebar." msgid "Appears on posts and pages in the sidebar."
msgstr "Visas i inlägg och på sidor i sidofältet." msgstr "Visas i inlägg och på sidor i sidofältet."
#: functions.php:389 #: functions.php:394
msgid "Secondary Widget Area" msgid "Secondary Widget Area"
msgstr "Sekundärt widgetfält" msgstr "Sekundärt widgetfält"
#: functions.php:379 #: functions.php:384
msgid "Appears in the footer section of the site." msgid "Appears in the footer section of the site."
msgstr "Visas i webbplatsens sidfot." msgstr "Visas i webbplatsens sidfot."
#: functions.php:377 #: functions.php:382
msgid "Main Widget Area" msgid "Main Widget Area"
msgstr "Primärt widgetfält" msgstr "Primärt widgetfält"
#: functions.php:362 #. translators: %s: Page number.
#: functions.php:367
msgid "Page %s" msgid "Page %s"
msgstr "Sida %s" msgstr "Sida %s"
#. Translators: If there are characters in your language that are not * #: functions.php:234
#. supported by Bitter, translate this to 'off'. Do not translate into your *
#. own language.
#: functions.php:231
msgctxt "Bitter font: on or off" msgctxt "Bitter font: on or off"
msgid "on" msgid "on"
msgstr "på" msgstr "på"
#. Translators: If there are characters in your language that are not * #: functions.php:228
#. supported by Source Sans Pro, translate this to 'off'. Do not translate *
#. into your own language.
#: functions.php:225
msgctxt "Source Sans Pro font: on or off" msgctxt "Source Sans Pro font: on or off"
msgid "on" msgid "on"
msgstr "på" msgstr "på"
#: functions.php:191 #: functions.php:194
msgid "Navigation Menu" msgid "Navigation Menu"
msgstr "Navigeringsmeny" msgstr "Navigeringsmeny"
#: footer.php:25 #. translators: %s: WordPress
#: footer.php:27
msgid "Proudly powered by %s" msgid "Proudly powered by %s"
msgstr "Drivs med %s" msgstr "Drivs med %s"
#: content-none.php:27 #: content-none.php:32
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help." msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en sökning hjälpa." msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en sökning hjälpa."
#: content-none.php:22 #: content-none.php:27
msgid "Sorry, but nothing matched your search terms. Please try again with different keywords." msgid "Sorry, but nothing matched your search terms. Please try again with different keywords."
msgstr "Beklagar, inget som matchade dina söktermer kunde hittas. Vänligen försök igen med andra sökord." msgstr "Beklagar, inget som matchade dina söktermer kunde hittas. Vänligen försök igen med andra sökord."
#: content-none.php:18 #. translators: %s: Post editor URL.
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>." #: content-none.php:21
msgstr "Är du redo att posta ditt första inlägg? <a href=\"%1$s\">Starta här</a>." msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>."
msgstr "Redo att publicera ditt första inlägg? <a href=\"%s\">Kom igång här</a>."
#: content-none.php:12 #: content-none.php:12
msgid "Nothing Found" msgid "Nothing Found"
msgstr "Kunde inte hittas" msgstr "Kunde inte hittas"
#: content-gallery.php:52 content-video.php:48 content-image.php:48 #: content-image.php:48 content-gallery.php:52 content.php:65
#: content-quote.php:38 content.php:65 #: content-video.php:48 content-quote.php:38
msgid "View all % comments" msgid "View all % comments"
msgstr "Visa alla % kommentarer" msgstr "Visa alla % kommentarer"
#: content-gallery.php:52 content-video.php:48 content-image.php:48 #: content-image.php:48 content-gallery.php:52 content.php:65
#: content-quote.php:38 content.php:65 #: content-video.php:48 content-quote.php:38
msgid "One comment so far" msgid "One comment so far"
msgstr "En kommentar så här långt" msgstr "En kommentar så här långt"
#: content-gallery.php:52 content-video.php:48 content-image.php:48 #: content-image.php:48 content-gallery.php:52 content.php:65
#: content-quote.php:38 content.php:65 #: content-video.php:48 content-quote.php:38
msgid "Leave a comment" msgid "Leave a comment"
msgstr "Lämna en kommentar" msgstr "Lämna en kommentar"
#: content-gallery.php:55 content-aside.php:36 content-aside.php:44 #: content-image.php:51 content-gallery.php:55 content.php:31
#: content-status.php:35 content-video.php:51 content-image.php:51 #: content-video.php:51 content-audio.php:47 image.php:55 content-status.php:35
#: content-link.php:19 content-audio.php:47 content-quote.php:41 image.php:54 #: page.php:51 content-chat.php:45 content-quote.php:41 content-aside.php:36
#: content-chat.php:45 content.php:31 page.php:51 #: content-aside.php:44 content-link.php:19
msgid "Edit" msgid "Edit"
msgstr "Redigera" msgstr "Redigera"
#: content-gallery.php:35 content-aside.php:24 content-status.php:24 #: content-image.php:34 content-gallery.php:35 content.php:52
#: content-video.php:34 content-image.php:34 content-link.php:35 #: content-video.php:34 content-audio.php:35 image.php:84 content-status.php:24
#: content-audio.php:35 content-quote.php:24 image.php:83 content-chat.php:34 #: page.php:41 content-chat.php:34 content-quote.php:24 content-aside.php:24
#: content.php:52 page.php:41 #: content-link.php:35
msgid "Pages:" msgid "Pages:"
msgstr "Sidor:" msgstr "Sidor:"
#. translators: %s: Name of current post #. translators: %s: Post title.
#: content-gallery.php:28 content-aside.php:17 content-status.php:17 #: content-image.php:27 functions.php:647 content-gallery.php:28 content.php:45
#: content-video.php:27 content-image.php:27 content-link.php:28 #: content-video.php:27 content-audio.php:28 content-status.php:17
#: content-audio.php:28 content-quote.php:17 functions.php:639 #: content-chat.php:27 content-quote.php:17 content-aside.php:17
#: content-chat.php:27 content.php:45 #: content-link.php:28
msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>" msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "Fortsätt läsa %s <span class=\"meta-nav\">&rarr;</span>" msgstr "Fortsätt läsa %s <span class=\"meta-nav\">&rarr;</span>"
@ -297,45 +303,54 @@ msgid_plural "%1$s thoughts on &ldquo;%2$s&rdquo;"
msgstr[0] "%1$s tanke kring ”%2$s”" msgstr[0] "%1$s tanke kring ”%2$s”"
msgstr[1] "%1$s tankar kring ”%2$s”" msgstr[1] "%1$s tankar kring ”%2$s”"
#: category.php:19 #. translators: %s: Category title.
#: category.php:22
msgid "Category Archives: %s" msgid "Category Archives: %s"
msgstr "Kategoriarkiv: %s" msgstr "Kategoriarkiv: %s"
#: author.php:31 #. translators: %s: Author display name.
#: author.php:34
msgid "All posts by %s" msgid "All posts by %s"
msgstr "Alla inlägg av %s" msgstr "Alla inlägg av %s"
#: author-bio.php:30 #. translators: %s: Author display name.
#: author-bio.php:37
msgid "View all posts by %s <span class=\"meta-nav\">&rarr;</span>" msgid "View all posts by %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">&rarr;</span>" msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">&rarr;</span>"
#: author-bio.php:26 #. translators: %s: Author display name.
#: author-bio.php:29
msgid "About %s" msgid "About %s"
msgstr "Om %s" msgstr "Om %s"
#: archive.php:36 #: archive.php:39
msgid "Archives" msgid "Archives"
msgstr "Arkiv" msgstr "Arkiv"
#: archive.php:34 #. translators: %s: Date.
#: archive.php:37
msgctxt "yearly archives date format" msgctxt "yearly archives date format"
msgid "Y" msgid "Y"
msgstr "Y" msgstr "Y"
#: archive.php:34 #. translators: %s: Date.
#: archive.php:37
msgid "Yearly Archives: %s" msgid "Yearly Archives: %s"
msgstr "Årsarkiv: %s" msgstr "Årsarkiv: %s"
#: archive.php:32 #. translators: %s: Date.
#: archive.php:34
msgctxt "monthly archives date format" msgctxt "monthly archives date format"
msgid "F Y" msgid "F Y"
msgstr "F Y" msgstr "F Y"
#: archive.php:32 #. translators: %s: Date.
#: archive.php:34
msgid "Monthly Archives: %s" msgid "Monthly Archives: %s"
msgstr "månadsarkiv: %s" msgstr "månadsarkiv: %s"
#: archive.php:30 #. translators: %s: Date.
#: archive.php:31
msgid "Daily Archives: %s" msgid "Daily Archives: %s"
msgstr "Dagsarkiv: %s" msgstr "Dagsarkiv: %s"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Twelve package. # This file is distributed under the same license as the Themes - Twenty Twelve package.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2019-02-22 13:05:36+0000\n" "PO-Revision-Date: 2020-03-31 20:58:56+0000\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -19,28 +19,32 @@ msgstr "The 2012 theme for WordPress is a fully responsive theme that looks grea
msgid "Twenty Twelve" msgid "Twenty Twelve"
msgstr "Twenty Twelve" msgstr "Twenty Twelve"
#: functions.php:454
msgid "Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved."
msgstr "Din kommentar inväntar granskning. Detta är en förhandsvisning. Din kommentar blir synlig när den har godkänts."
#. translators: %s: The post title. #. translators: %s: The post title.
#: comments.php:35 #: comments.php:35
msgid "One thought on &ldquo;%s&rdquo;" msgid "One thought on &ldquo;%s&rdquo;"
msgstr "En tanke kring ”%s”" msgstr "En tanke kring ”%s”"
#: functions.php:92 #: functions.php:94
msgid "White" msgid "White"
msgstr "Vitt" msgstr "Vitt"
#: functions.php:87 #: functions.php:89
msgid "Light Gray" msgid "Light Gray"
msgstr "Ljusgrått" msgstr "Ljusgrått"
#: functions.php:82 #: functions.php:84
msgid "Medium Gray" msgid "Medium Gray"
msgstr "Mellangrått" msgstr "Mellangrått"
#: functions.php:77 #: functions.php:79
msgid "Dark Gray" msgid "Dark Gray"
msgstr "Mörkgrått" msgstr "Mörkgrått"
#: functions.php:72 #: functions.php:74
msgid "Blue" msgid "Blue"
msgstr "Blått" msgstr "Blått"
@ -52,7 +56,8 @@ msgstr "Fullbreddsmall, utan sidofält"
msgid "Front Page Template" msgid "Front Page Template"
msgstr "Mall för startsida" msgstr "Mall för startsida"
#: tag.php:21 #. translators: %s: Tag title.
#: tag.php:24
msgid "Tag Archives: %s" msgid "Tag Archives: %s"
msgstr "Etikettarkiv: %s" msgstr "Etikettarkiv: %s"
@ -66,15 +71,17 @@ msgctxt "Previous post link"
msgid "&larr;" msgid "&larr;"
msgstr "&larr;" msgstr "&larr;"
#: search.php:41 #: search.php:46
msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords." msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords."
msgstr "Ledsen, men inga matchande resultat kunde hittas baserat på dina kriterier. Var vänlig försök med andra sökord." msgstr "Ledsen, men inga matchande resultat kunde hittas baserat på dina kriterier. Var vänlig försök med andra sökord."
#: search.php:18 #. translators: %s: Search query.
#: search.php:21
msgid "Search Results for: %s" msgid "Search Results for: %s"
msgstr "Sökresultat för: %s" msgstr "Sökresultat för: %s"
#: index.php:46 #. translators: %s: Post editor URL.
#: index.php:49
msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>." msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>."
msgstr "Är du redo att publicera ditt första inlägg? <a href=\"%s\">Kom igång här</a>." msgstr "Är du redo att publicera ditt första inlägg? <a href=\"%s\">Kom igång här</a>."
@ -82,131 +89,132 @@ msgstr "Är du redo att publicera ditt första inlägg? <a href=\"%s\">Kom igån
msgid "No posts to display" msgid "No posts to display"
msgstr "Inga inlägg att visa" msgstr "Inga inlägg att visa"
#: image.php:46 #: image.php:47
msgid "Next &rarr;" msgid "Next &rarr;"
msgstr "Nästa &rarr;" msgstr "Nästa &rarr;"
#: image.php:45 #: image.php:46
msgid "&larr; Previous" msgid "&larr; Previous"
msgstr "&larr; Föregående" msgstr "&larr; Föregående"
#: image.php:30 #. translators: 1: Date, 2: Date, 3: Attachment URL, 4: Image width in pixels,
#. 5: Image height in pixels, 6: Post parent permalink, 7: Post parent title,
#. 8: Post parent title.
#: image.php:31
msgid "<span class=\"meta-prep meta-prep-entry-date\">Published </span> <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\">%2$s</time></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%8$s</a>." msgid "<span class=\"meta-prep meta-prep-entry-date\">Published </span> <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\">%2$s</time></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%8$s</a>."
msgstr "<span class=\"meta-prep meta-prep-entry-date\">Publicerat </span> <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\">%2$s</time></span> i storleken <a href=\"%3$s\" title=\"Länk till bild i full storlek\">%4$s &times; %5$s</a> i <a href=\"%6$s\" title=\"Tillbaka till %7$s\" rel=\"gallery\">%8$s</a>." msgstr "<span class=\"meta-prep meta-prep-entry-date\">Publicerat </span> <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\">%2$s</time></span> i storleken <a href=\"%3$s\" title=\"Länk till bild i full storlek\">%4$s &times; %5$s</a> i <a href=\"%6$s\" title=\"Tillbaka till %7$s\" rel=\"gallery\">%8$s</a>."
#: header.php:44 #: header.php:45
msgid "Skip to content" msgid "Skip to content"
msgstr "Hoppa till innehåll" msgstr "Hoppa till innehåll"
#: header.php:43 #: header.php:44
msgid "Menu" msgid "Menu"
msgstr "Meny" msgstr "Meny"
#: functions.php:512 #. translators: 3: Date, 4: Author display name.
#: functions.php:530
msgid "This entry was posted on %3$s<span class=\"by-author\"> by %4$s</span>." msgid "This entry was posted on %3$s<span class=\"by-author\"> by %4$s</span>."
msgstr "Detta inlägg postades den %3$s<span class=\"by-author\"> av %4$s</span>." msgstr "Detta inlägg postades den %3$s<span class=\"by-author\"> av %4$s</span>."
#: functions.php:510 #. translators: 1: Category name, 3: Date, 4: Author display name.
#: functions.php:527
msgid "This entry was posted in %1$s on %3$s<span class=\"by-author\"> by %4$s</span>." msgid "This entry was posted in %1$s on %3$s<span class=\"by-author\"> by %4$s</span>."
msgstr "Detta inlägg postades i %1$s den %3$s<span class=\"by-author\"> av %4$s</span>." msgstr "Detta inlägg postades i %1$s den %3$s<span class=\"by-author\"> av %4$s</span>."
#. Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's #. translators: 1: Category name, 2: Tag name, 3: Date, 4: Author display name.
#. name. #: functions.php:524
#: functions.php:508
msgid "This entry was posted in %1$s and tagged %2$s on %3$s<span class=\"by-author\"> by %4$s</span>." msgid "This entry was posted in %1$s and tagged %2$s on %3$s<span class=\"by-author\"> by %4$s</span>."
msgstr "Detta inlägg postades i %1$s och märktes %2$s den %3$s<span class=\"by-author\"> av %4$s</span>." msgstr "Detta inlägg postades i %1$s och märktes %2$s den %3$s<span class=\"by-author\"> av %4$s</span>."
#: functions.php:502 #. translators: %s: Author display name.
#: functions.php:518
msgid "View all posts by %s" msgid "View all posts by %s"
msgstr "Visa alla inlägg av %s" msgstr "Visa alla inlägg av %s"
#. Translators: used between list items, there is a space after the comma. #. translators: Used between list items, there is a space after the comma.
#: functions.php:486 functions.php:489 #: functions.php:501 functions.php:504
msgid ", " msgid ", "
msgstr ", " msgstr ", "
#: functions.php:458 #: functions.php:473
msgid "Reply" msgid "Reply"
msgstr "Svara" msgstr "Svara"
#: functions.php:444 #: functions.php:452
msgid "Your comment is awaiting moderation." msgid "Your comment is awaiting moderation."
msgstr "Din kommentar inväntar granskning." msgstr "Din kommentar inväntar granskning."
#. translators: 1: date, 2: time #. translators: 1: Date, 2: Time.
#: functions.php:438 #: functions.php:444
msgid "%1$s at %2$s" msgid "%1$s at %2$s"
msgstr "%1$s kl. %2$s" msgstr "%1$s kl. %2$s"
#: functions.php:431 #: functions.php:437
msgid "Post author" msgid "Post author"
msgstr "Inläggsförfattare" msgstr "Inläggsförfattare"
#: functions.php:415 #: functions.php:421
msgid "(Edit)" msgid "(Edit)"
msgstr "(Redigera)" msgstr "(Redigera)"
#: functions.php:415 #: functions.php:421
msgid "Pingback:" msgid "Pingback:"
msgstr "Pingback: " msgstr "Pingback: "
#: functions.php:389 #: functions.php:395
msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>" msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>"
msgstr "Nyare inlägg <span class=\"meta-nav\">&rarr;</span>" msgstr "Nyare inlägg <span class=\"meta-nav\">&rarr;</span>"
#: functions.php:388 #: functions.php:394
msgid "<span class=\"meta-nav\">&larr;</span> Older posts" msgid "<span class=\"meta-nav\">&larr;</span> Older posts"
msgstr "<span class=\"meta-nav\">&larr;</span> Äldre inlägg" msgstr "<span class=\"meta-nav\">&larr;</span> Äldre inlägg"
#: functions.php:387 single.php:23 #: single.php:23 functions.php:393
msgid "Post navigation" msgid "Post navigation"
msgstr "Inläggsnavigering" msgstr "Inläggsnavigering"
#: functions.php:364 #: functions.php:370
msgid "Second Front Page Widget Area" msgid "Second Front Page Widget Area"
msgstr "Andra widgetfältet för startsidan" msgstr "Andra widgetfältet för startsidan"
#: functions.php:354 functions.php:366 #: functions.php:360 functions.php:372
msgid "Appears when using the optional Front Page template with a page set as Static Front Page" msgid "Appears when using the optional Front Page template with a page set as Static Front Page"
msgstr "Visas vid användning av den valfria mallen för startsidan när en statisk startsida är angiven" msgstr "Visas vid användning av den valfria mallen för startsidan när en statisk startsida är angiven"
#: functions.php:352 #: functions.php:358
msgid "First Front Page Widget Area" msgid "First Front Page Widget Area"
msgstr "Första widgetfältet för startsidan" msgstr "Första widgetfältet för startsidan"
#: functions.php:342 #: functions.php:348
msgid "Appears on posts and pages except the optional Front Page template, which has its own widgets" msgid "Appears on posts and pages except the optional Front Page template, which has its own widgets"
msgstr "Visas tillsammans med inlägg och sidor förutom i den valfria mallen för startsidan som har sina egna widgetfält" msgstr "Visas tillsammans med inlägg och sidor förutom i den valfria mallen för startsidan som har sina egna widgetfält"
#: functions.php:340 #: functions.php:346
msgid "Main Sidebar" msgid "Main Sidebar"
msgstr "Primär sidopanel" msgstr "Primär sidopanel"
#: functions.php:308 #. translators: %s: Page number.
#: functions.php:314
msgid "Page %s" msgid "Page %s"
msgstr "Sida %s" msgstr "Sida %s"
#. translators: To add an additional Open Sans character subset specific to #: functions.php:159
#. your language, * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do
#. not translate into your own language.
#: functions.php:155
msgctxt "Open Sans font: add new subset (greek, cyrillic, vietnamese)" msgctxt "Open Sans font: add new subset (greek, cyrillic, vietnamese)"
msgid "no-subset" msgid "no-subset"
msgstr "no-subset" msgstr "no-subset"
#. translators: If there are characters in your language that are not supported #: functions.php:152
#. * by Open Sans, translate this to 'off'. Do not translate into your own
#. language.
#: functions.php:149
msgctxt "Open Sans font: on or off" msgctxt "Open Sans font: on or off"
msgid "on" msgid "on"
msgstr "on" msgstr "on"
#: functions.php:106 #: functions.php:108
msgid "Primary Menu" msgid "Primary Menu"
msgstr "Primär meny" msgstr "Primär meny"
#: footer.php:22 #. translators: %s: WordPress
#: footer.php:24
msgid "Proudly powered by %s" msgid "Proudly powered by %s"
msgstr "Drivs med %s" msgstr "Drivs med %s"
@ -214,7 +222,8 @@ msgstr "Drivs med %s"
msgid "Semantic Personal Publishing Platform" msgid "Semantic Personal Publishing Platform"
msgstr "Semantisk personlig publiceringsplattform" msgstr "Semantisk personlig publiceringsplattform"
#: content.php:75 #. translators: %s: Author display name.
#: content.php:85
msgid "View all posts by %s <span class=\"meta-nav\">&rarr;</span>" msgid "View all posts by %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">&rarr;</span>" msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">&rarr;</span>"
@ -222,54 +231,55 @@ msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">&rarr;</span>"
msgid "Featured post" msgid "Featured post"
msgstr "Utvalt inlägg" msgstr "Utvalt inlägg"
#: content.php:50 image.php:123 content-page.php:24 #: content-page.php:24 image.php:124 content.php:50
msgid "Pages:" msgid "Pages:"
msgstr "Sidor:" msgstr "Sidor:"
#: index.php:58 content-none.php:17 #: index.php:63 content-none.php:17
msgid "Apologies, but no results were found. Perhaps searching will help find a related post." msgid "Apologies, but no results were found. Perhaps searching will help find a related post."
msgstr "Beklagar, inga resultat funna. Kanske kan en sökning hjälpa dig att hitta relaterat innehåll." msgstr "Beklagar, inga resultat funna. Kanske kan en sökning hjälpa dig att hitta relaterat innehåll."
#: index.php:54 search.php:37 content-none.php:13 #: index.php:59 search.php:42 content-none.php:13
msgid "Nothing Found" msgid "Nothing Found"
msgstr "Kunde inte hittas" msgstr "Kunde inte hittas"
#: content-link.php:12 #: content-link.php:15
msgid "Link" msgid "Link"
msgstr "Länk" msgstr "Länk"
#: content-link.php:24 content.php:60 functions.php:449 content-image.php:26 #: content-aside.php:29 content-status.php:43 content-image.php:26
#: content-quote.php:23 content-status.php:40 image.php:41 content-aside.php:26 #: content-link.php:27 content-page.php:31 content-quote.php:26 image.php:42
#: content-page.php:31 #: functions.php:464 content.php:60
msgid "Edit" msgid "Edit"
msgstr "Redigera" msgstr "Redigera"
#: content-link.php:21 content.php:35 content-image.php:23 content-quote.php:20 #: content-aside.php:26 content-status.php:40 content-image.php:23
#: content-status.php:37 content-aside.php:23 #: content-link.php:24 content-quote.php:23 content.php:35
msgid "% Replies" msgid "% Replies"
msgstr "% svar" msgstr "% svar"
#: content-link.php:21 content.php:35 content-image.php:23 content-quote.php:20 #: content-aside.php:26 content-status.php:40 content-image.php:23
#: content-status.php:37 content-aside.php:23 #: content-link.php:24 content-quote.php:23 content.php:35
msgid "1 Reply" msgid "1 Reply"
msgstr "1 svar" msgstr "1 svar"
#: content-link.php:21 content.php:35 content-image.php:23 content-quote.php:20 #: content-aside.php:26 content-status.php:40 content-image.php:23
#: content-status.php:37 content-aside.php:23 #: content-link.php:24 content-quote.php:23 content.php:35
msgid "Leave a reply" msgid "Leave a reply"
msgstr "Kommentera" msgstr "Kommentera"
#: content-link.php:18 content-quote.php:17 content-status.php:15 #. translators: %s: Post title.
#: content-aside.php:20 #: content-aside.php:11 content-status.php:11 content-link.php:11
#: content-quote.php:11
msgid "Permalink to %s" msgid "Permalink to %s"
msgstr "Permanent länk till %s" msgstr "Permanent länk till %s"
#: content-link.php:14 content.php:46 content-image.php:13 content-quote.php:13 #: content-aside.php:18 content-status.php:34 content-image.php:13
#: content-status.php:31 content-aside.php:15 #: content-link.php:17 content-quote.php:16 content.php:46
msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>" msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>"
msgstr "Läs mer <span class=\"meta-nav\">&rarr;</span>" msgstr "Läs mer <span class=\"meta-nav\">&rarr;</span>"
#: comments.php:74 #: comments.php:75
msgid "Comments are closed." msgid "Comments are closed."
msgstr "Kommentarer inaktiverade." msgstr "Kommentarer inaktiverade."
@ -292,41 +302,50 @@ msgid_plural "%1$s thoughts on &ldquo;%2$s&rdquo;"
msgstr[0] "%1$s tanke kring ”%2$s”" msgstr[0] "%1$s tanke kring ”%2$s”"
msgstr[1] "%1$s tankar kring ”%2$s”" msgstr[1] "%1$s tankar kring ”%2$s”"
#: category.php:21 #. translators: %s: Category title.
#: category.php:24
msgid "Category Archives: %s" msgid "Category Archives: %s"
msgstr "Kategoriarkiv: %s" msgstr "Kategoriarkiv: %s"
#: author.php:64 content.php:71 #. translators: %s: Author display name.
#. translators: Author display name.
#: content.php:77 author.php:74
msgid "About %s" msgid "About %s"
msgstr "Om %s" msgstr "Om %s"
#: author.php:32 #. translators: Author display name.
#: author.php:36
msgid "Author Archives: %s" msgid "Author Archives: %s"
msgstr "Författararkiv: %s" msgstr "Författararkiv: %s"
#: archive.php:36 #: archive.php:39
msgid "Archives" msgid "Archives"
msgstr "Arkiv" msgstr "Arkiv"
#: archive.php:34 #. translators: %s: Date.
#: archive.php:37
msgctxt "yearly archives date format" msgctxt "yearly archives date format"
msgid "Y" msgid "Y"
msgstr "Y" msgstr "Y"
#: archive.php:34 #. translators: %s: Date.
#: archive.php:37
msgid "Yearly Archives: %s" msgid "Yearly Archives: %s"
msgstr "Årsarkiv: %s" msgstr "Årsarkiv: %s"
#: archive.php:32 #. translators: %s: Date.
#: archive.php:34
msgctxt "monthly archives date format" msgctxt "monthly archives date format"
msgid "F Y" msgid "F Y"
msgstr "F Y" msgstr "F Y"
#: archive.php:32 #. translators: %s: Date.
#: archive.php:34
msgid "Monthly Archives: %s" msgid "Monthly Archives: %s"
msgstr "månadsarkiv: %s" msgstr "månadsarkiv: %s"
#: archive.php:30 #. translators: %s: Date.
#: archive.php:31
msgid "Daily Archives: %s" msgid "Daily Archives: %s"
msgstr "Dagsarkiv: %s" msgstr "Dagsarkiv: %s"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Twenty package. # This file is distributed under the same license as the Themes - Twenty Twenty package.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2019-12-14 13:50:46+0000\n" "PO-Revision-Date: 2020-03-31 20:55:08+0000\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -23,24 +23,109 @@ msgstr "Twenty Twenty"
msgid "Show author bio" msgid "Show author bio"
msgstr "Visa författarbiografi" msgstr "Visa författarbiografi"
#: template-parts/entry-author-bio.php:29
msgid "View Archive <span aria-hidden=\"true\">&rarr;</span>"
msgstr "Visa arkiv <span aria-hidden=\"true\">&rarr;</span>"
#: inc/starter-content.php:38 #: inc/starter-content.php:38
msgctxt "Theme starter content" msgctxt "Theme starter content"
msgid "The New UMoMA Opens its Doors" msgid "The New UMoMA Opens its Doors"
msgstr "Nya UMoMA välkomnar allmänheten" msgstr "Nya UMoMA välkomnar allmänheten"
#: template-parts/entry-author-bio.php:29 #: inc/template-tags.php:393
msgid "View Archive <span aria-hidden=\"true\">&rarr;</span>" msgctxt "A string that is output before one or more categories"
msgstr "Visa arkiv <span aria-hidden=\"true\">&rarr;</span>" msgid "In"
msgstr "I"
#: inc/starter-content.php:150
msgid "Join the Club"
msgstr "Gå med i klubben"
#: inc/starter-content.php:147
msgid "Members get access to exclusive exhibits and sales. Our memberships cost $99.99 and are billed annually."
msgstr "Medlemmar får tillgång till exklusiva utställningar och marknader. Medlemskap kostar 99,99 USD och debiteras en gång per år."
#: inc/starter-content.php:144 #: inc/starter-content.php:144
msgid "Become a Member and Get Exclusive Offers!" msgid "Become a Member and Get Exclusive Offers!"
msgstr "Bli medlem och få exklusiva erbjudanden!" msgstr "Bli medlem och få exklusiva erbjudanden!"
#: inc/starter-content.php:136
msgid "The exhibitions are produced by UMoMA in collaboration with artists and museums around the world and they often attract international attention. UMoMA has received a Special Commendation from the European Museum of the Year, and was among the top candidates for the Swedish Museum of the Year Award as well as for the Council of Europe Museum Prize."
msgstr "Utställningarna produceras av UMoMA i samarbete med konstnärer och muséer från hela världen och uppmärksammas ofta internationellt. UMoMA har betecknats som ”Årets europeiska museum” och var en av toppkandidaterna till priset ”Årets svenska museum” och även Europarådets museipris."
#: inc/starter-content.php:133
msgid "With seven floors of striking architecture, UMoMA shows exhibitions of international contemporary art, sometimes along with art historical retrospectives. Existential, political and philosophical issues are intrinsic to our programme. As visitor you are invited to guided tours artist talks, lectures, film screenings and other events with free admission"
msgstr "I sju våningar effektfull arkitektur visar UMoMA utställningar med internationell modern konst, emellanåt kombinerat med konsthistoriska återblickar. Vårt program genomsyras av existentiella, politiska och filosofiska frågeställningar. Som besökare är du välkommen till visningar, möten med konstnärer, föreläsningar, filmvisningar och andra evenemang med fri entré"
#: inc/starter-content.php:129
msgid "&#8220;Cyborgs, as the philosopher Donna Haraway established, are not reverent. They do not remember the cosmos.&#8221;"
msgstr "”Cyborgar är, enligt filosofen Donna Haraway, inte vördnadsfulla. De minns inte kosmos.”"
#: inc/starter-content.php:113
msgid "From Signac to Matisse"
msgstr "Från Signac till Matisse"
#: inc/starter-content.php:98
msgid "The Life I Deserve"
msgstr "Livet jag förtjänar"
#: inc/starter-content.php:84 inc/starter-content.php:116
msgid "October 1 -- December 1"
msgstr "1 oktober 1 december"
#: inc/starter-content.php:81
msgid "Theatre of Operations"
msgstr "Operationsteatern"
#: inc/starter-content.php:72 inc/starter-content.php:87 #: inc/starter-content.php:72 inc/starter-content.php:87
#: inc/starter-content.php:104 inc/starter-content.php:119 #: inc/starter-content.php:104 inc/starter-content.php:119
msgid "Read More" msgid "Read More"
msgstr "Läs mer" msgstr "Läs mer"
#: inc/starter-content.php:69 inc/starter-content.php:101
msgid "August 1 -- December 1"
msgstr "1 augusti 1 december"
#: inc/starter-content.php:66
msgid "Works and Days"
msgstr "Verk och dagar"
#: inc/starter-content.php:55
msgid "The premier destination for modern art in Northern Sweden. Open from 10 AM to 6 PM every day during the summer months."
msgstr "Det viktigaste resmålet för modern konst i Norrland. Öppet kl. 1018 varje dag under sommaren."
#: inc/starter-content.php:47
msgid "The New UMoMA Opens its Doors"
msgstr "Nya UMoMA välkomnar allmänheten"
#: classes/class-twentytwenty-customize.php:395
msgid "Overlay Opacity"
msgstr "Överläggets opacitet"
#: classes/class-twentytwenty-customize.php:375
msgid "The color used for the text in the overlay."
msgstr "Färgen som används för texten i överlägget."
#: classes/class-twentytwenty-customize.php:374
msgid "Overlay Text Color"
msgstr "Överläggets textfärg"
#: classes/class-twentytwenty-customize.php:353
msgid "The color used for the overlay. Defaults to the accent color."
msgstr "Färgen som används för överlägget. Som standard är accentfärgen."
#: classes/class-twentytwenty-customize.php:352
msgid "Overlay Background Color"
msgstr "Överläggets bakgrundsfärg"
#: classes/class-twentytwenty-customize.php:283
msgid "Settings for the \"Cover Template\" page template. Add a featured image to use as background."
msgstr "Inställningar för sidmallen ”Omslagsmall”. Lägg till en utvald bild för att använda den som bakgrund."
#: classes/class-twentytwenty-customize.php:183
msgid "Apply a custom color for links, buttons, featured images."
msgstr "Tillämpa en anpassad färg för länkar, knappar och utvalda bilder."
#: classes/class-twentytwenty-customize.php:126 #: classes/class-twentytwenty-customize.php:126
msgid "Custom" msgid "Custom"
msgstr "Anpassad" msgstr "Anpassad"
@ -53,150 +138,287 @@ msgstr "Standard"
msgid "Primary Color" msgid "Primary Color"
msgstr "Primär färg" msgstr "Primär färg"
#: inc/template-tags.php:393 #: searchform.php:24 template-parts/modal-search.php:20
msgctxt "A string that is output before one or more categories" msgid "Search for:"
msgid "In" msgstr "Sök efter:"
msgstr "I"
#: inc/starter-content.php:113 #: index.php:99
msgid "From Signac to Matisse" msgid "search again"
msgstr "Från Signac till Matisse" msgstr "sök igen"
#: classes/class-twentytwenty-customize.php:375 #. translators: %s: Number of search results.
msgid "The color used for the text in the overlay."
msgstr "Färgen som används för texten i överlägget."
#: classes/class-twentytwenty-customize.php:374
msgid "Overlay Text Color"
msgstr "Överläggets textfärg"
#: classes/class-twentytwenty-customize.php:352
msgid "Overlay Background Color"
msgstr "Överläggets bakgrundsfärg"
#: classes/class-twentytwenty-customize.php:183
msgid "Apply a custom color for links, buttons, featured images."
msgstr "Tillämpa en anpassad färg för länkar, knappar och utvalda bilder."
#: classes/class-twentytwenty-customize.php:395
msgid "Overlay Opacity"
msgstr "Överläggets opacitet"
#: classes/class-twentytwenty-customize.php:353
msgid "The color used for the overlay. Defaults to the accent color."
msgstr "Färgen som används för överlägget. Som standard är accentfärgen."
#: inc/starter-content.php:150
msgid "Join the Club"
msgstr "Gå med i klubben"
#: classes/class-twentytwenty-customize.php:283
msgid "Settings for the \"Cover Template\" page template. Add a featured image to use as background."
msgstr "Inställningar för sidmallen ”Omslagsmall”. Lägg till en utvald bild för att använda den som bakgrund."
#: inc/starter-content.php:47
msgid "The New UMoMA Opens its Doors"
msgstr "Nya UMoMA välkomnar allmänheten"
#: inc/starter-content.php:55
msgid "The premier destination for modern art in Northern Sweden. Open from 10 AM to 6 PM every day during the summer months."
msgstr "Det viktigaste resmålet för modern konst i Norrland. Öppet kl. 1018 varje dag under sommaren."
#: inc/starter-content.php:66
msgid "Works and Days"
msgstr "Verk och dagar"
#: inc/starter-content.php:69 inc/starter-content.php:101
msgid "August 1 -- December 1"
msgstr "1 augusti 1 december"
#: inc/starter-content.php:81
msgid "Theatre of Operations"
msgstr "Operationsteatern"
#: inc/starter-content.php:84 inc/starter-content.php:116
msgid "October 1 -- December 1"
msgstr "1 oktober 1 december"
#: inc/starter-content.php:98
msgid "The Life I Deserve"
msgstr "Livet jag förtjänar"
#: inc/starter-content.php:129
msgid "”Cyborgs, as the philosopher Donna Haraway established, are not reverent. They do not remember the cosmos.”"
msgstr "”Cyborgar är, enligt filosofen Donna Haraway, inte vördnadsfulla. De minns inte kosmos.”"
#: inc/starter-content.php:133
msgid "With seven floors of striking architecture, UMoMA shows exhibitions of international contemporary art, sometimes along with art historical retrospectives. Existential, political and philosophical issues are intrinsic to our programme. As visitor you are invited to guided tours artist talks, lectures, film screenings and other events with free admission"
msgstr "I sju våningar effektfull arkitektur visar UMoMA utställningar med internationell modern konst, emellanåt kombinerat med konsthistoriska återblickar. Vårt program genomsyras av existentiella, politiska och filosofiska frågeställningar. Som besökare är du välkommen till visningar, möten med konstnärer, föreläsningar, filmvisningar och andra evenemang med fri entré"
#: inc/starter-content.php:136
msgid "The exhibitions are produced by UMoMA in collaboration with artists and museums around the world and they often attract international attention. UMoMA has received a Special Commendation from the European Museum of the Year, and was among the top candidates for the Swedish Museum of the Year Award as well as for the Council of Europe Museum Prize."
msgstr "Utställningarna produceras av UMoMA i samarbete med konstnärer och muséer från hela världen och uppmärksammas ofta internationellt. UMoMA har betecknats som ”Årets europeiska museum” och var en av toppkandidaterna till priset ”Årets svenska museum” och även Europarådets museipris."
#: inc/starter-content.php:147
msgid "Members get access to exclusive exhibits and sales. Our memberships cost $99.99 and are billed annually."
msgstr "Medlemmar får tillgång till exklusiva utställningar och marknader. Medlemskap kostar 99,99 USD och debiteras en gång per år."
#: 404.php:24
msgid "404 not found"
msgstr "404 hittades inte"
#. translators: Copyright date format, see https://secure.php.net/date
#: footer.php:25
msgctxt "copyright date format"
msgid "Y"
msgstr "Y"
#. translators: %s: HTML character for up arrow
#: footer.php:43
msgid "To the top %s"
msgstr "Till toppen %s"
#. translators: %s: HTML character for up arrow
#: footer.php:49
msgid "Up %s"
msgstr "Upp %s"
#. translators: %s: Number of search results
#: index.php:39 #: index.php:39
msgid "We found %s result for your search." msgid "We found %s result for your search."
msgid_plural "We found %s results for your search." msgid_plural "We found %s results for your search."
msgstr[0] "Din sökning gav %s resultat." msgstr[0] "Din sökning gav %s resultat."
msgstr[1] "Din sökning gav %s resultat." msgstr[1] "Din sökning gav %s resultat."
#: index.php:99 #. translators: %s: HTML character for up arrow.
msgid "search again" #: footer.php:49
msgstr "sök igen" msgid "Up %s"
msgstr "Upp %s"
#: template-parts/modal-search.php:20 searchform.php:24 #. translators: %s: HTML character for up arrow.
msgid "Search for:" #: footer.php:43
msgstr "Sök efter:" msgid "To the top %s"
msgstr "Till toppen %s"
#. Translators: 1 = comment date, 2 = comment time #. translators: Copyright date format, see https://www.php.net/date
#: classes/class-twentytwenty-walker-comment.php:69 #: footer.php:25
msgid "%1$s at %2$s" msgctxt "copyright date format"
msgstr "%1$s \\k\\l. %2$s" msgid "Y"
msgstr "Y"
#: classes/class-twentytwenty-walker-comment.php:77 #: 404.php:24
msgid "Edit" msgid "404 not found"
msgstr "Redigera" msgstr "404 hittades inte"
#: classes/class-twentytwenty-walker-comment.php:92 #. Template Name of the theme
msgid "Your comment is awaiting moderation." msgid "Full Width Template"
msgstr "Din kommentar inväntar granskning." msgstr "Fullbreddsmall"
#: comments.php:34 #: template-parts/pagination.php:25
msgid "Leave a comment" msgid "Older <span class=\"nav-short\">Posts</span>"
msgstr "Lämna en kommentar" msgstr "Tidigare <span class=\"nav-short\">inlägg</span>"
#. translators: %s: post title #: template-parts/pagination.php:21
#: comments.php:37 msgid "Newer <span class=\"nav-short\">Posts</span>"
msgctxt "comments title" msgstr "Senare <span class=\"nav-short\">inlägg</span>"
msgid "One reply on &ldquo;%s&rdquo;"
msgstr "Ett svar på ”%s”"
#. translators: 1: number of comments, 2: post title #: template-parts/navigation.php:25
msgid "Post"
msgstr "Inlägg"
#: template-parts/modal-search.php:26
msgid "Close search"
msgstr "Stäng sökningen"
#: template-parts/modal-menu.php:117
msgid "Expanded Social links"
msgstr "Expanderade sociala länkar"
#: template-parts/modal-menu.php:73
msgid "Mobile"
msgstr "Mobil"
#: template-parts/modal-menu.php:48
msgid "Expanded"
msgstr "Expanderad"
#: template-parts/modal-menu.php:21
msgid "Close Menu"
msgstr "Stäng menyn"
#: template-parts/footer-menus-widgets.php:57
msgid "Social links"
msgstr "Sociala länkar"
#: template-parts/footer-menus-widgets.php:37
msgid "Footer"
msgstr "Sidfot"
#. translators: %s: Author name.
#: inc/template-tags.php:354 template-parts/entry-author-bio.php:20
msgid "By %s"
msgstr "Av %s"
#: template-parts/content-cover.php:138 template-parts/content.php:48
msgid "Pages:"
msgstr "Sidor:"
#: template-parts/content-cover.php:138 template-parts/content.php:48
msgid "Page"
msgstr "Sida"
#: template-parts/content-cover.php:88
msgid "Scroll Down"
msgstr "Rulla ned"
#: searchform.php:27
msgctxt "submit button"
msgid "Search"
msgstr "Sök"
#: searchform.php:25
msgctxt "placeholder"
msgid "Search &hellip;"
msgstr "Sök &hellip;"
#: index.php:48
msgid "We could not find any results for your search. You can give it another try through the search form below."
msgstr "Din sökning gav inga matchande resultat. Du kan prova det igen med hjälp av nedanstående sökformulär."
#: index.php:32
msgid "Search:"
msgstr "Sök:"
#. translators: %s: Post title. Only visible to screen readers.
#: inc/template-tags.php:206
msgid "Edit <span class=\"screen-reader-text\">%s</span>"
msgstr "Redigera <span class=\"screen-reader-text\">%s</span>"
#: inc/template-tags.php:445
msgid "Sticky post"
msgstr "Klistrat inlägg"
#: inc/template-tags.php:407
msgid "Tags"
msgstr "Etiketter"
#: inc/template-tags.php:389 template-parts/entry-header.php:36
#: template-parts/content-cover.php:70
msgid "Categories"
msgstr "Kategorier"
#: inc/template-tags.php:371
msgid "Post date"
msgstr "Inläggsdatum"
#: inc/template-tags.php:347
msgid "Post author"
msgstr "Inläggsförfattare"
#: inc/starter-content.php:196
msgid "Social Links Menu"
msgstr "Meny för sociala länkar"
#: inc/starter-content.php:176 inc/starter-content.php:186 functions.php:494
msgid "Primary"
msgstr "Huvudmeny"
#: header.php:88
msgid "Horizontal"
msgstr "Horisontell"
#: header.php:76 header.php:137
msgid "Menu"
msgstr "Meny"
#: header.php:53 header.php:157
msgid "Search"
msgstr "Sök"
#: template-parts/content.php:36
msgid "Continue reading"
msgstr "Fortsätt läsa"
#: functions.php:551
msgctxt "Short name of the larger font size in the block editor."
msgid "XL"
msgstr "XL"
#: functions.php:550
msgctxt "Name of the larger font size in the block editor"
msgid "Larger"
msgstr "Större"
#: functions.php:545
msgctxt "Short name of the large font size in the block editor."
msgid "L"
msgstr "L"
#: functions.php:544
msgctxt "Name of the large font size in the block editor"
msgid "Large"
msgstr "Stor"
#: functions.php:539
msgctxt "Short name of the regular font size in the block editor."
msgid "M"
msgstr "M"
#: functions.php:538
msgctxt "Name of the regular font size in the block editor"
msgid "Regular"
msgstr "Normal"
#: functions.php:533
msgctxt "Short name of the small font size in the block editor."
msgid "S"
msgstr "S"
#: functions.php:532
msgctxt "Name of the small font size in the block editor"
msgid "Small"
msgstr "Liten"
#: functions.php:517
msgid "Background Color"
msgstr "Bakgrundsfärg"
#: functions.php:504
msgid "Subtle Background"
msgstr "Subtil bakgrund"
#: functions.php:499
msgid "Secondary"
msgstr "Sekundär"
#: functions.php:489
msgid "Accent Color"
msgstr "Accentfärg"
#: functions.php:380
msgid "Widgets in this area will be displayed in the second column in the footer."
msgstr "Widgetar i detta område kommer att visas i sidfotens andra kolumn."
#: functions.php:378
msgid "Footer #2"
msgstr "Sidfot 2"
#: functions.php:368
msgid "Widgets in this area will be displayed in the first column in the footer."
msgstr "Widgetar i detta område kommer att visas i sidfotens första kolumn."
#: functions.php:366
msgid "Footer #1"
msgstr "Sidfot 1"
#: functions.php:341
msgid "Skip to the content"
msgstr "Hoppa till innehåll"
#: functions.php:262
msgid "Social Menu"
msgstr "Social meny"
#: functions.php:261
msgid "Footer Menu"
msgstr "Sidfotsmeny"
#: functions.php:260
msgid "Mobile Menu"
msgstr "Mobilmeny"
#: functions.php:259
msgid "Desktop Expanded Menu"
msgstr "Utökad meny för datorskärm"
#: functions.php:258
msgid "Desktop Horizontal Menu"
msgstr "Horisontell meny för datorskärm"
#: footer.php:33
msgid "Powered by WordPress"
msgstr "Drivs med WordPress"
#: comments.php:127
msgid "Comments are closed."
msgstr "Stängt för kommentering."
#: comments.php:88
msgid "Comments"
msgstr "Kommentarer"
#: comments.php:75
msgid "Older Comments"
msgstr "Tidigare kommentarer"
#: comments.php:74
msgid "Newer Comments"
msgstr "Senare kommentarer"
#. translators: 1: Number of comments, 2: Post title.
#: comments.php:41 #: comments.php:41
msgctxt "comments title" msgctxt "comments title"
msgid "%1$s reply on &ldquo;%2$s&rdquo;" msgid "%1$s reply on &ldquo;%2$s&rdquo;"
@ -204,324 +426,102 @@ msgid_plural "%1$s replies on &ldquo;%2$s&rdquo;"
msgstr[0] "%1$s svar på ”%2$s”" msgstr[0] "%1$s svar på ”%2$s”"
msgstr[1] "%1$s svar på ”%2$s”" msgstr[1] "%1$s svar på ”%2$s”"
#: comments.php:88 #. translators: %s: Post title.
msgid "Comments" #: comments.php:37
msgstr "Kommentarer" msgctxt "comments title"
msgid "One reply on &ldquo;%s&rdquo;"
msgstr "Ett svar på ”%s”"
#: functions.php:491 inc/starter-content.php:176 inc/starter-content.php:186 #: comments.php:34
msgid "Primary" msgid "Leave a comment"
msgstr "Huvudmeny" msgstr "Lämna en kommentar"
#: inc/starter-content.php:196 #: classes/class-twentytwenty-walker-page.php:107 inc/template-tags.php:555
msgid "Social Links Menu" msgid "Show sub menu"
msgstr "Meny för sociala länkar" msgstr "Visa undermeny"
#. translators: %s: Post title. Only visible to screen readers. #. translators: %d: ID of a post.
#: inc/template-tags.php:206 #: classes/class-twentytwenty-walker-page.php:70
msgid "Edit <span class=\"screen-reader-text\">%s</span>" msgid "#%d (no title)"
msgstr "Redigera <span class=\"screen-reader-text\">%s</span>" msgstr "#%d (utan rubrik)"
#: functions.php:258 #: classes/class-twentytwenty-walker-comment.php:127
msgid "Footer Menu" msgid "By Post Author"
msgstr "Sidfotsmeny" msgstr "Av inläggets författare"
#: template-parts/content.php:48 template-parts/content-cover.php:138 #: classes/class-twentytwenty-walker-comment.php:92
msgid "Pages:" msgid "Your comment is awaiting moderation."
msgstr "Sidor:" msgstr "Din kommentar inväntar granskning."
#: template-parts/footer-menus-widgets.php:37 #: classes/class-twentytwenty-walker-comment.php:77
msgid "Footer" msgid "Edit"
msgstr "Sidfot" msgstr "Redigera"
#: template-parts/content.php:48 template-parts/content-cover.php:138 #. translators: 1: Comment date, 2: Comment time.
msgid "Page" #: classes/class-twentytwenty-walker-comment.php:69
msgstr "Sida" msgid "%1$s at %2$s"
msgstr "%1$s \\k\\l. %2$s"
#: functions.php:496 #: classes/class-twentytwenty-walker-comment.php:56
msgid "Secondary" msgid "says:"
msgstr "Sekundär" msgstr "säger:"
#: 404.php:17 #: classes/class-twentytwenty-customize.php:396
msgid "Page Not Found" msgid "Make sure that the contrast is high enough so that the text is readable."
msgstr "Sidan hittades inte" msgstr "Se till att kontrasten är tillräckligt hög för att texten ska kunna läsas."
#: 404.php:19 #: classes/class-twentytwenty-customize.php:306
msgid "The page you were looking for could not be found. It might have been removed, renamed, or did not exist in the first place." msgid "Creates a parallax effect when the visitor scrolls."
msgstr "Sidan du försökte hämta kunde inte hittas. Den kan ha tagits bort, bytt namn eller kanske aldrig har funnits." msgstr "Skapar en parallax-effekt när besökaren rullar sidan."
#: classes/class-twentytwenty-customize.php:81 #: classes/class-twentytwenty-customize.php:305
msgid "Retina logo" msgid "Fixed Background Image"
msgstr "Retina-logga" msgstr "Fast bakgrundsbild"
#: classes/class-twentytwenty-customize.php:82
msgid "Scales the logo to half its uploaded size, making it sharp on high-res screens."
msgstr "Minska loggan till hälften av dess uppladdade storlek, så det blir skarp på skärmar med hög upplösning."
#: classes/class-twentytwenty-customize.php:101
msgid "Header &amp; Footer Background Color"
msgstr "Bakgrundsfärg för sidhuvud och sidfot"
#: classes/class-twentytwenty-customize.php:202
msgid "Theme Options"
msgstr "Temainställningar"
#: classes/class-twentytwenty-customize.php:225
msgid "Show search in header"
msgstr "Visa sökfunktion i sidhuvudet"
#: classes/class-twentytwenty-customize.php:267
msgid "On archive pages, posts show:"
msgstr "På arkivsidor visar inläggen:"
#: classes/class-twentytwenty-customize.php:269
msgid "Full text"
msgstr "Hela texten"
#: classes/class-twentytwenty-customize.php:270
msgid "Summary"
msgstr "Sammanfattning"
#. Template Name of the theme #. Template Name of the theme
#: classes/class-twentytwenty-customize.php:281 #: classes/class-twentytwenty-customize.php:281
msgid "Cover Template" msgid "Cover Template"
msgstr "Omslagsmall" msgstr "Omslagsmall"
#: classes/class-twentytwenty-customize.php:305 #: classes/class-twentytwenty-customize.php:270
msgid "Fixed Background Image" msgid "Summary"
msgstr "Fast bakgrundsbild" msgstr "Sammanfattning"
#: classes/class-twentytwenty-customize.php:306 #: classes/class-twentytwenty-customize.php:269
msgid "Creates a parallax effect when the visitor scrolls." msgid "Full text"
msgstr "Skapar en parallax-effekt när besökaren rullar sidan." msgstr "Hela texten"
#: classes/class-twentytwenty-customize.php:396 #: classes/class-twentytwenty-customize.php:267
msgid "Make sure that the contrast is high enough so that the text is readable." msgid "On archive pages, posts show:"
msgstr "Se till att kontrasten är tillräckligt hög för att texten ska kunna läsas." msgstr "På arkivsidor visar inläggen:"
#: classes/class-twentytwenty-walker-comment.php:56 #: classes/class-twentytwenty-customize.php:225
msgid "says:" msgid "Show search in header"
msgstr "säger:" msgstr "Visa sökfunktion i sidhuvudet"
#: classes/class-twentytwenty-walker-comment.php:127 #: classes/class-twentytwenty-customize.php:202
msgid "By Post Author" msgid "Theme Options"
msgstr "Av inläggets författare" msgstr "Temainställningar"
#. translators: %d: ID of a post #: classes/class-twentytwenty-customize.php:101
#: classes/class-twentytwenty-walker-page.php:82 msgid "Header &amp; Footer Background Color"
msgid "#%d (no title)" msgstr "Bakgrundsfärg för sidhuvud och sidfot"
msgstr "#%d (utan rubrik)"
#: classes/class-twentytwenty-walker-page.php:134 inc/template-tags.php:555 #: classes/class-twentytwenty-customize.php:82
msgid "Show sub menu" msgid "Scales the logo to half its uploaded size, making it sharp on high-res screens."
msgstr "Visa undermeny" msgstr "Minska loggan till hälften av dess uppladdade storlek, så det blir skarp på skärmar med hög upplösning."
#: comments.php:74 #: classes/class-twentytwenty-customize.php:81
msgid "Newer Comments" msgid "Retina logo"
msgstr "Senare kommentarer" msgstr "Retina-logga"
#: comments.php:75 #: 404.php:19
msgid "Older Comments" msgid "The page you were looking for could not be found. It might have been removed, renamed, or did not exist in the first place."
msgstr "Tidigare kommentarer" msgstr "Sidan du försökte hämta kunde inte hittas. Den kan ha tagits bort, bytt namn eller kanske aldrig har funnits."
#: comments.php:127 #: 404.php:17
msgid "Comments are closed." msgid "Page Not Found"
msgstr "Stängt för kommentering." msgstr "Sidan hittades inte"
#: footer.php:33
msgid "Powered by WordPress"
msgstr "Drivs med WordPress"
#: functions.php:255
msgid "Desktop Horizontal Menu"
msgstr "Horisontell meny för datorskärm"
#: functions.php:256
msgid "Desktop Expanded Menu"
msgstr "Utökad meny för datorskärm"
#: functions.php:257
msgid "Mobile Menu"
msgstr "Mobilmeny"
#: functions.php:259
msgid "Social Menu"
msgstr "Social meny"
#: functions.php:338
msgid "Skip to the content"
msgstr "Hoppa till innehåll"
#: functions.php:363
msgid "Footer #1"
msgstr "Sidfot 1"
#: functions.php:365
msgid "Widgets in this area will be displayed in the first column in the footer."
msgstr "Widgetar i detta område kommer att visas i sidfotens första kolumn."
#: functions.php:375
msgid "Footer #2"
msgstr "Sidfot 2"
#: functions.php:377
msgid "Widgets in this area will be displayed in the second column in the footer."
msgstr "Widgetar i detta område kommer att visas i sidfotens andra kolumn."
#: functions.php:486
msgid "Accent Color"
msgstr "Accentfärg"
#: functions.php:501
msgid "Subtle Background"
msgstr "Subtil bakgrund"
#: functions.php:514
msgid "Background Color"
msgstr "Bakgrundsfärg"
#: functions.php:529
msgctxt "Name of the small font size in the block editor"
msgid "Small"
msgstr "Liten"
#: functions.php:530
msgctxt "Short name of the small font size in the block editor."
msgid "S"
msgstr "S"
#: functions.php:535
msgctxt "Name of the regular font size in the block editor"
msgid "Regular"
msgstr "Normal"
#: functions.php:536
msgctxt "Short name of the regular font size in the block editor."
msgid "M"
msgstr "M"
#: functions.php:541
msgctxt "Name of the large font size in the block editor"
msgid "Large"
msgstr "Stor"
#: functions.php:542
msgctxt "Short name of the large font size in the block editor."
msgid "L"
msgstr "L"
#: functions.php:547
msgctxt "Name of the larger font size in the block editor"
msgid "Larger"
msgstr "Större"
#: functions.php:548
msgctxt "Short name of the larger font size in the block editor."
msgid "XL"
msgstr "XL"
#: template-parts/content.php:36
msgid "Continue reading"
msgstr "Fortsätt läsa"
#: header.php:53 header.php:157
msgid "Search"
msgstr "Sök"
#: header.php:76 header.php:137
msgid "Menu"
msgstr "Meny"
#: header.php:88
msgid "Horizontal"
msgstr "Horisontell"
#: inc/template-tags.php:347
msgid "Post author"
msgstr "Inläggsförfattare"
#: inc/template-tags.php:371
msgid "Post date"
msgstr "Inläggsdatum"
#: template-parts/content-cover.php:70 template-parts/entry-header.php:36
#: inc/template-tags.php:389
msgid "Categories"
msgstr "Kategorier"
#: inc/template-tags.php:407
msgid "Tags"
msgstr "Etiketter"
#: inc/template-tags.php:445
msgid "Sticky post"
msgstr "Klistrat inlägg"
#: index.php:32
msgid "Search:"
msgstr "Sök:"
#: index.php:48
msgid "We could not find any results for your search. You can give it another try through the search form below."
msgstr "Din sökning gav inga matchande resultat. Du kan prova det igen med hjälp av nedanstående sökformulär."
#: searchform.php:25
msgctxt "placeholder"
msgid "Search &hellip;"
msgstr "Sök &hellip;"
#: searchform.php:27
msgctxt "submit button"
msgid "Search"
msgstr "Sök"
#: template-parts/content-cover.php:88
msgid "Scroll Down"
msgstr "Rulla ned"
#. translators: %s: Author name
#: template-parts/entry-author-bio.php:20 inc/template-tags.php:354
msgid "By %s"
msgstr "Av %s"
#: template-parts/footer-menus-widgets.php:57
msgid "Social links"
msgstr "Sociala länkar"
#: template-parts/modal-menu.php:21
msgid "Close Menu"
msgstr "Stäng menyn"
#: template-parts/modal-menu.php:48
msgid "Expanded"
msgstr "Expanderad"
#: template-parts/modal-menu.php:73
msgid "Mobile"
msgstr "Mobil"
#: template-parts/modal-menu.php:117
msgid "Expanded Social links"
msgstr "Expanderade sociala länkar"
#: template-parts/modal-search.php:26
msgid "Close search"
msgstr "Stäng sökningen"
#: template-parts/navigation.php:25
msgid "Post"
msgstr "Inlägg"
#: template-parts/pagination.php:21
msgid "Newer <span class=\"nav-short\">Posts</span>"
msgstr "Senare <span class=\"nav-short\">inlägg</span>"
#: template-parts/pagination.php:25
msgid "Older <span class=\"nav-short\">Posts</span>"
msgstr "Tidigare <span class=\"nav-short\">inlägg</span>"
#. Template Name of the theme
msgid "Full Width Template"
msgstr "Fullbreddsmall"
#. Author URI of the theme #. Author URI of the theme
#: footer.php:32 #: footer.php:32

View File

@ -42,7 +42,7 @@ get_header(); ?>
</div> </div>
<?php <?php
/* translators: %1$s: smilie */ /* translators: %1$s: Smilie. */
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '</p>'; $archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '</p>';
the_widget( the_widget(
'WP_Widget_Archives', 'WP_Widget_Archives',

View File

@ -21,30 +21,37 @@ get_header(); ?>
<header class="page-header"> <header class="page-header">
<h1 class="page-title"> <h1 class="page-title">
<?php if ( is_day() ) : ?> <?php
<?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?> if ( is_day() ) {
<?php elseif ( is_month() ) : ?> /* translators: %s: Date. */
<?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' ); ?> printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' );
<?php elseif ( is_year() ) : ?> } elseif ( is_month() ) {
<?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' ); ?> /* translators: %s: Date. */
<?php else : ?> printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' );
<?php _e( 'Blog Archives', 'twentyeleven' ); ?> } elseif ( is_year() ) {
<?php endif; ?> /* translators: %s: Date. */
printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' );
} else {
_e( 'Blog Archives', 'twentyeleven' );
}
?>
</h1> </h1>
</header> </header>
<?php twentyeleven_content_nav( 'nav-above' ); ?> <?php twentyeleven_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php <?php
// Start the Loop.
while ( have_posts() ) : while ( have_posts() ) :
the_post(); the_post();
?> ?>
<?php <?php
/* Include the Post-Format-specific template for the content. /*
* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file * If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead. * called content-___.php (where ___ is the Post Format name) and that
* will be used instead.
*/ */
get_template_part( 'content', get_post_format() ); get_template_part( 'content', get_post_format() );
?> ?>

View File

@ -26,14 +26,19 @@ get_header(); ?>
?> ?>
<header class="page-header"> <header class="page-header">
<h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'twentyeleven' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1> <h1 class="page-title author">
<?php
/* translators: %s: Author display name. */
printf( __( 'Author Archives: %s', 'twentyeleven' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
?>
</h1>
</header> </header>
<?php <?php
/* /*
* Since we called the_post() above, we need to * Since we called the_post() above, we need
* rewind the loop back to the beginning that way * to rewind the loop back to the beginning.
* we can run the loop properly, in full. * That way we can run the loop properly, in full.
*/ */
rewind_posts(); rewind_posts();
?> ?>
@ -54,18 +59,24 @@ get_header(); ?>
* *
* @param int The height and width avatar dimension in pixels. Default 60. * @param int The height and width avatar dimension in pixels. Default 60.
*/ */
echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 60 ) ); $author_bio_avatar_size = apply_filters( 'twentyeleven_author_bio_avatar_size', 60 );
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
?> ?>
</div><!-- #author-avatar --> </div><!-- #author-avatar -->
<div id="author-description"> <div id="author-description">
<h2><?php printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2> <h2>
<?php
/* translators: Author display name. */
printf( __( 'About %s', 'twentyeleven' ), get_the_author() );
?>
</h2>
<?php the_author_meta( 'description' ); ?> <?php the_author_meta( 'description' ); ?>
</div><!-- #author-description --> </div><!-- #author-description -->
</div><!-- #author-info --> </div><!-- #author-info -->
<?php endif; ?> <?php endif; ?>
<?php /* Start the Loop */ ?>
<?php <?php
// Start the Loop.
while ( have_posts() ) : while ( have_posts() ) :
the_post(); the_post();
?> ?>
@ -74,7 +85,8 @@ get_header(); ?>
/* /*
* Include the Post-Format-specific template for the content. * Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file * If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead. * called content-___.php (where ___ is the Post Format name) and that
* will be used instead.
*/ */
get_template_part( 'content', get_post_format() ); get_template_part( 'content', get_post_format() );
?> ?>

View File

@ -17,6 +17,7 @@ get_header(); ?>
<header class="page-header"> <header class="page-header">
<h1 class="page-title"> <h1 class="page-title">
<?php <?php
/* translators: %s: Ñategory title. */
printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' ); printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
?> ?>
</h1> </h1>
@ -38,8 +39,8 @@ get_header(); ?>
<?php twentyeleven_content_nav( 'nav-above' ); ?> <?php twentyeleven_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php <?php
// Start the Loop.
while ( have_posts() ) : while ( have_posts() ) :
the_post(); the_post();
?> ?>
@ -48,7 +49,8 @@ get_header(); ?>
/* /*
* Include the Post-Format-specific template for the content. * Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file * If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead. * called content-___.php (where ___ is the Post Format name) and that
* will be used instead.
*/ */
get_template_part( 'content', get_post_format() ); get_template_part( 'content', get_post_format() );
?> ?>

View File

@ -48,13 +48,13 @@
?> ?>
</h2> </h2>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<nav id="comment-nav-above"> <nav id="comment-nav-above">
<h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1> <h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyeleven' ) ); ?></div> <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyeleven' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div> <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div>
</nav> </nav>
<?php endif; // check for comment navigation ?> <?php endif; // Check for comment navigation. ?>
<ol class="commentlist"> <ol class="commentlist">
<?php <?php
@ -69,13 +69,13 @@
?> ?>
</ol> </ol>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<nav id="comment-nav-below"> <nav id="comment-nav-below">
<h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1> <h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyeleven' ) ); ?></div> <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyeleven' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div> <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div>
</nav> </nav>
<?php endif; // check for comment navigation ?> <?php endif; // Check for comment navigation. ?>
<?php <?php
/* /*

View File

@ -4,7 +4,7 @@
* *
* Used on index and archive pages. * Used on index and archive pages.
* *
* @link https://codex.wordpress.org/Post_Formats * @link https://wordpress.org/support/article/post-formats/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Eleven * @subpackage Twenty_Eleven
@ -26,7 +26,7 @@
<?php endif; ?> <?php endif; ?>
</header><!-- .entry-header --> </header><!-- .entry-header -->
<?php if ( is_search() ) : // Only display Excerpts for Search ?> <?php if ( is_search() ) : // Only display excerpts for search. ?>
<div class="entry-summary"> <div class="entry-summary">
<?php the_excerpt(); ?> <?php the_excerpt(); ?>
</div><!-- .entry-summary --> </div><!-- .entry-summary -->

View File

@ -32,16 +32,18 @@ global $feature_class;
<footer class="entry-meta"> <footer class="entry-meta">
<?php <?php
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
$tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
if ( '' != $tag_list ) { if ( '' != $tag_list ) {
/* translators: 1: Category list, 2: Tag list, 3: Post permalink, 4: Post title. */
$utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
} else { } else {
/* translators: 1: Category list, 3: Post permalink, 4: Post title. */
$utility_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); $utility_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
} }
printf( printf(
$utility_text, $utility_text,
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
get_the_category_list( __( ', ', 'twentyeleven' ) ), get_the_category_list( __( ', ', 'twentyeleven' ) ),
$tag_list, $tag_list,
esc_url( get_permalink() ), esc_url( get_permalink() ),

View File

@ -4,7 +4,7 @@
* *
* Used on index and archive pages. * Used on index and archive pages.
* *
* @link https://codex.wordpress.org/Post_Formats * @link https://wordpress.org/support/article/post-formats/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Eleven * @subpackage Twenty_Eleven
@ -24,7 +24,7 @@
</div><!-- .entry-meta --> </div><!-- .entry-meta -->
</header><!-- .entry-header --> </header><!-- .entry-header -->
<?php if ( is_search() ) : // Only display Excerpts for search pages ?> <?php if ( is_search() ) : // Only display excerpts for search. ?>
<div class="entry-summary"> <div class="entry-summary">
<?php the_excerpt(); ?> <?php the_excerpt(); ?>
</div><!-- .entry-summary --> </div><!-- .entry-summary -->
@ -46,13 +46,15 @@
<p><em> <p><em>
<?php <?php
printf( printf(
/* translators: 1: Link attributes, 2: Number of photos. */
_n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyeleven' ), _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyeleven' ),
/* translators: %s: Post title. */
'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', 'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"',
number_format_i18n( $total_images ) number_format_i18n( $total_images )
); );
?> ?>
</em></p> </em></p>
<?php endif; // end twentyeleven_get_gallery_images() check ?> <?php endif; // End twentyeleven_get_gallery_images() check. ?>
<?php the_excerpt(); ?> <?php the_excerpt(); ?>
<?php endif; ?> <?php endif; ?>
<?php <?php
@ -69,39 +71,41 @@
<footer class="entry-meta"> <footer class="entry-meta">
<?php $show_sep = false; ?> <?php $show_sep = false; ?>
<?php <?php
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) ); $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
if ( $categories_list ) : if ( $categories_list ) :
?> ?>
<span class="cat-links"> <span class="cat-links">
<?php <?php
/* translators: 1: CSS classes, 2: List of categories. */
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
$show_sep = true; $show_sep = true;
?> ?>
</span> </span>
<?php endif; // End if categories ?> <?php endif; // End if categories. ?>
<?php <?php
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
if ( $tags_list ) : if ( $tags_list ) :
if ( $show_sep ) : if ( $show_sep ) :
?> ?>
<span class="sep"> | </span> <span class="sep"> | </span>
<?php endif; // End if $show_sep ?> <?php endif; // End if $show_sep. ?>
<span class="tag-links"> <span class="tag-links">
<?php <?php
/* translators: 1: CSS classes, 2: List of tags. */
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
$show_sep = true; $show_sep = true;
?> ?>
</span> </span>
<?php endif; // End if $tags_list ?> <?php endif; // End if $tags_list. ?>
<?php if ( comments_open() ) : ?> <?php if ( comments_open() ) : ?>
<?php if ( $show_sep ) : ?> <?php if ( $show_sep ) : ?>
<span class="sep"> | </span> <span class="sep"> | </span>
<?php endif; // End if $show_sep ?> <?php endif; // End if $show_sep. ?>
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
<?php endif; // End if comments_open() ?> <?php endif; // End if comments_open(). ?>
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta --> </footer><!-- .entry-meta -->

View File

@ -4,7 +4,7 @@
* *
* Used on index and archive pages. * Used on index and archive pages.
* *
* @link https://codex.wordpress.org/Post_Formats * @link https://wordpress.org/support/article/post-formats/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Eleven * @subpackage Twenty_Eleven
@ -41,11 +41,13 @@
<div class="entry-meta"> <div class="entry-meta">
<?php <?php
printf( printf(
/* translators: 1: The permalink, 2: Date and time, 3: Date and time, 4: Author link, 5: Author link title, 6: Author display name. */
__( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ), __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
esc_url( get_permalink() ), esc_url( get_permalink() ),
get_the_date( 'c' ), get_the_date( 'c' ),
get_the_date(), get_the_date(),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
/* translators: %s: Author display name. */
esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ), esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ),
get_the_author() get_the_author()
); );
@ -53,27 +55,33 @@
</div><!-- .entry-meta --> </div><!-- .entry-meta -->
<div class="entry-meta"> <div class="entry-meta">
<?php <?php
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) ); $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
if ( $categories_list ) : if ( $categories_list ) :
?> ?>
<span class="cat-links"> <span class="cat-links">
<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); ?>
</span>
<?php endif; // End if categories ?>
<?php <?php
/* translators: used between list items, there is a space after the comma */ /* translators: 1: CSS classes, 2: Category list. */
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
?>
</span>
<?php endif; // End if categories. ?>
<?php
/* translators: Used between list items, there is a space after the comma. */
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
if ( $tags_list ) : if ( $tags_list ) :
?> ?>
<span class="tag-links"> <span class="tag-links">
<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> <?php
/* translators: 1: CSS classes, 2: Tag list. */
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
?>
</span> </span>
<?php endif; // End if $tags_list ?> <?php endif; // End if $tags_list. ?>
<?php if ( comments_open() ) : ?> <?php if ( comments_open() ) : ?>
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
<?php endif; // End if comments_open() ?> <?php endif; // End if comments_open(). ?>
</div><!-- .entry-meta --> </div><!-- .entry-meta -->
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>

View File

@ -4,7 +4,7 @@
* *
* Used on index and archive pages * Used on index and archive pages
* *
* @link https://codex.wordpress.org/Post_Formats * @link https://wordpress.org/support/article/post-formats/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Eleven * @subpackage Twenty_Eleven
@ -26,7 +26,7 @@
<?php endif; ?> <?php endif; ?>
</header><!-- .entry-header --> </header><!-- .entry-header -->
<?php if ( is_search() ) : // Only display Excerpts for Search ?> <?php if ( is_search() ) : // Only display excerpts for search. ?>
<div class="entry-summary"> <div class="entry-summary">
<?php the_excerpt(); ?> <?php the_excerpt(); ?>
</div><!-- .entry-summary --> </div><!-- .entry-summary -->

View File

@ -26,7 +26,7 @@
<?php endif; ?> <?php endif; ?>
</header><!-- .entry-header --> </header><!-- .entry-header -->
<?php if ( is_search() ) : // Only display Excerpts for Search ?> <?php if ( is_search() ) : // Only display excerpts for search. ?>
<div class="entry-summary"> <div class="entry-summary">
<?php the_excerpt(); ?> <?php the_excerpt(); ?>
</div><!-- .entry-summary --> </div><!-- .entry-summary -->
@ -47,39 +47,41 @@
<footer class="entry-meta"> <footer class="entry-meta">
<?php $show_sep = false; ?> <?php $show_sep = false; ?>
<?php <?php
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) ); $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
if ( $categories_list ) : if ( $categories_list ) :
?> ?>
<span class="cat-links"> <span class="cat-links">
<?php <?php
/* translators: 1: CSS classes, 2: List of categories. */
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
$show_sep = true; $show_sep = true;
?> ?>
</span> </span>
<?php endif; // End if categories ?> <?php endif; // End if categories. ?>
<?php <?php
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
if ( $tags_list ) : if ( $tags_list ) :
if ( $show_sep ) : if ( $show_sep ) :
?> ?>
<span class="sep"> | </span> <span class="sep"> | </span>
<?php endif; // End if $show_sep ?> <?php endif; // End if $show_sep. ?>
<span class="tag-links"> <span class="tag-links">
<?php <?php
/* translators: 1: CSS classes, 2: List of tags. */
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
$show_sep = true; $show_sep = true;
?> ?>
</span> </span>
<?php endif; // End if $tags_list ?> <?php endif; // End if $tags_list. ?>
<?php if ( comments_open() ) : ?> <?php if ( comments_open() ) : ?>
<?php if ( $show_sep ) : ?> <?php if ( $show_sep ) : ?>
<span class="sep"> | </span> <span class="sep"> | </span>
<?php endif; // End if $show_sep ?> <?php endif; // End if $show_sep. ?>
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
<?php endif; // End if comments_open() ?> <?php endif; // End if comments_open(). ?>
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta --> </footer><!-- .entry-meta -->

View File

@ -33,16 +33,19 @@
<footer class="entry-meta"> <footer class="entry-meta">
<?php <?php
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) ); $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
$tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
if ( '' != $tag_list ) { if ( '' != $tag_list ) {
/* translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title, 5: Author name, 6: Author URL. */
$utility_text = __( 'This entry was posted in %1$s and tagged %2$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); $utility_text = __( 'This entry was posted in %1$s and tagged %2$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
} elseif ( '' != $categories_list ) { } elseif ( '' != $categories_list ) {
/* translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title, 5: Author name, 6: Author URL. */
$utility_text = __( 'This entry was posted in %1$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); $utility_text = __( 'This entry was posted in %1$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
} else { } else {
/* translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title, 5: Author name, 6: Author URL. */
$utility_text = __( 'This entry was posted by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); $utility_text = __( 'This entry was posted by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
} }
@ -58,20 +61,32 @@
?> ?>
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
<?php if ( get_the_author_meta( 'description' ) && ( ! function_exists( 'is_multi_author' ) || is_multi_author() ) ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries ?> <?php
// If a user has filled out their description and this is a multi-author blog, show a bio on their entries.
if ( get_the_author_meta( 'description' ) && ( ! function_exists( 'is_multi_author' ) || is_multi_author() ) ) :
?>
<div id="author-info"> <div id="author-info">
<div id="author-avatar"> <div id="author-avatar">
<?php <?php
/** This filter is documented in author.php */ /** This filter is documented in author.php */
echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 68 ) ); $author_bio_avatar_size = apply_filters( 'twentyeleven_author_bio_avatar_size', 68 );
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
?> ?>
</div><!-- #author-avatar --> </div><!-- #author-avatar -->
<div id="author-description"> <div id="author-description">
<h2><?php printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2> <h2>
<?php
/* translators: %s: Author name. */
printf( __( 'About %s', 'twentyeleven' ), get_the_author() );
?>
</h2>
<?php the_author_meta( 'description' ); ?> <?php the_author_meta( 'description' ); ?>
<div id="author-link"> <div id="author-link">
<a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
<?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyeleven' ), get_the_author() ); ?> <?php
/* translators: %s: Author name. */
printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyeleven' ), get_the_author() );
?>
</a> </a>
</div><!-- #author-link --> </div><!-- #author-link -->
</div><!-- #author-description --> </div><!-- #author-description -->

View File

@ -4,7 +4,7 @@
* *
* Used on index and archive pages * Used on index and archive pages
* *
* @link https://codex.wordpress.org/Post_Formats * @link https://wordpress.org/support/article/post-formats/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Eleven * @subpackage Twenty_Eleven
@ -26,7 +26,7 @@
<?php endif; ?> <?php endif; ?>
</header><!-- .entry-header --> </header><!-- .entry-header -->
<?php if ( is_search() ) : // Only display Excerpts for Search ?> <?php if ( is_search() ) : // Only display excerpts for search. ?>
<div class="entry-summary"> <div class="entry-summary">
<?php the_excerpt(); ?> <?php the_excerpt(); ?>
</div><!-- .entry-summary --> </div><!-- .entry-summary -->

View File

@ -32,7 +32,7 @@
<?php endif; ?> <?php endif; ?>
</header><!-- .entry-header --> </header><!-- .entry-header -->
<?php if ( is_search() ) : // Only display Excerpts for Search ?> <?php if ( is_search() ) : // Only display excerpts for search. ?>
<div class="entry-summary"> <div class="entry-summary">
<?php the_excerpt(); ?> <?php the_excerpt(); ?>
</div><!-- .entry-summary --> </div><!-- .entry-summary -->
@ -52,44 +52,46 @@
<footer class="entry-meta"> <footer class="entry-meta">
<?php $show_sep = false; ?> <?php $show_sep = false; ?>
<?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported ?> <?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported. ?>
<?php <?php
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) ); $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
if ( $categories_list ) : if ( $categories_list ) :
?> ?>
<span class="cat-links"> <span class="cat-links">
<?php <?php
/* translators: 1: CSS classes, 2: Category list. */
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
$show_sep = true; $show_sep = true;
?> ?>
</span> </span>
<?php endif; // End if categories ?> <?php endif; // End if categories. ?>
<?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ) ?> <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ). ?>
<?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported ?> <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported. ?>
<?php <?php
/* translators: used between list items, there is a space after the comma */ /* translators: Used between list items, there is a space after the comma. */
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
if ( $tags_list ) : if ( $tags_list ) :
if ( $show_sep ) : if ( $show_sep ) :
?> ?>
<span class="sep"> | </span> <span class="sep"> | </span>
<?php endif; // End if $show_sep ?> <?php endif; // End if $show_sep. ?>
<span class="tag-links"> <span class="tag-links">
<?php <?php
/* translators: 1: CSS classes, 2: Tag list. */
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
$show_sep = true; $show_sep = true;
?> ?>
</span> </span>
<?php endif; // End if $tags_list ?> <?php endif; // End if $tags_list. ?>
<?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ) ?> <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ). ?>
<?php if ( comments_open() ) : ?> <?php if ( comments_open() ) : ?>
<?php if ( $show_sep ) : ?> <?php if ( $show_sep ) : ?>
<span class="sep"> | </span> <span class="sep"> | </span>
<?php endif; // End if $show_sep ?> <?php endif; // End if $show_sep. ?>
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
<?php endif; // End if comments_open() ?> <?php endif; // End if comments_open(). ?>
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta --> </footer><!-- .entry-meta -->

View File

@ -382,6 +382,10 @@ p.has-drop-cap:not(:focus)::first-letter {
text-shadow: 0 -1px 0 rgba(0,0,0,0.3); text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
} }
.wp-block-button .wp-block-button__link[data-is-placeholder-visible="true"] {
height: auto;
}
.wp-block-button__link { .wp-block-button__link {
background: #222; background: #222;
color: #eee; color: #eee;

View File

@ -32,7 +32,10 @@
} }
?> ?>
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyeleven' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>"> <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyeleven' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>">
<?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?> <?php
/* translators: %s: WordPress */
printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' );
?>
</a> </a>
</div> </div>
</footer><!-- #colophon --> </footer><!-- #colophon -->

View File

@ -14,7 +14,7 @@
* functions.php file. The child theme's functions.php file is included before * functions.php file. The child theme's functions.php file is included before
* the parent theme's file, so the child theme functions would be used. * the parent theme's file, so the child theme functions would be used.
* *
* @link https://codex.wordpress.org/Theme_Development * @link https://developer.wordpress.org/themes/basics/theme-functions/
* @link https://developer.wordpress.org/themes/advanced-topics/child-themes/ * @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
* *
* Functions that are not pluggable (not wrapped in function_exists()) are instead attached * Functions that are not pluggable (not wrapped in function_exists()) are instead attached
@ -27,13 +27,13 @@
* <code> * <code>
* add_action( 'after_setup_theme', 'my_child_theme_setup' ); * add_action( 'after_setup_theme', 'my_child_theme_setup' );
* function my_child_theme_setup() { * function my_child_theme_setup() {
* // We are providing our own filter for excerpt_length (or using the unfiltered value) * // We are providing our own filter for excerpt_length (or using the unfiltered value).
* remove_filter( 'excerpt_length', 'twentyeleven_excerpt_length' ); * remove_filter( 'excerpt_length', 'twentyeleven_excerpt_length' );
* ... * ...
* } * }
* </code> * </code>
* *
* For more information on hooks, actions, and filters, see https://codex.wordpress.org/Plugin_API. * For more information on hooks, actions, and filters, see https://developer.wordpress.org/plugins/.
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Eleven * @subpackage Twenty_Eleven
@ -132,10 +132,10 @@ if ( ! function_exists( 'twentyeleven_setup' ) ) :
); );
// Load up our theme options page and related code. // Load up our theme options page and related code.
require( get_template_directory() . '/inc/theme-options.php' ); require get_template_directory() . '/inc/theme-options.php';
// Grab Twenty Eleven's Ephemera widget. // Grab Twenty Eleven's Ephemera widget.
require( get_template_directory() . '/inc/widgets.php' ); require get_template_directory() . '/inc/widgets.php';
// Add default posts and comments RSS feed links to <head>. // Add default posts and comments RSS feed links to <head>.
add_theme_support( 'automatic-feed-links' ); add_theme_support( 'automatic-feed-links' );
@ -143,7 +143,7 @@ if ( ! function_exists( 'twentyeleven_setup' ) ) :
// This theme uses wp_nav_menu() in one location. // This theme uses wp_nav_menu() in one location.
register_nav_menu( 'primary', __( 'Primary Menu', 'twentyeleven' ) ); register_nav_menu( 'primary', __( 'Primary Menu', 'twentyeleven' ) );
// Add support for a variety of post formats // Add support for a variety of post formats.
add_theme_support( 'post-formats', array( 'aside', 'link', 'gallery', 'status', 'quote', 'image' ) ); add_theme_support( 'post-formats', array( 'aside', 'link', 'gallery', 'status', 'quote', 'image' ) );
$theme_options = twentyeleven_get_theme_options(); $theme_options = twentyeleven_get_theme_options();
@ -165,7 +165,7 @@ if ( ! function_exists( 'twentyeleven_setup' ) ) :
) )
); );
// This theme uses Featured Images (also known as post thumbnails) for per-post/per-page Custom Header images // This theme uses Featured Images (also known as post thumbnails) for per-post/per-page Custom Header images.
add_theme_support( 'post-thumbnails' ); add_theme_support( 'post-thumbnails' );
// Add support for custom headers. // Add support for custom headers.
@ -234,49 +234,49 @@ if ( ! function_exists( 'twentyeleven_setup' ) ) :
'wheel' => array( 'wheel' => array(
'url' => '%s/images/headers/wheel.jpg', 'url' => '%s/images/headers/wheel.jpg',
'thumbnail_url' => '%s/images/headers/wheel-thumbnail.jpg', 'thumbnail_url' => '%s/images/headers/wheel-thumbnail.jpg',
/* translators: header image description */ /* translators: Header image description. */
'description' => __( 'Wheel', 'twentyeleven' ), 'description' => __( 'Wheel', 'twentyeleven' ),
), ),
'shore' => array( 'shore' => array(
'url' => '%s/images/headers/shore.jpg', 'url' => '%s/images/headers/shore.jpg',
'thumbnail_url' => '%s/images/headers/shore-thumbnail.jpg', 'thumbnail_url' => '%s/images/headers/shore-thumbnail.jpg',
/* translators: header image description */ /* translators: Header image description. */
'description' => __( 'Shore', 'twentyeleven' ), 'description' => __( 'Shore', 'twentyeleven' ),
), ),
'trolley' => array( 'trolley' => array(
'url' => '%s/images/headers/trolley.jpg', 'url' => '%s/images/headers/trolley.jpg',
'thumbnail_url' => '%s/images/headers/trolley-thumbnail.jpg', 'thumbnail_url' => '%s/images/headers/trolley-thumbnail.jpg',
/* translators: header image description */ /* translators: Header image description. */
'description' => __( 'Trolley', 'twentyeleven' ), 'description' => __( 'Trolley', 'twentyeleven' ),
), ),
'pine-cone' => array( 'pine-cone' => array(
'url' => '%s/images/headers/pine-cone.jpg', 'url' => '%s/images/headers/pine-cone.jpg',
'thumbnail_url' => '%s/images/headers/pine-cone-thumbnail.jpg', 'thumbnail_url' => '%s/images/headers/pine-cone-thumbnail.jpg',
/* translators: header image description */ /* translators: Header image description. */
'description' => __( 'Pine Cone', 'twentyeleven' ), 'description' => __( 'Pine Cone', 'twentyeleven' ),
), ),
'chessboard' => array( 'chessboard' => array(
'url' => '%s/images/headers/chessboard.jpg', 'url' => '%s/images/headers/chessboard.jpg',
'thumbnail_url' => '%s/images/headers/chessboard-thumbnail.jpg', 'thumbnail_url' => '%s/images/headers/chessboard-thumbnail.jpg',
/* translators: header image description */ /* translators: Header image description. */
'description' => __( 'Chessboard', 'twentyeleven' ), 'description' => __( 'Chessboard', 'twentyeleven' ),
), ),
'lanterns' => array( 'lanterns' => array(
'url' => '%s/images/headers/lanterns.jpg', 'url' => '%s/images/headers/lanterns.jpg',
'thumbnail_url' => '%s/images/headers/lanterns-thumbnail.jpg', 'thumbnail_url' => '%s/images/headers/lanterns-thumbnail.jpg',
/* translators: header image description */ /* translators: Header image description. */
'description' => __( 'Lanterns', 'twentyeleven' ), 'description' => __( 'Lanterns', 'twentyeleven' ),
), ),
'willow' => array( 'willow' => array(
'url' => '%s/images/headers/willow.jpg', 'url' => '%s/images/headers/willow.jpg',
'thumbnail_url' => '%s/images/headers/willow-thumbnail.jpg', 'thumbnail_url' => '%s/images/headers/willow-thumbnail.jpg',
/* translators: header image description */ /* translators: Header image description. */
'description' => __( 'Willow', 'twentyeleven' ), 'description' => __( 'Willow', 'twentyeleven' ),
), ),
'hanoi' => array( 'hanoi' => array(
'url' => '%s/images/headers/hanoi.jpg', 'url' => '%s/images/headers/hanoi.jpg',
'thumbnail_url' => '%s/images/headers/hanoi-thumbnail.jpg', 'thumbnail_url' => '%s/images/headers/hanoi-thumbnail.jpg',
/* translators: header image description */ /* translators: Header image description. */
'description' => __( 'Hanoi Plant', 'twentyeleven' ), 'description' => __( 'Hanoi Plant', 'twentyeleven' ),
), ),
) )
@ -285,7 +285,7 @@ if ( ! function_exists( 'twentyeleven_setup' ) ) :
// Indicate widget sidebars can use selective refresh in the Customizer. // Indicate widget sidebars can use selective refresh in the Customizer.
add_theme_support( 'customize-selective-refresh-widgets' ); add_theme_support( 'customize-selective-refresh-widgets' );
} }
endif; // twentyeleven_setup endif; // twentyeleven_setup()
/** /**
* Enqueue scripts and styles for front end. * Enqueue scripts and styles for front end.
@ -294,7 +294,7 @@ endif; // twentyeleven_setup
*/ */
function twentyeleven_scripts_styles() { function twentyeleven_scripts_styles() {
// Theme block stylesheet. // Theme block stylesheet.
wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' ); wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20190102' );
} }
add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' ); add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' );
@ -305,7 +305,7 @@ add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' );
*/ */
function twentyeleven_block_editor_styles() { function twentyeleven_block_editor_styles() {
// Block styles. // Block styles.
wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20181230' ); wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20190102' );
} }
add_action( 'enqueue_block_editor_assets', 'twentyeleven_block_editor_styles' ); add_action( 'enqueue_block_editor_assets', 'twentyeleven_block_editor_styles' );
@ -319,7 +319,7 @@ if ( ! function_exists( 'twentyeleven_header_style' ) ) :
$text_color = get_header_textcolor(); $text_color = get_header_textcolor();
// If no custom options for text are set, let's bail. // If no custom options for text are set, let's bail.
if ( $text_color == HEADER_TEXTCOLOR ) { if ( HEADER_TEXTCOLOR == $text_color ) {
return; return;
} }
@ -337,7 +337,7 @@ if ( ! function_exists( 'twentyeleven_header_style' ) ) :
clip: rect(1px, 1px, 1px, 1px); clip: rect(1px, 1px, 1px, 1px);
} }
<?php <?php
// If the user has set a custom color for the text use that // If the user has set a custom color for the text, use that.
else : else :
?> ?>
#site-title a, #site-title a,
@ -348,7 +348,7 @@ if ( ! function_exists( 'twentyeleven_header_style' ) ) :
</style> </style>
<?php <?php
} }
endif; // twentyeleven_header_style endif; // twentyeleven_header_style()
if ( ! function_exists( 'twentyeleven_admin_header_style' ) ) : if ( ! function_exists( 'twentyeleven_admin_header_style' ) ) :
/** /**
@ -382,7 +382,7 @@ if ( ! function_exists( 'twentyeleven_admin_header_style' ) ) :
padding: 0 0 3em; padding: 0 0 3em;
} }
<?php <?php
// If the user has set a custom color for the text use that // If the user has set a custom color for the text, use that.
if ( get_header_textcolor() != HEADER_TEXTCOLOR ) : if ( get_header_textcolor() != HEADER_TEXTCOLOR ) :
?> ?>
#site-title a, #site-title a,
@ -398,7 +398,7 @@ if ( ! function_exists( 'twentyeleven_admin_header_style' ) ) :
</style> </style>
<?php <?php
} }
endif; // twentyeleven_admin_header_style endif; // twentyeleven_admin_header_style()
if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) : if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) :
/** /**
@ -416,7 +416,7 @@ if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) :
$color = get_header_textcolor(); $color = get_header_textcolor();
$image = get_header_image(); $image = get_header_image();
$style = 'display: none;'; $style = 'display: none;';
if ( $color && $color != 'blank' ) { if ( $color && 'blank' !== $color ) {
$style = 'color: #' . $color . ';'; $style = 'color: #' . $color . ';';
} }
?> ?>
@ -428,7 +428,7 @@ if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) :
</div> </div>
<?php <?php
} }
endif; // twentyeleven_admin_header_image endif; // twentyeleven_admin_header_image()
/** /**
* Set the post excerpt length to 40 words. * Set the post excerpt length to 40 words.
@ -458,7 +458,7 @@ if ( ! function_exists( 'twentyeleven_continue_reading_link' ) ) :
function twentyeleven_continue_reading_link() { function twentyeleven_continue_reading_link() {
return ' <a href="' . esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) . '</a>'; return ' <a href="' . esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) . '</a>';
} }
endif; // twentyeleven_continue_reading_link endif; // twentyeleven_continue_reading_link()
/** /**
* Replace "[...]" in the Read More link with an ellipsis. * Replace "[...]" in the Read More link with an ellipsis.
@ -609,7 +609,7 @@ if ( ! function_exists( 'twentyeleven_content_nav' ) ) :
<?php <?php
endif; endif;
} }
endif; // twentyeleven_content_nav endif; // twentyeleven_content_nav()
/** /**
* Return the first link from the post content. If none found, the * Return the first link from the post content. If none found, the
@ -726,15 +726,15 @@ if ( ! function_exists( 'twentyeleven_comment' ) ) :
echo get_avatar( $comment, $avatar_size ); echo get_avatar( $comment, $avatar_size );
/* translators: 1: comment author, 2: date and time */
printf( printf(
/* translators: 1: Comment author, 2: Date and time. */
__( '%1$s on %2$s <span class="says">said:</span>', 'twentyeleven' ), __( '%1$s on %2$s <span class="says">said:</span>', 'twentyeleven' ),
sprintf( '<span class="fn">%s</span>', get_comment_author_link() ), sprintf( '<span class="fn">%s</span>', get_comment_author_link() ),
sprintf( sprintf(
'<a href="%1$s"><time datetime="%2$s">%3$s</time></a>', '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>',
esc_url( get_comment_link( $comment->comment_ID ) ), esc_url( get_comment_link( $comment->comment_ID ) ),
get_comment_time( 'c' ), get_comment_time( 'c' ),
/* translators: 1: date, 2: time */ /* translators: 1: Date, 2: Time. */
sprintf( __( '%1$s at %2$s', 'twentyeleven' ), get_comment_date(), get_comment_time() ) sprintf( __( '%1$s at %2$s', 'twentyeleven' ), get_comment_date(), get_comment_time() )
) )
); );
@ -743,8 +743,17 @@ if ( ! function_exists( 'twentyeleven_comment' ) ) :
<?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> <?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .comment-author .vcard --> </div><!-- .comment-author .vcard -->
<?php if ( $comment->comment_approved == '0' ) : ?> <?php
<em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentyeleven' ); ?></em> $commenter = wp_get_current_commenter();
if ( $commenter['comment_author_email'] ) {
$moderation_note = __( 'Your comment is awaiting moderation.', 'twentyeleven' );
} else {
$moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.', 'twentyeleven' );
}
?>
<?php if ( '0' == $comment->comment_approved ) : ?>
<em class="comment-awaiting-moderation"><?php echo $moderation_note; ?></em>
<br /> <br />
<?php endif; ?> <?php endif; ?>
@ -772,7 +781,7 @@ if ( ! function_exists( 'twentyeleven_comment' ) ) :
break; break;
endswitch; endswitch;
} }
endif; // ends check for twentyeleven_comment() endif; // twentyeleven_comment()
if ( ! function_exists( 'twentyeleven_posted_on' ) ) : if ( ! function_exists( 'twentyeleven_posted_on' ) ) :
/** /**
@ -784,12 +793,14 @@ if ( ! function_exists( 'twentyeleven_posted_on' ) ) :
*/ */
function twentyeleven_posted_on() { function twentyeleven_posted_on() {
printf( printf(
/* translators: 1: The permalink, 2: Time, 3: Date and time, 4: Date and time, 5: Author posts, 6: Author post link text, 7: Author display name. */
__( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ), __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ),
esc_url( get_permalink() ), esc_url( get_permalink() ),
esc_attr( get_the_time() ), esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ), esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ), esc_html( get_the_date() ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
/* translators: %s: Author display name. */
esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ), esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ),
get_the_author() get_the_author()
); );
@ -888,7 +899,7 @@ if ( ! function_exists( 'wp_body_open' ) ) :
/** /**
* Fire the wp_body_open action. * Fire the wp_body_open action.
* *
* Added for backwards compatibility to support pre 5.2.0 WordPress versions. * Added for backward compatibility to support pre-5.2.0 WordPress versions.
* *
* @since Twenty Eleven 3.3 * @since Twenty Eleven 3.3
*/ */
@ -901,3 +912,16 @@ if ( ! function_exists( 'wp_body_open' ) ) :
do_action( 'wp_body_open' ); do_action( 'wp_body_open' );
} }
endif; endif;
/**
* Include a skip to content link at the top of the page so that users can bypass the menu.
*
* @since Twenty Eleven 3.4
*/
function twentyeleven_skip_link() {
echo '<div class="skip-link"><a class="assistive-text" href="#content">' . esc_html__( 'Skip to primary content', 'twentyeleven' ) . '</a></div>';
if ( ! is_singular() ) {
echo '<div class="skip-link"><a class="assistive-text" href="#secondary">' . esc_html__( 'Skip to secondary content', 'twentyeleven' ) . '</a></div>';
}
}
add_action( 'wp_body_open', 'twentyeleven_skip_link', 5 );

View File

@ -42,16 +42,17 @@ if ( $site_description && ( is_home() || is_front_page() ) ) {
// Add a page number if necessary: // Add a page number if necessary:
if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
/* translators: %s: Page number. */
echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ) ); echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ) );
} }
?> ?>
</title> </title>
<link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>?ver=20190507" />
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js?ver=3.7.0" type="text/javascript"></script>
<![endif]--> <![endif]-->
<?php <?php
/* /*
@ -82,7 +83,7 @@ if ( is_singular() && get_option( 'thread_comments' ) ) {
</hgroup> </hgroup>
<?php <?php
// Check to see if the header image has been removed // Check to see if the header image has been removed.
$header_image = get_header_image(); $header_image = get_header_image();
if ( $header_image ) : if ( $header_image ) :
// Compatibility with versions of WordPress prior to 3.4. // Compatibility with versions of WordPress prior to 3.4.
@ -102,12 +103,13 @@ if ( is_singular() && get_option( 'thread_comments' ) ) {
* The header image. * The header image.
* Check if this is a post or page, if it has a thumbnail, and if it's a big one * Check if this is a post or page, if it has a thumbnail, and if it's a big one
*/ */
if ( is_singular() && has_post_thumbnail( $post->ID ) && if ( is_singular() && has_post_thumbnail( $post->ID ) ) {
( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( $header_image_width, $header_image_width ) ) ) && $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( $header_image_width, $header_image_width ) );
$image[1] >= $header_image_width ) : if ( $image && $image[1] >= $header_image_width ) {
// Houston, we have a new header image! // Houston, we have a new header image!
echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' ); echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
else : }
} else {
// Compatibility with versions of WordPress prior to 3.4. // Compatibility with versions of WordPress prior to 3.4.
if ( function_exists( 'get_custom_header' ) ) { if ( function_exists( 'get_custom_header' ) ) {
$header_image_width = get_custom_header()->width; $header_image_width = get_custom_header()->width;
@ -118,9 +120,11 @@ if ( is_singular() && get_option( 'thread_comments' ) ) {
} }
?> ?>
<img src="<?php header_image(); ?>" width="<?php echo esc_attr( $header_image_width ); ?>" height="<?php echo esc_attr( $header_image_height ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" /> <img src="<?php header_image(); ?>" width="<?php echo esc_attr( $header_image_width ); ?>" height="<?php echo esc_attr( $header_image_height ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" />
<?php endif; // end check for featured image or standard header ?> <?php
} // End check for featured image or standard header.
?>
</a> </a>
<?php endif; // end check for removed header image ?> <?php endif; // End check for removed header image. ?>
<?php <?php
// Has the text been hidden? // Has the text been hidden?
@ -141,13 +145,14 @@ if ( is_singular() && get_option( 'thread_comments' ) ) {
<nav id="access" role="navigation"> <nav id="access" role="navigation">
<h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3> <h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3>
<?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?> <?php
<div class="skip-link"><a class="assistive-text" href="#content"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div> /*
<?php if ( ! is_singular() ) : ?> * Our navigation menu. If one isn't filled out, wp_nav_menu() falls back to wp_page_menu().
<div class="skip-link"><a class="assistive-text" href="#secondary"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div> * The menu assigned to the primary location is the one used.
<?php endif; ?> * If one isn't assigned, the menu with the lowest ID is used.
<?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assigned to the primary location is the one used. If one isn't assigned, the menu with the lowest ID is used. */ ?> */
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> wp_nav_menu( array( 'theme_location' => 'primary' ) );
?>
</nav><!-- #access --> </nav><!-- #access -->
</header><!-- #branding --> </header><!-- #branding -->

View File

@ -31,6 +31,7 @@ get_header(); ?>
<?php <?php
$metadata = wp_get_attachment_metadata(); $metadata = wp_get_attachment_metadata();
printf( printf(
/* translators: 1: Time, 2: Date, 3: Image permalink, 4: Image width, 5: Image height, 6: Parent permalink, 7: Parent post title, 8: Parent post title. */
__( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>', 'twentyeleven' ), __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>', 'twentyeleven' ),
esc_attr( get_the_time() ), esc_attr( get_the_time() ),
get_the_date(), get_the_date(),
@ -74,17 +75,18 @@ get_header(); ?>
} }
} }
// If there is more than 1 attachment in a gallery // If there is more than 1 attachment in a gallery...
if ( count( $attachments ) > 1 ) { if ( count( $attachments ) > 1 ) {
$k++; $k++;
if ( isset( $attachments[ $k ] ) ) { if ( isset( $attachments[ $k ] ) ) {
// get the URL of the next image attachment // ...get the URL of the next image attachment.
$next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
} else { // or get the URL of the first image attachment } else {
// ...or get the URL of the first image attachment.
$next_attachment_url = get_attachment_link( $attachments[0]->ID ); $next_attachment_url = get_attachment_link( $attachments[0]->ID );
} }
} else { } else {
// or, if there's only 1 image, get the URL of the image // Or, if there's only 1 image, get the URL of the image.
$next_attachment_url = wp_get_attachment_url(); $next_attachment_url = wp_get_attachment_url();
} }
?> ?>
@ -98,7 +100,8 @@ get_header(); ?>
* @param int The height and width attachment size dimensions in pixels. Default 848. * @param int The height and width attachment size dimensions in pixels. Default 848.
*/ */
$attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 ); $attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 );
echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height. // Filterable image width with 1024px limit for image height.
echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) );
?> ?>
</a> </a>
@ -129,7 +132,7 @@ get_header(); ?>
<?php comments_template(); ?> <?php comments_template(); ?>
<?php endwhile; // end of the loop. ?> <?php endwhile; // End of the loop. ?>
</div><!-- #content --> </div><!-- #content -->
</div><!-- #primary --> </div><!-- #primary -->

View File

@ -10,7 +10,7 @@
} ); } );
} ); } );
// Header text color // Header text color.
wp.customize( 'header_textcolor', function( value ) { wp.customize( 'header_textcolor', function( value ) {
value.bind( function( to ) { value.bind( function( to ) {
if ( 'blank' === to ) { if ( 'blank' === to ) {

View File

@ -17,8 +17,8 @@
* @param string $hook_suffix An admin page's hook suffix. * @param string $hook_suffix An admin page's hook suffix.
*/ */
function twentyeleven_admin_enqueue_scripts( $hook_suffix ) { function twentyeleven_admin_enqueue_scripts( $hook_suffix ) {
wp_enqueue_style( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.css', false, '2011-04-28' ); wp_enqueue_style( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.css', false, '20110602' );
wp_enqueue_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.js', array( 'farbtastic' ), '2011-06-10' ); wp_enqueue_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.js', array( 'farbtastic' ), '20110610' );
wp_enqueue_style( 'farbtastic' ); wp_enqueue_style( 'farbtastic' );
} }
add_action( 'admin_print_styles-appearance_page_theme_options', 'twentyeleven_admin_enqueue_scripts' ); add_action( 'admin_print_styles-appearance_page_theme_options', 'twentyeleven_admin_enqueue_scripts' );
@ -37,26 +37,26 @@ add_action( 'admin_print_styles-appearance_page_theme_options', 'twentyeleven_ad
function twentyeleven_theme_options_init() { function twentyeleven_theme_options_init() {
register_setting( register_setting(
'twentyeleven_options', // Options group, see settings_fields() call in twentyeleven_theme_options_render_page() 'twentyeleven_options', // Options group, see settings_fields() call in twentyeleven_theme_options_render_page().
'twentyeleven_theme_options', // Database option, see twentyeleven_get_theme_options() 'twentyeleven_theme_options', // Database option, see twentyeleven_get_theme_options().
'twentyeleven_theme_options_validate' // The sanitization callback, see twentyeleven_theme_options_validate() 'twentyeleven_theme_options_validate' // The sanitization callback, see twentyeleven_theme_options_validate().
); );
// Register our settings field group // Register our settings field group.
add_settings_section( add_settings_section(
'general', // Unique identifier for the settings section 'general', // Unique identifier for the settings section.
'', // Section title (we don't want one) '', // Section title (we don't want one).
'__return_false', // Section callback (we don't want anything) '__return_false', // Section callback (we don't want anything).
'theme_options' // Menu slug, used to uniquely identify the page; see twentyeleven_theme_options_add_page() 'theme_options' // Menu slug, used to uniquely identify the page; see twentyeleven_theme_options_add_page().
); );
// Register our individual settings fields // Register our individual settings fields.
add_settings_field( add_settings_field(
'color_scheme', // Unique identifier for the field for this section 'color_scheme', // Unique identifier for the field for this section.
__( 'Color Scheme', 'twentyeleven' ), // Setting field label __( 'Color Scheme', 'twentyeleven' ), // Setting field label.
'twentyeleven_settings_field_color_scheme', // Function that renders the settings field 'twentyeleven_settings_field_color_scheme', // Function that renders the settings field.
'theme_options', // Menu slug, used to uniquely identify the page; see twentyeleven_theme_options_add_page() 'theme_options', // Menu slug, used to uniquely identify the page; see twentyeleven_theme_options_add_page().
'general' // Settings section. Same as the first argument in the add_settings_section() above 'general' // Settings section. Same as the first argument in the add_settings_section() above.
); );
add_settings_field( 'link_color', __( 'Link Color', 'twentyeleven' ), 'twentyeleven_settings_field_link_color', 'theme_options', 'general' ); add_settings_field( 'link_color', __( 'Link Color', 'twentyeleven' ), 'twentyeleven_settings_field_link_color', 'theme_options', 'general' );
@ -92,18 +92,18 @@ add_filter( 'option_page_capability_twentyeleven_options', 'twentyeleven_option_
*/ */
function twentyeleven_theme_options_add_page() { function twentyeleven_theme_options_add_page() {
$theme_page = add_theme_page( $theme_page = add_theme_page(
__( 'Theme Options', 'twentyeleven' ), // Name of page __( 'Theme Options', 'twentyeleven' ), // Name of page.
__( 'Theme Options', 'twentyeleven' ), // Label in menu __( 'Theme Options', 'twentyeleven' ), // Label in menu.
'edit_theme_options', // Capability required 'edit_theme_options', // Capability required.
'theme_options', // Menu slug, used to uniquely identify the page 'theme_options', // Menu slug, used to uniquely identify the page.
'twentyeleven_theme_options_render_page' // Function that renders the options page 'twentyeleven_theme_options_render_page' // Function that renders the options page.
); );
if ( ! $theme_page ) { if ( ! $theme_page ) {
return; return;
} }
add_action( "load-$theme_page", 'twentyeleven_theme_options_help' ); add_action( "load-{$theme_page}", 'twentyeleven_theme_options_help' );
} }
add_action( 'admin_menu', 'twentyeleven_theme_options_add_page' ); add_action( 'admin_menu', 'twentyeleven_theme_options_add_page' );
@ -118,13 +118,13 @@ function twentyeleven_theme_options_help() {
'<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '</p>'; '<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '</p>';
$sidebar = '<p><strong>' . __( 'For more information:', 'twentyeleven' ) . '</strong></p>' . $sidebar = '<p><strong>' . __( 'For more information:', 'twentyeleven' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Theme_Options_Screen" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/article/appearance-customize-screen/" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>', 'twentyeleven' ) . '</p>'; '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>', 'twentyeleven' ) . '</p>';
$screen = get_current_screen(); $screen = get_current_screen();
if ( method_exists( $screen, 'add_help_tab' ) ) { if ( method_exists( $screen, 'add_help_tab' ) ) {
// WordPress 3.3.0 // WordPress 3.3.0.
$screen->add_help_tab( $screen->add_help_tab(
array( array(
'title' => __( 'Overview', 'twentyeleven' ), 'title' => __( 'Overview', 'twentyeleven' ),
@ -135,7 +135,7 @@ function twentyeleven_theme_options_help() {
$screen->set_help_sidebar( $sidebar ); $screen->set_help_sidebar( $sidebar );
} else { } else {
// WordPress 3.2.0 // WordPress 3.2.0.
add_contextual_help( $screen, $help . $sidebar ); add_contextual_help( $screen, $help . $sidebar );
} }
} }
@ -302,7 +302,12 @@ function twentyeleven_settings_field_link_color() {
<input type="button" class="pickcolor button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color', 'twentyeleven' ); ?>" /> <input type="button" class="pickcolor button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color', 'twentyeleven' ); ?>" />
<div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div> <div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>
<br /> <br />
<span><?php printf( __( 'Default color: %s', 'twentyeleven' ), '<span id="default-color">' . twentyeleven_get_default_link_color( $options['color_scheme'] ) . '</span>' ); ?></span> <span>
<?php
/* translators: %s: Link color. */
printf( __( 'Default color: %s', 'twentyeleven' ), '<span id="default-color">' . twentyeleven_get_default_link_color( $options['color_scheme'] ) . '</span>' );
?>
</span>
<?php <?php
} }
@ -338,7 +343,12 @@ function twentyeleven_theme_options_render_page() {
<div class="wrap"> <div class="wrap">
<?php screen_icon(); ?> <?php screen_icon(); ?>
<?php $theme_name = function_exists( 'wp_get_theme' ) ? wp_get_theme() : get_current_theme(); ?> <?php $theme_name = function_exists( 'wp_get_theme' ) ? wp_get_theme() : get_current_theme(); ?>
<h2><?php printf( __( '%s Theme Options', 'twentyeleven' ), $theme_name ); ?></h2> <h2>
<?php
/* translators: %s: Theme name. */
printf( __( '%s Theme Options', 'twentyeleven' ), $theme_name );
?>
</h2>
<?php settings_errors(); ?> <?php settings_errors(); ?>
<form method="post" action="options.php"> <form method="post" action="options.php">
@ -365,22 +375,24 @@ function twentyeleven_theme_options_render_page() {
* @param array $input An array of form input. * @param array $input An array of form input.
*/ */
function twentyeleven_theme_options_validate( $input ) { function twentyeleven_theme_options_validate( $input ) {
$output = $defaults = twentyeleven_get_default_theme_options(); $defaults = twentyeleven_get_default_theme_options();
$output = $defaults;
// Color scheme must be in our array of color scheme options // Color scheme must be in our array of color scheme options.
if ( isset( $input['color_scheme'] ) && array_key_exists( $input['color_scheme'], twentyeleven_color_schemes() ) ) { if ( isset( $input['color_scheme'] ) && array_key_exists( $input['color_scheme'], twentyeleven_color_schemes() ) ) {
$output['color_scheme'] = $input['color_scheme']; $output['color_scheme'] = $input['color_scheme'];
} }
// Our defaults for the link color may have changed, based on the color scheme. // Our defaults for the link color may have changed, based on the color scheme.
$output['link_color'] = $defaults['link_color'] = twentyeleven_get_default_link_color( $output['color_scheme'] ); $defaults['link_color'] = twentyeleven_get_default_link_color( $output['color_scheme'] );
$output['link_color'] = $defaults['link_color'];
// Link color must be 3 or 6 hexadecimal characters // Link color must be 3 or 6 hexadecimal characters.
if ( isset( $input['link_color'] ) && preg_match( '/^#?([a-f0-9]{3}){1,2}$/i', $input['link_color'] ) ) { if ( isset( $input['link_color'] ) && preg_match( '/^#?([a-f0-9]{3}){1,2}$/i', $input['link_color'] ) ) {
$output['link_color'] = '#' . strtolower( ltrim( $input['link_color'], '#' ) ); $output['link_color'] = '#' . strtolower( ltrim( $input['link_color'], '#' ) );
} }
// Theme layout must be in our array of theme layout options // Theme layout must be in our array of theme layout options.
if ( isset( $input['theme_layout'] ) && array_key_exists( $input['theme_layout'], twentyeleven_layouts() ) ) { if ( isset( $input['theme_layout'] ) && array_key_exists( $input['theme_layout'], twentyeleven_layouts() ) ) {
$output['theme_layout'] = $input['theme_layout']; $output['theme_layout'] = $input['theme_layout'];
} }
@ -407,7 +419,7 @@ function twentyeleven_enqueue_color_scheme() {
$color_scheme = $options['color_scheme']; $color_scheme = $options['color_scheme'];
if ( 'dark' == $color_scheme ) { if ( 'dark' == $color_scheme ) {
wp_enqueue_style( 'dark', get_template_directory_uri() . '/colors/dark.css', array(), null ); wp_enqueue_style( 'dark', get_template_directory_uri() . '/colors/dark.css', array(), '20190404' );
} }
/** /**
@ -570,7 +582,7 @@ function twentyeleven_customize_register( $wp_customize ) {
) )
); );
// Link Color (added to Color Scheme section in Customizer) // Link Color (added to Color Scheme section in Customizer).
$wp_customize->add_setting( $wp_customize->add_setting(
'twentyeleven_theme_options[link_color]', 'twentyeleven_theme_options[link_color]',
array( array(
@ -593,7 +605,7 @@ function twentyeleven_customize_register( $wp_customize ) {
) )
); );
// Default Layout // Default Layout.
$wp_customize->add_section( $wp_customize->add_section(
'twentyeleven_layout', 'twentyeleven_layout',
array( array(

View File

@ -4,7 +4,7 @@
* *
* Handles displaying Aside, Link, Status, and Quote Posts available with Twenty Eleven. * Handles displaying Aside, Link, Status, and Quote Posts available with Twenty Eleven.
* *
* @link https://codex.wordpress.org/Widgets_API#Developing_Widgets * @link https://developer.wordpress.org/themes/functionality/widgets/#developing-widgets
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Eleven * @subpackage Twenty_Eleven
@ -38,6 +38,7 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget {
* PHP4 constructor. * PHP4 constructor.
* *
* @since Twenty Eleven 1.0 * @since Twenty Eleven 1.0
* @deprecated Twenty Eleven 2.2
*/ */
function Twenty_Eleven_Ephemera_Widget() { function Twenty_Eleven_Ephemera_Widget() {
self::__construct(); self::__construct();
@ -76,7 +77,8 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget {
$instance['number'] = '10'; $instance['number'] = '10';
} }
if ( ! $args['number'] = absint( $instance['number'] ) ) { $args['number'] = absint( $instance['number'] );
if ( ! $args['number'] ) {
$args['number'] = 10; $args['number'] = 10;
} }
@ -135,10 +137,10 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget {
echo $args['after_widget']; echo $args['after_widget'];
// Reset the post globals as this query will have stomped on it // Reset the post globals as this query will have stomped on it.
wp_reset_postdata(); wp_reset_postdata();
// end check for ephemeral posts // End check for ephemeral posts.
endif; endif;
$cache[ $args['widget_id'] ] = ob_get_flush(); $cache[ $args['widget_id'] ] = ob_get_flush();

View File

@ -21,8 +21,8 @@ get_header(); ?>
<?php twentyeleven_content_nav( 'nav-above' ); ?> <?php twentyeleven_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php <?php
// Start the Loop.
while ( have_posts() ) : while ( have_posts() ) :
the_post(); the_post();
?> ?>

View File

@ -485,7 +485,7 @@ msgid "For more information:"
msgstr "" msgstr ""
#: inc/theme-options.php:121 #: inc/theme-options.php:121
msgid "<a href=\"https://codex.wordpress.org/Appearance_Theme_Options_Screen\" target=\"_blank\">Documentation on Theme Options</a>" msgid "<a href=\"https://wordpress.org/support/article/appearance-customize-screen/\" target=\"_blank\">Documentation on Theme Options</a>"
msgstr "" msgstr ""
#: inc/theme-options.php:122 #: inc/theme-options.php:122

View File

@ -26,7 +26,7 @@ get_header(); ?>
<?php comments_template( '', true ); ?> <?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?> <?php endwhile; // End of the loop. ?>
</div><!-- #content --> </div><!-- #content -->
</div><!-- #primary --> </div><!-- #primary -->

View File

@ -1,9 +1,8 @@
=== Twenty Eleven === === Twenty Eleven ===
Contributors: wordpressdotorg Contributors: wordpressdotorg
Requires at least: WordPress 3.2 Requires at least: WordPress 3.2
Tested up to: WordPress 5.0 Tested up to: 5.0
Requires PHP: 5.2.4 Stable tag: 3.4
Stable tag: 3.3
License: GPLv2 or later License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
@ -23,7 +22,7 @@ For more information about Twenty Eleven please go to https://codex.wordpress.or
== Copyright == == Copyright ==
Twenty Eleven WordPress Theme, Copyright 2011-2018 WordPress.org & Automattic.com Twenty Eleven WordPress Theme, Copyright 2011-2020 WordPress.org & Automattic.com
Twenty Eleven is Distributed under the terms of the GNU GPL Twenty Eleven is Distributed under the terms of the GNU GPL
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
@ -44,6 +43,11 @@ Source: https://github.com/aFarkas/html5shiv
== Changelog == == Changelog ==
= 3.4 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.4
= 3.3 = = 3.3 =
* Released: May 7, 2019 * Released: May 7, 2019

View File

@ -108,9 +108,9 @@ input#s {
} }
/* Assistive text */ /* Assistive text */
#access a.assistive-text:focus { a.assistive-text:focus {
left: auto; left: auto;
right: 7.6%; right: 6px;
} }
/* =Header /* =Header

View File

@ -15,13 +15,18 @@ get_header(); ?>
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
<header class="page-header"> <header class="page-header">
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyeleven' ), '<span>' . get_search_query() . '</span>' ); ?></h1> <h1 class="page-title">
<?php
/* translators: %s: Search query. */
printf( __( 'Search Results for: %s', 'twentyeleven' ), '<span>' . get_search_query() . '</span>' );
?>
</h1>
</header> </header>
<?php twentyeleven_content_nav( 'nav-above' ); ?> <?php twentyeleven_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php <?php
// Start the Loop.
while ( have_posts() ) : while ( have_posts() ) :
the_post(); the_post();
?> ?>

View File

@ -15,8 +15,8 @@
* @since Twenty Eleven 1.0 * @since Twenty Eleven 1.0
*/ */
// Enqueue showcase script for the slider // Enqueue showcase script for the slider.
wp_enqueue_script( 'twentyeleven-showcase', get_template_directory_uri() . '/js/showcase.js', array( 'jquery' ), '2011-04-28' ); wp_enqueue_script( 'twentyeleven-showcase', get_template_directory_uri() . '/js/showcase.js', array( 'jquery' ), '20110429' );
get_header(); ?> get_header(); ?>
@ -62,7 +62,7 @@ get_header(); ?>
// The Featured Posts query. // The Featured Posts query.
$featured = new WP_Query( $featured_args ); $featured = new WP_Query( $featured_args );
// Proceed only if published posts exist // Proceed only if published posts exist.
if ( $featured->have_posts() ) : if ( $featured->have_posts() ) :
/* /*
@ -91,13 +91,13 @@ get_header(); ?>
$counter_slider++; $counter_slider++;
/* /*
* We're going to add a class to our featured post for featured images * We're going to add a class to our featured post for featured images.
* by default it'll have the feature-text class. * By default it will have the feature-text class.
*/ */
$feature_class = 'feature-text'; $feature_class = 'feature-text';
if ( has_post_thumbnail() ) { if ( has_post_thumbnail() ) {
// ... but if it has a featured image let's add some class // ...but if it has a featured image let's add some class.
$feature_class = 'feature-image small'; $feature_class = 'feature-image small';
// Hang on. Let's check this here image out. // Hang on. Let's check this here image out.
@ -124,8 +124,11 @@ get_header(); ?>
} else { } else {
$thumbnail_size = 'small-feature'; $thumbnail_size = 'small-feature';
} }
/* translators: %s: Post title. */
$title = sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) );
?> ?>
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $title ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a>
<?php <?php
} }
?> ?>
@ -141,10 +144,10 @@ get_header(); ?>
<ul> <ul>
<?php <?php
// Reset the counter so that we end up with matching elements // Reset the counter so that we end up with matching elements.
$counter_slider = 0; $counter_slider = 0;
// Begin from zero // Begin from zero.
rewind_posts(); rewind_posts();
// Let's roll again. // Let's roll again.
@ -156,8 +159,11 @@ get_header(); ?>
} else { } else {
$class = ''; $class = '';
} }
/* translators: %s: Post title. */
$title = sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) );
?> ?>
<li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>" title="<?php echo esc_attr( sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>"<?php echo $class; ?>></a></li> <li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>" title="<?php echo esc_attr( $title ); ?>"<?php echo $class; ?>></a></li>
<?php endwhile; ?> <?php endwhile; ?>
</ul> </ul>
</nav> </nav>
@ -189,7 +195,7 @@ get_header(); ?>
// Our new query for the Recent Posts section. // Our new query for the Recent Posts section.
$recent = new WP_Query( $recent_args ); $recent = new WP_Query( $recent_args );
// The first Recent post is displayed normally // The first Recent post is displayed normally.
if ( $recent->have_posts() ) : if ( $recent->have_posts() ) :
$recent->the_post(); $recent->the_post();
@ -218,7 +224,7 @@ get_header(); ?>
<?php <?php
endwhile; endwhile;
// If we had some posts, close the <ol> // If we had some posts, close the <ol>.
if ( $recent->post_count > 0 ) { if ( $recent->post_count > 0 ) {
echo '</ol>'; echo '</ol>';
} }
@ -239,7 +245,7 @@ get_header(); ?>
); );
?> ?>
<?php endif; // end sidebar widget area ?> <?php endif; // End sidebar widget area. ?>
</div><!-- .widget-area --> </div><!-- .widget-area -->
</div><!-- #content --> </div><!-- #content -->

View File

@ -23,7 +23,7 @@ get_header(); ?>
<?php comments_template( '', true ); ?> <?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?> <?php endwhile; // End of the loop. ?>
</div><!-- #content --> </div><!-- #content -->
</div><!-- #primary --> </div><!-- #primary -->

View File

@ -31,6 +31,6 @@ if ( 'content' != $current_layout ) :
</ul> </ul>
</aside> </aside>
<?php endif; // end sidebar widget area ?> <?php endif; // End sidebar widget area. ?>
</div><!-- #secondary .widget-area --> </div><!-- #secondary .widget-area -->
<?php endif; ?> <?php endif; ?>

View File

@ -27,7 +27,7 @@ get_header(); ?>
<?php comments_template( '', true ); ?> <?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?> <?php endwhile; // End of the loop. ?>
</div><!-- #content --> </div><!-- #content -->
</div><!-- #primary --> </div><!-- #primary -->

View File

@ -4,7 +4,8 @@ Theme URI: https://wordpress.org/themes/twentyeleven/
Author: the WordPress team Author: the WordPress team
Author URI: https://wordpress.org/ Author URI: https://wordpress.org/
Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
Version: 3.3 Version: 3.4
Requires PHP: 5.2.4
License: GNU General Public License v2 or later License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
@ -502,24 +503,30 @@ a:hover {
height: 1px; height: 1px;
width: 1px; width: 1px;
} }
#access a.assistive-text:focus,
a.assistive-text:focus,
.screen-reader-text:hover, .screen-reader-text:hover,
.screen-reader-text:active, .screen-reader-text:active,
.screen-reader-text:focus { .screen-reader-text:focus {
background: #eee; background-color: #f1f1f1;
border-bottom: 1px solid #ddd; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
color: #1982d1;
clip: auto !important; clip: auto !important;
font-size: 12px; clip-path: none;
color: #21759b;
display: block;
font-size: 14px;
font-weight: bold;
height: auto; height: auto;
position: absolute; left: 6px;
text-decoration: underline; line-height: normal;
top: 0; padding: 17px 22px 15px;
left: 7.6%; text-decoration: none;
top: 7px;
width: auto; width: auto;
z-index: 100000;
/* Above WP toolbar. */
} }
/* =Header /* =Header
----------------------------------------------- */ ----------------------------------------------- */
@ -1949,6 +1956,18 @@ section.ephemera .entry-title a span {
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
} }
.widget_calendar .wp-calendar-nav {
display: table;
width: 95%;
}
.widget_calendar .wp-calendar-nav span {
display: table-cell;
text-align: center;
}
.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
width: 40%;
}
/* Text Widget */ /* Text Widget */
.widget_text ul, .widget_text ul,

View File

@ -17,6 +17,7 @@ get_header(); ?>
<header class="page-header"> <header class="page-header">
<h1 class="page-title"> <h1 class="page-title">
<?php <?php
/* translators: %s: Tag title. */
printf( __( 'Tag Archives: %s', 'twentyeleven' ), '<span>' . single_tag_title( '', false ) . '</span>' ); printf( __( 'Tag Archives: %s', 'twentyeleven' ), '<span>' . single_tag_title( '', false ) . '</span>' );
?> ?>
</h1> </h1>
@ -38,8 +39,8 @@ get_header(); ?>
<?php twentyeleven_content_nav( 'nav-above' ); ?> <?php twentyeleven_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php <?php
// Start the Loop.
while ( have_posts() ) : while ( have_posts() ) :
the_post(); the_post();
?> ?>

View File

@ -31,14 +31,14 @@ get_header(); ?>
</header><!-- .page-header --> </header><!-- .page-header -->
<?php <?php
// Start the Loop. // Start the loop.
while ( have_posts() ) : while ( have_posts() ) :
the_post(); the_post();
/* /*
* Include the Post-Format-specific template for the content. * Include the post format-specific template for the content. If you want
* If you want to override this in a child theme, then include a file * to use this in a child theme, then include a file called content-___.php
* called content-___.php (where ___ is the Post Format name) and that will be used instead. * (where ___ is the post format) and that will be used instead.
*/ */
get_template_part( 'content', get_post_format() ); get_template_part( 'content', get_post_format() );

View File

@ -31,7 +31,10 @@
<p class="author-bio"> <p class="author-bio">
<?php the_author_meta( 'description' ); ?> <?php the_author_meta( 'description' ); ?>
<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
<?php printf( __( 'View all posts by %s', 'twentyfifteen' ), get_the_author() ); ?> <?php
/* translators: %s: Author display name. */
printf( __( 'View all posts by %s', 'twentyfifteen' ), get_the_author() );
?>
</a> </a>
</p><!-- .author-bio --> </p><!-- .author-bio -->

View File

@ -27,11 +27,11 @@ if ( post_password_required() ) {
<?php <?php
$comments_number = get_comments_number(); $comments_number = get_comments_number();
if ( '1' === $comments_number ) { if ( '1' === $comments_number ) {
/* translators: %s: post title */ /* translators: %s: Post title. */
printf( _x( 'One thought on &ldquo;%s&rdquo;', 'comments title', 'twentyfifteen' ), get_the_title() ); printf( _x( 'One thought on &ldquo;%s&rdquo;', 'comments title', 'twentyfifteen' ), get_the_title() );
} else { } else {
printf( printf(
/* translators: 1: number of comments, 2: post title */ /* translators: 1: Number of comments, 2: Post title. */
_nx( _nx(
'%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thought on &ldquo;%2$s&rdquo;',
'%1$s thoughts on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;',

View File

@ -26,9 +26,9 @@
<div class="entry-content"> <div class="entry-content">
<?php <?php
/* translators: %s: Name of current post */
the_content( the_content(
sprintf( sprintf(
/* translators: %s: Post title. */
__( 'Continue reading %s', 'twentyfifteen' ), __( 'Continue reading %s', 'twentyfifteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false ) the_title( '<span class="screen-reader-text">', '</span>', false )
) )

View File

@ -19,7 +19,12 @@
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p> <p>
<?php
/* translators: %s: Post editor URL. */
printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) );
?>
</p>
<?php elseif ( is_search() ) : ?> <?php elseif ( is_search() ) : ?>

View File

@ -28,9 +28,9 @@
<div class="entry-content"> <div class="entry-content">
<?php <?php
/* translators: %s: Name of current post */
the_content( the_content(
sprintf( sprintf(
/* translators: %s: Post title. */
__( 'Continue reading %s', 'twentyfifteen' ), __( 'Continue reading %s', 'twentyfifteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false ) the_title( '<span class="screen-reader-text">', '</span>', false )
) )

View File

@ -28,7 +28,10 @@
} }
?> ?>
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>" class="imprint"> <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>" class="imprint">
<?php printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?> <?php
/* translators: %s: WordPress */
printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' );
?>
</a> </a>
</div><!-- .site-info --> </div><!-- .site-info -->
</footer><!-- .site-footer --> </footer><!-- .site-footer -->

View File

@ -11,14 +11,14 @@
* functions.php file. The child theme's functions.php file is included before * functions.php file. The child theme's functions.php file is included before
* the parent theme's file, so the child theme functions would be used. * the parent theme's file, so the child theme functions would be used.
* *
* @link https://codex.wordpress.org/Theme_Development * @link https://developer.wordpress.org/themes/basics/theme-functions/
* @link https://developer.wordpress.org/themes/advanced-topics/child-themes/ * @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
* *
* Functions that are not pluggable (not wrapped in function_exists()) are * Functions that are not pluggable (not wrapped in function_exists()) are
* instead attached to a filter or action hook. * instead attached to a filter or action hook.
* *
* For more information on hooks, actions, and filters, * For more information on hooks, actions, and filters,
* {@link https://codex.wordpress.org/Plugin_API} * {@link https://developer.wordpress.org/plugins/}
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fifteen * @subpackage Twenty_Fifteen
@ -100,13 +100,15 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) :
'comment-list', 'comment-list',
'gallery', 'gallery',
'caption', 'caption',
'script',
'style',
) )
); );
/* /*
* Enable support for Post Formats. * Enable support for Post Formats.
* *
* See: https://codex.wordpress.org/Post_Formats * See: https://wordpress.org/support/article/post-formats/
*/ */
add_theme_support( add_theme_support(
'post-formats', 'post-formats',
@ -250,7 +252,7 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) :
// Indicate widget sidebars can use selective refresh in the Customizer. // Indicate widget sidebars can use selective refresh in the Customizer.
add_theme_support( 'customize-selective-refresh-widgets' ); add_theme_support( 'customize-selective-refresh-widgets' );
} }
endif; // twentyfifteen_setup endif; // twentyfifteen_setup()
add_action( 'after_setup_theme', 'twentyfifteen_setup' ); add_action( 'after_setup_theme', 'twentyfifteen_setup' );
/** /**
@ -258,7 +260,7 @@ add_action( 'after_setup_theme', 'twentyfifteen_setup' );
* *
* @since Twenty Fifteen 1.0 * @since Twenty Fifteen 1.0
* *
* @link https://codex.wordpress.org/Function_Reference/register_sidebar * @link https://developer.wordpress.org/reference/functions/register_sidebar/
*/ */
function twentyfifteen_widgets_init() { function twentyfifteen_widgets_init() {
register_sidebar( register_sidebar(
@ -289,7 +291,7 @@ if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) :
$subsets = 'latin,latin-ext'; $subsets = 'latin,latin-ext';
/* /*
* Translators: If there are characters in your language that are not supported * translators: If there are characters in your language that are not supported
* by Noto Sans, translate this to 'off'. Do not translate into your own language. * by Noto Sans, translate this to 'off'. Do not translate into your own language.
*/ */
if ( 'off' !== _x( 'on', 'Noto Sans font: on or off', 'twentyfifteen' ) ) { if ( 'off' !== _x( 'on', 'Noto Sans font: on or off', 'twentyfifteen' ) ) {
@ -297,7 +299,7 @@ if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) :
} }
/* /*
* Translators: If there are characters in your language that are not supported * translators: If there are characters in your language that are not supported
* by Noto Serif, translate this to 'off'. Do not translate into your own language. * by Noto Serif, translate this to 'off'. Do not translate into your own language.
*/ */
if ( 'off' !== _x( 'on', 'Noto Serif font: on or off', 'twentyfifteen' ) ) { if ( 'off' !== _x( 'on', 'Noto Serif font: on or off', 'twentyfifteen' ) ) {
@ -305,7 +307,7 @@ if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) :
} }
/* /*
* Translators: If there are characters in your language that are not supported * translators: If there are characters in your language that are not supported
* by Inconsolata, translate this to 'off'. Do not translate into your own language. * by Inconsolata, translate this to 'off'. Do not translate into your own language.
*/ */
if ( 'off' !== _x( 'on', 'Inconsolata font: on or off', 'twentyfifteen' ) ) { if ( 'off' !== _x( 'on', 'Inconsolata font: on or off', 'twentyfifteen' ) ) {
@ -313,7 +315,7 @@ if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) :
} }
/* /*
* Translators: To add an additional character subset specific to your language, * translators: To add an additional character subset specific to your language,
* translate this to 'greek', 'cyrillic', 'devanagari' or 'vietnamese'. Do not translate into your own language. * translate this to 'greek', 'cyrillic', 'devanagari' or 'vietnamese'. Do not translate into your own language.
*/ */
$subset = _x( 'no-subset', 'Add new subset (greek, cyrillic, devanagari, vietnamese)', 'twentyfifteen' ); $subset = _x( 'no-subset', 'Add new subset (greek, cyrillic, devanagari, vietnamese)', 'twentyfifteen' );
@ -333,6 +335,7 @@ if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) :
array( array(
'family' => urlencode( implode( '|', $fonts ) ), 'family' => urlencode( implode( '|', $fonts ) ),
'subset' => urlencode( $subsets ), 'subset' => urlencode( $subsets ),
'display' => urlencode( 'fallback' ),
), ),
'https://fonts.googleapis.com/css' 'https://fonts.googleapis.com/css'
); );
@ -367,30 +370,30 @@ function twentyfifteen_scripts() {
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.2' ); wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.2' );
// Load our main stylesheet. // Load our main stylesheet.
wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() ); wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array(), '20190507' );
// Theme block stylesheet. // Theme block stylesheet.
wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20181230' ); wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20190102' );
// Load the Internet Explorer specific stylesheet. // Load the Internet Explorer specific stylesheet.
wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' ); wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20170916' );
wp_style_add_data( 'twentyfifteen-ie', 'conditional', 'lt IE 9' ); wp_style_add_data( 'twentyfifteen-ie', 'conditional', 'lt IE 9' );
// Load the Internet Explorer 7 specific stylesheet. // Load the Internet Explorer 7 specific stylesheet.
wp_enqueue_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), '20141010' ); wp_enqueue_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), '20141210' );
wp_style_add_data( 'twentyfifteen-ie7', 'conditional', 'lt IE 8' ); wp_style_add_data( 'twentyfifteen-ie7', 'conditional', 'lt IE 8' );
wp_enqueue_script( 'twentyfifteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20141010', true ); wp_enqueue_script( 'twentyfifteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20141028', true );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' ); wp_enqueue_script( 'comment-reply' );
} }
if ( is_singular() && wp_attachment_is_image() ) { if ( is_singular() && wp_attachment_is_image() ) {
wp_enqueue_script( 'twentyfifteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20141010' ); wp_enqueue_script( 'twentyfifteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20141210' );
} }
wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20150330', true ); wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20171218', true );
wp_localize_script( wp_localize_script(
'twentyfifteen-script', 'twentyfifteen-script',
'screenReaderText', 'screenReaderText',
@ -409,7 +412,7 @@ add_action( 'wp_enqueue_scripts', 'twentyfifteen_scripts' );
*/ */
function twentyfifteen_block_editor_styles() { function twentyfifteen_block_editor_styles() {
// Block styles. // Block styles.
wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' ); wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20190102' );
// Add custom fonts. // Add custom fonts.
wp_enqueue_style( 'twentyfifteen-fonts', twentyfifteen_fonts_url(), array(), null ); wp_enqueue_style( 'twentyfifteen-fonts', twentyfifteen_fonts_url(), array(), null );
} }
@ -535,6 +538,28 @@ function twentyfifteen_widget_tag_cloud_args( $args ) {
} }
add_filter( 'widget_tag_cloud_args', 'twentyfifteen_widget_tag_cloud_args' ); add_filter( 'widget_tag_cloud_args', 'twentyfifteen_widget_tag_cloud_args' );
/**
* Prevents `author-bio.php` partial template from interfering with rendering
* an author archive of a user with the `bio` username.
*
* @since Twenty Fifteen 2.6
*
* @param string $template Template file.
* @return string Replacement template file.
*/
function twentyfifteen_author_bio_template( $template ) {
if ( is_author() ) {
$author = get_queried_object();
if ( $author instanceof WP_User && 'bio' === $author->user_nicename ) {
// Use author templates if exist, fall back to template hierarchy otherwise.
return locate_template( array( "author-{$author->ID}.php", 'author.php' ) );
}
}
return $template;
}
add_filter( 'author_template', 'twentyfifteen_author_bio_template' );
/** /**
* Implement the Custom Header feature. * Implement the Custom Header feature.

View File

@ -16,7 +16,7 @@
<link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js"></script> <script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js?ver=3.7.0"></script>
<![endif]--> <![endif]-->
<?php wp_head(); ?> <?php wp_head(); ?>
</head> </head>

View File

@ -77,7 +77,7 @@ get_header(); ?>
</article><!-- #post-<?php the_ID(); ?> --> </article><!-- #post-<?php the_ID(); ?> -->
<?php <?php
// If comments are open or we have at least one comment, load up the comment template // If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) : if ( comments_open() || get_comments_number() ) :
comments_template(); comments_template();
endif; endif;

View File

@ -34,6 +34,7 @@ add_action( 'after_switch_theme', 'twentyfifteen_switch_theme' );
* @since Twenty Fifteen 1.0 * @since Twenty Fifteen 1.0
*/ */
function twentyfifteen_upgrade_notice() { function twentyfifteen_upgrade_notice() {
/* translators: %s: WordPress version. */
$message = sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ); $message = sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] );
printf( '<div class="error"><p>%s</p></div>', $message ); printf( '<div class="error"><p>%s</p></div>', $message );
} }
@ -45,6 +46,7 @@ function twentyfifteen_upgrade_notice() {
*/ */
function twentyfifteen_customize() { function twentyfifteen_customize() {
wp_die( wp_die(
/* translators: %s: WordPress version. */
sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ), sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ),
'', '',
array( array(
@ -61,6 +63,7 @@ add_action( 'load-customize.php', 'twentyfifteen_customize' );
*/ */
function twentyfifteen_preview() { function twentyfifteen_preview() {
if ( isset( $_GET['preview'] ) ) { if ( isset( $_GET['preview'] ) ) {
/* translators: %s: WordPress version. */
wp_die( sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ) ); wp_die( sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ) );
} }
} }

View File

@ -193,7 +193,7 @@ if ( ! function_exists( 'twentyfifteen_header_style' ) ) :
</style> </style>
<?php <?php
} }
endif; // twentyfifteen_header_style endif; // twentyfifteen_header_style()
/** /**
* Enqueues front-end CSS for the header background color. * Enqueues front-end CSS for the header background color.

View File

@ -266,7 +266,7 @@ if ( ! function_exists( 'twentyfifteen_get_color_scheme' ) ) :
return $color_schemes['default']['colors']; return $color_schemes['default']['colors'];
} }
endif; // twentyfifteen_get_color_scheme endif; // twentyfifteen_get_color_scheme()
if ( ! function_exists( 'twentyfifteen_get_color_scheme_choices' ) ) : if ( ! function_exists( 'twentyfifteen_get_color_scheme_choices' ) ) :
/** /**
@ -286,7 +286,7 @@ if ( ! function_exists( 'twentyfifteen_get_color_scheme_choices' ) ) :
return $color_scheme_control_options; return $color_scheme_control_options;
} }
endif; // twentyfifteen_get_color_scheme_choices endif; // twentyfifteen_get_color_scheme_choices()
if ( ! function_exists( 'twentyfifteen_sanitize_color_scheme' ) ) : if ( ! function_exists( 'twentyfifteen_sanitize_color_scheme' ) ) :
/** /**
@ -306,7 +306,7 @@ if ( ! function_exists( 'twentyfifteen_sanitize_color_scheme' ) ) :
return $value; return $value;
} }
endif; // twentyfifteen_sanitize_color_scheme endif; // twentyfifteen_sanitize_color_scheme()
/** /**
* Enqueues front-end CSS for color scheme. * Enqueues front-end CSS for color scheme.

View File

@ -23,13 +23,15 @@ if ( ! function_exists( 'twentyfifteen_comment_nav' ) ) :
<h2 class="screen-reader-text"><?php _e( 'Comment navigation', 'twentyfifteen' ); ?></h2> <h2 class="screen-reader-text"><?php _e( 'Comment navigation', 'twentyfifteen' ); ?></h2>
<div class="nav-links"> <div class="nav-links">
<?php <?php
if ( $prev_link = get_previous_comments_link( __( 'Older Comments', 'twentyfifteen' ) ) ) : $prev_link = get_previous_comments_link( __( 'Older Comments', 'twentyfifteen' ) );
if ( $prev_link ) {
printf( '<div class="nav-previous">%s</div>', $prev_link ); printf( '<div class="nav-previous">%s</div>', $prev_link );
endif; }
if ( $next_link = get_next_comments_link( __( 'Newer Comments', 'twentyfifteen' ) ) ) : $next_link = get_next_comments_link( __( 'Newer Comments', 'twentyfifteen' ) );
if ( $next_link ) {
printf( '<div class="nav-next">%s</div>', $next_link ); printf( '<div class="nav-next">%s</div>', $next_link );
endif; }
?> ?>
</div><!-- .nav-links --> </div><!-- .nav-links -->
</nav><!-- .comment-navigation --> </nav><!-- .comment-navigation -->
@ -126,7 +128,7 @@ if ( ! function_exists( 'twentyfifteen_entry_meta' ) ) :
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
echo '<span class="comments-link">'; echo '<span class="comments-link">';
/* translators: %s: post title */ /* translators: %s: Post title. */
comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentyfifteen' ), get_the_title() ) ); comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentyfifteen' ), get_the_title() ) );
echo '</span>'; echo '</span>';
} }
@ -141,7 +143,8 @@ endif;
* @return bool True of there is more than one category, false otherwise. * @return bool True of there is more than one category, false otherwise.
*/ */
function twentyfifteen_categorized_blog() { function twentyfifteen_categorized_blog() {
if ( false === ( $all_the_cool_cats = get_transient( 'twentyfifteen_categories' ) ) ) { $all_the_cool_cats = get_transient( 'twentyfifteen_categories' );
if ( false === $all_the_cool_cats ) {
// Create an array of all the categories that are attached to posts. // Create an array of all the categories that are attached to posts.
$all_the_cool_cats = get_categories( $all_the_cool_cats = get_categories(
array( array(
@ -160,10 +163,10 @@ function twentyfifteen_categorized_blog() {
} }
if ( $all_the_cool_cats > 1 || is_preview() ) { if ( $all_the_cool_cats > 1 || is_preview() ) {
// This blog has more than 1 category so twentyfifteen_categorized_blog should return true. // This blog has more than 1 category so twentyfifteen_categorized_blog() should return true.
return true; return true;
} else { } else {
// This blog has only 1 category so twentyfifteen_categorized_blog should return false. // This blog has only 1 category so twentyfifteen_categorized_blog() should return false.
return false; return false;
} }
} }
@ -210,7 +213,7 @@ if ( ! function_exists( 'twentyfifteen_post_thumbnail' ) ) :
</a> </a>
<?php <?php
endif; // End is_singular() endif; // End is_singular().
} }
endif; endif;
@ -245,7 +248,7 @@ if ( ! function_exists( 'twentyfifteen_excerpt_more' ) && ! is_admin() ) :
$link = sprintf( $link = sprintf(
'<a href="%1$s" class="more-link">%2$s</a>', '<a href="%1$s" class="more-link">%2$s</a>',
esc_url( get_permalink( get_the_ID() ) ), esc_url( get_permalink( get_the_ID() ) ),
/* translators: %s: Name of current post */ /* translators: %s: Post title. */
sprintf( __( 'Continue reading %s', 'twentyfifteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' ) sprintf( __( 'Continue reading %s', 'twentyfifteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
); );
return ' &hellip; ' . $link; return ' &hellip; ' . $link;
@ -272,7 +275,7 @@ if ( ! function_exists( 'wp_body_open' ) ) :
/** /**
* Fire the wp_body_open action. * Fire the wp_body_open action.
* *
* Added for backwards compatibility to support pre 5.2.0 WordPress versions. * Added for backward compatibility to support pre-5.2.0 WordPress versions.
* *
* @since Twenty Fifteen 2.5 * @since Twenty Fifteen 2.5
*/ */

View File

@ -33,9 +33,9 @@ get_header(); ?>
the_post(); the_post();
/* /*
* Include the Post-Format-specific template for the content. * Include the post format-specific template for the content. If you want
* If you want to override this in a child theme, then include a file * to use this in a child theme, then include a file called content-___.php
* called content-___.php (where ___ is the Post Format name) and that will be used instead. * (where ___ is the post format) and that will be used instead.
*/ */
get_template_part( 'content', get_post_format() ); get_template_part( 'content', get_post_format() );

View File

@ -6,9 +6,7 @@
*/ */
( function( $ ) { ( function( $ ) {
var $body, $window, $sidebar, adminbarOffset, top = false, var $body, $window, $sidebar, resizeTimer,
bottom = false, windowWidth, windowHeight, lastWindowPos = 0,
topOffset = 0, bodyHeight, sidebarHeight, resizeTimer,
secondary, button; secondary, button;
function initMainNavigation( container ) { function initMainNavigation( container ) {
@ -81,6 +79,7 @@
* *
* Uses jQuery's width() function to determine the size of the window and add * Uses jQuery's width() function to determine the size of the window and add
* the default ARIA attributes for the menu toggle if it's visible. * the default ARIA attributes for the menu toggle if it's visible.
*
* @since Twenty Fifteen 1.1 * @since Twenty Fifteen 1.1
*/ */
function onResizeARIA() { function onResizeARIA() {
@ -96,71 +95,29 @@
} }
// Sidebar scrolling. // Sidebar scrolling.
function resize() { function resizeAndScroll() {
windowWidth = $window.width(); var windowPos = $window.scrollTop(),
windowHeight = $window.height(),
if ( 955 > windowWidth ) { sidebarHeight = $sidebar.height(),
top = bottom = false;
$sidebar.removeAttr( 'style' );
}
}
function scroll() {
var windowPos = $window.scrollTop();
if ( 955 > windowWidth ) {
return;
}
sidebarHeight = $sidebar.height();
windowHeight = $window.height();
bodyHeight = $body.height(); bodyHeight = $body.height();
if ( sidebarHeight + adminbarOffset > windowHeight ) { if( 955 < $window.width() && bodyHeight > sidebarHeight && ( windowPos + windowHeight ) >= sidebarHeight ) {
if ( windowPos > lastWindowPos ) { $sidebar.css({
if ( top ) { position: 'fixed',
top = false; bottom: sidebarHeight > windowHeight ? 0 : 'auto'
topOffset = ( $sidebar.offset().top > 0 ) ? $sidebar.offset().top - adminbarOffset : 0; });
$sidebar.attr( 'style', 'top: ' + topOffset + 'px;' );
} else if ( ! bottom && windowPos + windowHeight > sidebarHeight + $sidebar.offset().top && sidebarHeight + adminbarOffset < bodyHeight ) {
bottom = true;
$sidebar.attr( 'style', 'position: fixed; bottom: 0;' );
}
} else if ( windowPos < lastWindowPos ) {
if ( bottom ) {
bottom = false;
topOffset = ( $sidebar.offset().top > 0 ) ? $sidebar.offset().top - adminbarOffset : 0;
$sidebar.attr( 'style', 'top: ' + topOffset + 'px;' );
} else if ( ! top && windowPos + adminbarOffset < $sidebar.offset().top ) {
top = true;
$sidebar.attr( 'style', 'position: fixed;' );
}
} else { } else {
top = bottom = false; $sidebar.css('position', 'relative');
topOffset = ( $sidebar.offset().top > 0 ) ? $sidebar.offset().top - adminbarOffset : 0;
$sidebar.attr( 'style', 'top: ' + topOffset + 'px;' );
} }
} else if ( ! top ) {
top = true;
$sidebar.attr( 'style', 'position: fixed;' );
}
lastWindowPos = windowPos;
}
function resizeAndScroll() {
resize();
scroll();
} }
$( document ).ready( function() { $( document ).ready( function() {
$body = $( document.body ); $body = $( document.body );
$window = $( window ); $window = $( window );
$sidebar = $( '#sidebar' ).first(); $sidebar = $( '#sidebar' ).first();
adminbarOffset = $body.is( '.admin-bar' ) ? $( '#wpadminbar' ).height() : 0;
$window $window
.on( 'scroll.twentyfifteen', scroll ) .on( 'scroll.twentyfifteen', resizeAndScroll )
.on( 'load.twentyfifteen', onResizeARIA ) .on( 'load.twentyfifteen', onResizeARIA )
.on( 'resize.twentyfifteen', function() { .on( 'resize.twentyfifteen', function() {
clearTimeout( resizeTimer ); clearTimeout( resizeTimer );
@ -169,9 +126,7 @@
} ); } );
$sidebar.on( 'click.twentyfifteen keydown.twentyfifteen', 'button', resizeAndScroll ); $sidebar.on( 'click.twentyfifteen keydown.twentyfifteen', 'button', resizeAndScroll );
resizeAndScroll(); for ( var i = 0; i < 6; i++ ) {
for ( var i = 1; i < 6; i++ ) {
setTimeout( resizeAndScroll, 100 * i ); setTimeout( resizeAndScroll, 100 * i );
} }
} ); } );

View File

@ -1,9 +1,8 @@
=== Twenty Fifteen === === Twenty Fifteen ===
Contributors: wordpressdotorg Contributors: wordpressdotorg
Requires at least: WordPress 4.1 Requires at least: WordPress 4.1
Tested up to: WordPress 5.0 Tested up to: 5.0
Requires PHP: 5.2.4 Version: 2.6
Version: 2.5
License: GPLv2 or later License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
@ -19,19 +18,19 @@ Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty
* Post Formats * Post Formats
* The GPL v2.0 or later license. :) Use it to make something cool. * The GPL v2.0 or later license. :) Use it to make something cool.
For more information about Twenty Fifteen please go to https://codex.wordpress.org/Twenty_Fifteen. For more information about Twenty Fifteen please go to https://wordpress.org/support/article/twenty-fifteen/.
== Installation == == Installation ==
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button. 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Twenty Fifteen in the search form and press the 'Enter' key on your keyboard. 2. Type in Twenty Fifteen in the search form and press the 'Enter' key on your keyboard.
3. Click on the 'Activate' button to use your new theme right away. 3. Click on the 'Activate' button to use your new theme right away.
4. Go to https://codex.wordpress.org/Twenty_Fifteen for a guide on how to customize this theme. 4. Go to https://wordpress.org/support/article/twenty-fifteen/ for a guide on how to customize this theme.
5. Navigate to Appearance > Customize in your admin panel and customize to taste. 5. Navigate to Appearance > Customize in your admin panel and customize to taste.
== Copyright == == Copyright ==
Twenty Fifteen WordPress Theme, Copyright 2014-2018 WordPress.org & Automattic.com Twenty Fifteen WordPress Theme, Copyright 2014-2020 WordPress.org & Automattic.com
Twenty Fifteen is distributed under the terms of the GNU GPL Twenty Fifteen is distributed under the terms of the GNU GPL
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
@ -56,6 +55,11 @@ Source: http://www.genericons.com
== Changelog == == Changelog ==
= 2.6 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_2.6
= 2.5 = = 2.5 =
* Released: May 7, 2019 * Released: May 7, 2019

View File

@ -15,7 +15,12 @@ get_header(); ?>
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
<header class="page-header"> <header class="page-header">
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfifteen' ), get_search_query() ); ?></h1> <h1 class="page-title">
<?php
/* translators: %s: Search query. */
printf( __( 'Search Results for: %s', 'twentyfifteen' ), get_search_query() );
?>
</h1>
</header><!-- .page-header --> </header><!-- .page-header -->
<?php <?php

View File

@ -18,8 +18,8 @@ get_header(); ?>
the_post(); the_post();
/* /*
* Include the post format-specific template for the content. If you want to * Include the post format-specific template for the content. If you want
* use this in a child theme, then include a file called content-___.php * to use this in a child theme, then include a file called content-___.php
* (where ___ is the post format) and that will be used instead. * (where ___ is the post format) and that will be used instead.
*/ */
get_template_part( 'content', get_post_format() ); get_template_part( 'content', get_post_format() );

View File

@ -4,7 +4,8 @@ Theme URI: https://wordpress.org/themes/twentyfifteen/
Author: the WordPress team Author: the WordPress team
Author URI: https://wordpress.org/ Author URI: https://wordpress.org/
Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer. Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer.
Version: 2.5 Version: 2.6
Requires PHP: 5.2.4
License: GNU General Public License v2 or later License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
@ -1405,8 +1406,23 @@ img.aligncenter {
margin: 0; margin: 0;
} }
.widget_calendar .wp-calendar-nav {
display: table;
width: 100%;
}
.widget_calendar .wp-calendar-nav span {
display: table-cell;
}
.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
width: 40%;
}
.widget_calendar td, .widget_calendar td,
.widget_calendar th { .widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 2.3333; line-height: 2.3333;
text-align: center; text-align: center;
padding: 0; padding: 0;
@ -3255,7 +3271,8 @@ p > video {
} }
.widget_calendar td, .widget_calendar td,
.widget_calendar th { .widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 2.9286; line-height: 2.9286;
} }
@ -3263,6 +3280,14 @@ p > video {
margin: 0 0 1.5em; margin: 0 0 1.5em;
} }
.widget_calendar .wp-calendar-table {
margin-bottom: 0;
}
.widget_calendar .wp-calendar-nav {
margin: 0 0 1.5em;
}
.widget_archive li, .widget_archive li,
.widget_categories li, .widget_categories li,
.widget_links li, .widget_links li,
@ -3834,7 +3859,8 @@ p > video {
} }
.widget_calendar td, .widget_calendar td,
.widget_calendar th { .widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 2.9375; line-height: 2.9375;
} }
@ -4481,7 +4507,8 @@ p > video {
} }
.widget_calendar td, .widget_calendar td,
.widget_calendar th { .widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 1.9167; line-height: 1.9167;
} }
@ -5090,7 +5117,8 @@ p > video {
} }
.widget_calendar td, .widget_calendar td,
.widget_calendar th { .widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 1.9286; line-height: 1.9286;
} }
@ -5638,7 +5666,8 @@ p > video {
} }
.widget_calendar td, .widget_calendar td,
.widget_calendar th { .widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 1.9375; line-height: 1.9375;
} }

View File

@ -6,13 +6,13 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
get_header(); get_header();
?> ?>
<section id="primary" class="content-area"> <div id="primary" class="content-area">
<main id="main" class="site-main"> <main id="main" class="site-main">
<div class="error-404 not-found"> <div class="error-404 not-found">
@ -27,7 +27,7 @@ get_header();
</div><!-- .error-404 --> </div><!-- .error-404 -->
</main><!-- #main --> </main><!-- #main -->
</section><!-- #primary --> </div><!-- #primary -->
<?php <?php
get_footer(); get_footer();

View File

@ -6,13 +6,13 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
get_header(); get_header();
?> ?>
<section id="primary" class="content-area"> <div id="primary" class="content-area">
<main id="main" class="site-main"> <main id="main" class="site-main">
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
@ -31,7 +31,8 @@ get_header();
/* /*
* Include the Post-Format-specific template for the content. * Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file * If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead. * called content-___.php (where ___ is the Post Format name) and that
* will be used instead.
*/ */
get_template_part( 'template-parts/content/content', 'excerpt' ); get_template_part( 'template-parts/content/content', 'excerpt' );
@ -48,7 +49,7 @@ get_header();
endif; endif;
?> ?>
</main><!-- #main --> </main><!-- #main -->
</section><!-- #primary --> </div><!-- #primary -->
<?php <?php
get_footer(); get_footer();

View File

@ -4,20 +4,20 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
/** /**
* This class is in charge of displaying SVG icons across the site. * This class is in charge of displaying SVG icons across the site.
* *
* Place each <svg> source on its own array key, without adding the * Place each <svg> source on its own array key, without adding the
* both `width` and `height` attributes, since these are added dnamically, * both `width` and `height` attributes, since these are added dynamically,
* before rendering the SVG code. * before rendering the SVG code.
* *
* All icons are assumed to have equal width and height, hence the option * All icons are assumed to have equal width and height, hence the option
* to only specify a `$size` parameter in the svg methods. * to only specify a `$size` parameter in the svg methods.
* *
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
class TwentyNineteen_SVG_Icons { class TwentyNineteen_SVG_Icons {
@ -36,7 +36,7 @@ class TwentyNineteen_SVG_Icons {
$repl = sprintf( '<svg class="svg-icon" width="%d" height="%d" aria-hidden="true" role="img" focusable="false" ', $size, $size ); $repl = sprintf( '<svg class="svg-icon" width="%d" height="%d" aria-hidden="true" role="img" focusable="false" ', $size, $size );
$svg = preg_replace( '/^<svg /', $repl, trim( $arr[ $icon ] ) ); // Add extra attributes to SVG code. $svg = preg_replace( '/^<svg /', $repl, trim( $arr[ $icon ] ) ); // Add extra attributes to SVG code.
$svg = preg_replace( "/([\n\t]+)/", ' ', $svg ); // Remove newlines & tabs. $svg = preg_replace( "/([\n\t]+)/", ' ', $svg ); // Remove newlines & tabs.
$svg = preg_replace( '/>\s*</', '><', $svg ); // Remove white space between SVG tags. $svg = preg_replace( '/>\s*</', '><', $svg ); // Remove whitespace between SVG tags.
return $svg; return $svg;
} }
return null; return null;
@ -155,13 +155,13 @@ class TwentyNineteen_SVG_Icons {
</svg>', </svg>',
'keyboard_arrow_left' => /* material-design keyboard_arrow_left */ ' 'keyboard_arrow_left' => /* material-design keyboard_arrow_left */ '
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M14 7l-5 5 5 5V7z"></path> <path d="M14 7l-5 5 5 5V7z"></path>
<path fill="none" d="M24 0v24H0V0h24z"></path> <path fill="none" d="M24 0v24H0V0h24z"></path>
</svg>', </svg>',
'arrow_drop_down_ellipsis' => /* custom arrow_drop_down_ellipsis */ ' 'arrow_drop_down_ellipsis' => /* custom arrow_drop_down_ellipsis */ '
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"> <svg xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd"> <g fill="none" fill-rule="evenodd">
<path d="M0 0h24v24H0z"/> <path d="M0 0h24v24H0z"/>
<path fill="currentColor" fill-rule="nonzero" d="M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2zM6 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/> <path fill="currentColor" fill-rule="nonzero" d="M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2zM6 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/>

View File

@ -4,13 +4,13 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
/** /**
* This class outputs custom comment walker for HTML5 friendly WordPress comment and threaded replies. * This class outputs custom comment walker for HTML5 friendly WordPress comment and threaded replies.
* *
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
class TwentyNineteen_Walker_Comment extends Walker_Comment { class TwentyNineteen_Walker_Comment extends Walker_Comment {
@ -44,13 +44,6 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
echo $avatar; echo $avatar;
} }
} }
/*
* Using the `check` icon instead of `check_circle`, since we can't add a
* fill color to the inner check shape when in circle form.
*/
if ( twentynineteen_is_comment_by_post_author( $comment ) ) {
printf( '<span class="post-author-badge" aria-hidden="true">%s</span>', twentynineteen_get_icon_svg( 'check', 24 ) );
}
/* /*
* Using the `check` icon instead of `check_circle`, since we can't add a * Using the `check` icon instead of `check_circle`, since we can't add a
@ -61,8 +54,8 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
} }
printf( printf(
/* translators: %s: comment author link */
wp_kses( wp_kses(
/* translators: %s: Comment author link. */
__( '%s <span class="screen-reader-text says">says:</span>', 'twentynineteen' ), __( '%s <span class="screen-reader-text says">says:</span>', 'twentynineteen' ),
array( array(
'span' => array( 'span' => array(
@ -82,7 +75,7 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
<div class="comment-metadata"> <div class="comment-metadata">
<a href="<?php echo esc_url( get_comment_link( $comment, $args ) ); ?>"> <a href="<?php echo esc_url( get_comment_link( $comment, $args ) ); ?>">
<?php <?php
/* translators: 1: comment date, 2: comment time */ /* translators: 1: Comment date, 2: Comment time. */
$comment_timestamp = sprintf( __( '%1$s at %2$s', 'twentynineteen' ), get_comment_date( '', $comment ), get_comment_time() ); $comment_timestamp = sprintf( __( '%1$s at %2$s', 'twentynineteen' ), get_comment_date( '', $comment ), get_comment_time() );
?> ?>
<time datetime="<?php comment_time( 'c' ); ?>" title="<?php echo $comment_timestamp; ?>"> <time datetime="<?php comment_time( 'c' ); ?>" title="<?php echo $comment_timestamp; ?>">
@ -95,9 +88,19 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
?> ?>
</div><!-- .comment-metadata --> </div><!-- .comment-metadata -->
<?php
$commenter = wp_get_current_commenter();
if ( $commenter['comment_author_email'] ) {
$moderation_note = __( 'Your comment is awaiting moderation.', 'twentynineteen' );
} else {
$moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.', 'twentynineteen' );
}
?>
<?php if ( '0' == $comment->comment_approved ) : ?> <?php if ( '0' == $comment->comment_approved ) : ?>
<p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentynineteen' ); ?></p> <p class="comment-awaiting-moderation"><?php echo $moderation_note; ?></p>
<?php endif; ?> <?php endif; ?>
</footer><!-- .comment-meta --> </footer><!-- .comment-meta -->
<div class="comment-content"> <div class="comment-content">

View File

@ -9,7 +9,7 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
/* /*
@ -36,11 +36,11 @@ $discussion = twentynineteen_get_discussion_data();
} }
} else { } else {
if ( '1' == $discussion->responses ) { if ( '1' == $discussion->responses ) {
/* translators: %s: post title */ /* translators: %s: Post title. */
printf( _x( 'One reply on &ldquo;%s&rdquo;', 'comments title', 'twentynineteen' ), get_the_title() ); printf( _x( 'One reply on &ldquo;%s&rdquo;', 'comments title', 'twentynineteen' ), get_the_title() );
} else { } else {
printf( printf(
/* translators: 1: number of comments, 2: post title */ /* translators: 1: Number of comments, 2: Post title. */
_nx( _nx(
'%1$s reply on &ldquo;%2$s&rdquo;', '%1$s reply on &ldquo;%2$s&rdquo;',
'%1$s replies on &ldquo;%2$s&rdquo;', '%1$s replies on &ldquo;%2$s&rdquo;',
@ -85,7 +85,7 @@ $discussion = twentynineteen_get_discussion_data();
</ol><!-- .comment-list --> </ol><!-- .comment-list -->
<?php <?php
// Show comment navigation // Show comment navigation.
if ( have_comments() ) : if ( have_comments() ) :
$prev_icon = twentynineteen_get_icon_svg( 'chevron_left', 22 ); $prev_icon = twentynineteen_get_icon_svg( 'chevron_left', 22 );
$next_icon = twentynineteen_get_icon_svg( 'chevron_right', 22 ); $next_icon = twentynineteen_get_icon_svg( 'chevron_right', 22 );

View File

@ -8,7 +8,7 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
?> ?>

View File

@ -6,7 +6,7 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
/** /**
@ -74,6 +74,8 @@ if ( ! function_exists( 'twentynineteen_setup' ) ) :
'comment-list', 'comment-list',
'gallery', 'gallery',
'caption', 'caption',
'script',
'style',
) )
); );
@ -143,12 +145,12 @@ if ( ! function_exists( 'twentynineteen_setup' ) ) :
'editor-color-palette', 'editor-color-palette',
array( array(
array( array(
'name' => __( 'Primary', 'twentynineteen' ), 'name' => 'default' === get_theme_mod( 'primary_color' ) ? __( 'Blue', 'twentynineteen' ) : null,
'slug' => 'primary', 'slug' => 'primary',
'color' => twentynineteen_hsl_hex( 'default' === get_theme_mod( 'primary_color' ) ? 199 : get_theme_mod( 'primary_color_hue', 199 ), 100, 33 ), 'color' => twentynineteen_hsl_hex( 'default' === get_theme_mod( 'primary_color' ) ? 199 : get_theme_mod( 'primary_color_hue', 199 ), 100, 33 ),
), ),
array( array(
'name' => __( 'Secondary', 'twentynineteen' ), 'name' => 'default' === get_theme_mod( 'primary_color' ) ? __( 'Dark Blue', 'twentynineteen' ) : null,
'slug' => 'secondary', 'slug' => 'secondary',
'color' => twentynineteen_hsl_hex( 'default' === get_theme_mod( 'primary_color' ) ? 199 : get_theme_mod( 'primary_color_hue', 199 ), 100, 23 ), 'color' => twentynineteen_hsl_hex( 'default' === get_theme_mod( 'primary_color' ) ? 199 : get_theme_mod( 'primary_color_hue', 199 ), 100, 23 ),
), ),
@ -222,8 +224,8 @@ function twentynineteen_scripts() {
wp_style_add_data( 'twentynineteen-style', 'rtl', 'replace' ); wp_style_add_data( 'twentynineteen-style', 'rtl', 'replace' );
if ( has_nav_menu( 'menu-1' ) ) { if ( has_nav_menu( 'menu-1' ) ) {
wp_enqueue_script( 'twentynineteen-priority-menu', get_theme_file_uri( '/js/priority-menu.js' ), array(), '1.1', true ); wp_enqueue_script( 'twentynineteen-priority-menu', get_theme_file_uri( '/js/priority-menu.js' ), array(), '20181214', true );
wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), '1.1', true ); wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), '20181231', true );
} }
wp_enqueue_style( 'twentynineteen-print-style', get_template_directory_uri() . '/print.css', array(), wp_get_theme()->get( 'Version' ), 'print' ); wp_enqueue_style( 'twentynineteen-print-style', get_template_directory_uri() . '/print.css', array(), wp_get_theme()->get( 'Version' ), 'print' );
@ -303,15 +305,20 @@ require get_template_directory() . '/classes/class-twentynineteen-svg-icons.php'
require get_template_directory() . '/classes/class-twentynineteen-walker-comment.php'; require get_template_directory() . '/classes/class-twentynineteen-walker-comment.php';
/** /**
* Enhance the theme by hooking into WordPress. * Common theme functions.
*/ */
require get_template_directory() . '/inc/template-functions.php'; require get_template_directory() . '/inc/helper-functions.php';
/** /**
* SVG Icons related functions. * SVG Icons related functions.
*/ */
require get_template_directory() . '/inc/icon-functions.php'; require get_template_directory() . '/inc/icon-functions.php';
/**
* Enhance the theme by hooking into WordPress.
*/
require get_template_directory() . '/inc/template-functions.php';
/** /**
* Custom template tags for the theme. * Custom template tags for the theme.
*/ */

View File

@ -8,7 +8,7 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
?><!doctype html> ?><!doctype html>
<html <?php language_attributes(); ?>> <html <?php language_attributes(); ?>>

View File

@ -4,17 +4,17 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
get_header(); get_header();
?> ?>
<section id="primary" class="content-area"> <div id="primary" class="content-area">
<main id="main" class="site-main"> <main id="main" class="site-main">
<?php <?php
// Start the loop. // Start the Loop.
while ( have_posts() ) : while ( have_posts() ) :
the_post(); the_post();
?> ?>
@ -98,7 +98,7 @@ get_header();
?> ?>
</main><!-- .site-main --> </main><!-- .site-main -->
</section><!-- .content-area --> </div><!-- .content-area -->
<?php <?php
get_footer(); get_footer();

View File

@ -36,6 +36,7 @@ add_action( 'after_switch_theme', 'twentynineteen_switch_theme' );
* @global string $wp_version WordPress version. * @global string $wp_version WordPress version.
*/ */
function twentynineteen_upgrade_notice() { function twentynineteen_upgrade_notice() {
/* translators: %s: WordPress version. */
$message = sprintf( __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), $GLOBALS['wp_version'] ); $message = sprintf( __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), $GLOBALS['wp_version'] );
printf( '<div class="error"><p>%s</p></div>', $message ); printf( '<div class="error"><p>%s</p></div>', $message );
} }
@ -50,6 +51,7 @@ function twentynineteen_upgrade_notice() {
function twentynineteen_customize() { function twentynineteen_customize() {
wp_die( wp_die(
sprintf( sprintf(
/* translators: %s: WordPress version. */
__( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ),
$GLOBALS['wp_version'] $GLOBALS['wp_version']
), ),
@ -70,6 +72,7 @@ add_action( 'load-customize.php', 'twentynineteen_customize' );
*/ */
function twentynineteen_preview() { function twentynineteen_preview() {
if ( isset( $_GET['preview'] ) ) { if ( isset( $_GET['preview'] ) ) {
/* translators: %s: WordPress version. */
wp_die( sprintf( __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), $GLOBALS['wp_version'] ) ); wp_die( sprintf( __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), $GLOBALS['wp_version'] ) );
} }
} }

View File

@ -4,7 +4,7 @@
* *
* @package WordPress * @package WordPress
* @subpackage TwentyNineteen * @subpackage TwentyNineteen
* @since 1.0 * @since Twenty Nineteen 1.0
*/ */
/** /**

View File

@ -4,7 +4,7 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
/** /**
@ -125,7 +125,7 @@ function twentynineteen_customize_partial_blogdescription() {
* Bind JS handlers to instantly live-preview changes. * Bind JS handlers to instantly live-preview changes.
*/ */
function twentynineteen_customize_preview_js() { function twentynineteen_customize_preview_js() {
wp_enqueue_script( 'twentynineteen-customize-preview', get_theme_file_uri( '/js/customize-preview.js' ), array( 'customize-preview' ), '20181231', true ); wp_enqueue_script( 'twentynineteen-customize-preview', get_theme_file_uri( '/js/customize-preview.js' ), array( 'customize-preview' ), '20181214', true );
} }
add_action( 'customize_preview_init', 'twentynineteen_customize_preview_js' ); add_action( 'customize_preview_init', 'twentynineteen_customize_preview_js' );
@ -133,7 +133,7 @@ add_action( 'customize_preview_init', 'twentynineteen_customize_preview_js' );
* Load dynamic logic for the customizer controls area. * Load dynamic logic for the customizer controls area.
*/ */
function twentynineteen_panels_js() { function twentynineteen_panels_js() {
wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '20181231', true ); wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '20181214', true );
} }
add_action( 'customize_controls_enqueue_scripts', 'twentynineteen_panels_js' ); add_action( 'customize_controls_enqueue_scripts', 'twentynineteen_panels_js' );

View File

@ -0,0 +1,163 @@
<?php
/**
* Common theme functions
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since Twenty Nineteen 1.5
*/
/**
* Determines if post thumbnail can be displayed.
*/
function twentynineteen_can_show_post_thumbnail() {
return apply_filters( 'twentynineteen_can_show_post_thumbnail', ! post_password_required() && ! is_attachment() && has_post_thumbnail() );
}
/**
* Returns true if image filters are enabled on the theme options.
*/
function twentynineteen_image_filters_enabled() {
return 0 !== get_theme_mod( 'image_filter', 1 );
}
/**
* Returns the size for avatars used in the theme.
*/
function twentynineteen_get_avatar_size() {
return 60;
}
/**
* Returns true if comment is by author of the post.
*
* @see get_comment_class()
*/
function twentynineteen_is_comment_by_post_author( $comment = null ) {
if ( is_object( $comment ) && $comment->user_id > 0 ) {
$user = get_userdata( $comment->user_id );
$post = get_post( $comment->comment_post_ID );
if ( ! empty( $user ) && ! empty( $post ) ) {
return $comment->user_id === $post->post_author;
}
}
return false;
}
/**
* Returns information about the current post's discussion, with cache support.
*/
function twentynineteen_get_discussion_data() {
static $discussion, $post_id;
$current_post_id = get_the_ID();
if ( $current_post_id === $post_id ) {
return $discussion; /* If we have discussion information for post ID, return cached object */
} else {
$post_id = $current_post_id;
}
$comments = get_comments(
array(
'post_id' => $current_post_id,
'orderby' => 'comment_date_gmt',
'order' => get_option( 'comment_order', 'asc' ), /* Respect comment order from Settings » Discussion. */
'status' => 'approve',
'number' => 20, /* Only retrieve the last 20 comments, as the end goal is just 6 unique authors */
)
);
$authors = array();
foreach ( $comments as $comment ) {
$authors[] = ( (int) $comment->user_id > 0 ) ? (int) $comment->user_id : $comment->comment_author_email;
}
$authors = array_unique( $authors );
$discussion = (object) array(
'authors' => array_slice( $authors, 0, 6 ), /* Six unique authors commenting on the post. */
'responses' => get_comments_number( $current_post_id ), /* Number of responses. */
);
return $discussion;
}
/**
* Converts HSL to HEX colors.
*/
function twentynineteen_hsl_hex( $h, $s, $l, $to_hex = true ) {
$h /= 360;
$s /= 100;
$l /= 100;
$r = $l;
$g = $l;
$b = $l;
$v = ( $l <= 0.5 ) ? ( $l * ( 1.0 + $s ) ) : ( $l + $s - $l * $s );
if ( $v > 0 ) {
$m;
$sv;
$sextant;
$fract;
$vsf;
$mid1;
$mid2;
$m = $l + $l - $v;
$sv = ( $v - $m ) / $v;
$h *= 6.0;
$sextant = floor( $h );
$fract = $h - $sextant;
$vsf = $v * $sv * $fract;
$mid1 = $m + $vsf;
$mid2 = $v - $vsf;
switch ( $sextant ) {
case 0:
$r = $v;
$g = $mid1;
$b = $m;
break;
case 1:
$r = $mid2;
$g = $v;
$b = $m;
break;
case 2:
$r = $m;
$g = $v;
$b = $mid1;
break;
case 3:
$r = $m;
$g = $mid2;
$b = $v;
break;
case 4:
$r = $mid1;
$g = $m;
$b = $v;
break;
case 5:
$r = $v;
$g = $m;
$b = $mid2;
break;
}
}
$r = round( $r * 255, 0 );
$g = round( $g * 255, 0 );
$b = round( $b * 255, 0 );
if ( $to_hex ) {
$r = ( $r < 15 ) ? '0' . dechex( $r ) : dechex( $r );
$g = ( $g < 15 ) ? '0' . dechex( $g ) : dechex( $g );
$b = ( $b < 15 ) ? '0' . dechex( $b ) : dechex( $b );
return "#$r$g$b";
}
return "rgb($r, $g, $b)";
}

View File

@ -4,7 +4,7 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
/** /**
@ -50,3 +50,59 @@ function twentynineteen_nav_menu_social_icons( $item_output, $item, $depth, $arg
return $item_output; return $item_output;
} }
add_filter( 'walker_nav_menu_start_el', 'twentynineteen_nav_menu_social_icons', 10, 4 ); add_filter( 'walker_nav_menu_start_el', 'twentynineteen_nav_menu_social_icons', 10, 4 );
/**
* Add a dropdown icon to top-level menu items.
*
* @param string $output Nav menu item start element.
* @param object $item Nav menu item.
* @param int $depth Depth.
* @param object $args Nav menu args.
* @return string Nav menu item start element.
* Add a dropdown icon to top-level menu items
*/
function twentynineteen_add_dropdown_icons( $output, $item, $depth, $args ) {
// Only add class to 'top level' items on the 'primary' menu.
if ( ! isset( $args->theme_location ) || 'menu-1' !== $args->theme_location ) {
return $output;
}
if ( in_array( 'mobile-parent-nav-menu-item', $item->classes, true ) && isset( $item->original_id ) ) {
// Inject the keyboard_arrow_left SVG inside the parent nav menu item, and let the item link to the parent item.
// @todo Only do this for nested submenus? If on a first-level submenu, then really the link could be "#" since the desire is to remove the target entirely.
$link = sprintf(
'<button class="menu-item-link-return" tabindex="-1">%s',
twentynineteen_get_icon_svg( 'chevron_left', 24 )
);
// Replace opening <a> with <button>.
$output = preg_replace(
'/<a\s.*?>/',
$link,
$output,
1 // Limit.
);
// Replace closing </a> with </button>.
$output = preg_replace(
'#</a>#i',
'</button>',
$output,
1 // Limit.
);
} elseif ( in_array( 'menu-item-has-children', $item->classes, true ) ) {
// Add SVG icon to parent items.
$icon = twentynineteen_get_icon_svg( 'keyboard_arrow_down', 24 );
$output .= sprintf(
'<button class="submenu-expand" tabindex="-1">%s</button>',
$icon
);
}
return $output;
}
add_filter( 'walker_nav_menu_start_el', 'twentynineteen_add_dropdown_icons', 10, 4 );

View File

@ -4,7 +4,7 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
/** /**
@ -86,7 +86,7 @@ function twentynineteen_get_the_archive_title() {
$title = __( 'Post Type Archives: ', 'twentynineteen' ) . '<span class="page-description">' . post_type_archive_title( '', false ) . '</span>'; $title = __( 'Post Type Archives: ', 'twentynineteen' ) . '<span class="page-description">' . post_type_archive_title( '', false ) . '</span>';
} elseif ( is_tax() ) { } elseif ( is_tax() ) {
$tax = get_taxonomy( get_queried_object()->taxonomy ); $tax = get_taxonomy( get_queried_object()->taxonomy );
/* translators: %s: Taxonomy singular name */ /* translators: %s: Taxonomy singular name. */
$title = sprintf( esc_html__( '%s Archives:', 'twentynineteen' ), $tax->labels->singular_name ); $title = sprintf( esc_html__( '%s Archives:', 'twentynineteen' ), $tax->labels->singular_name );
} else { } else {
$title = __( 'Archives:', 'twentynineteen' ); $title = __( 'Archives:', 'twentynineteen' );
@ -95,20 +95,6 @@ function twentynineteen_get_the_archive_title() {
} }
add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title' ); add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title' );
/**
* Determines if post thumbnail can be displayed.
*/
function twentynineteen_can_show_post_thumbnail() {
return apply_filters( 'twentynineteen_can_show_post_thumbnail', ! post_password_required() && ! is_attachment() && has_post_thumbnail() );
}
/**
* Returns true if image filters are enabled on the theme options.
*/
function twentynineteen_image_filters_enabled() {
return 0 !== get_theme_mod( 'image_filter', 1 );
}
/** /**
* Add custom sizes attribute to responsive image functionality for post thumbnails. * Add custom sizes attribute to responsive image functionality for post thumbnails.
* *
@ -131,66 +117,6 @@ function twentynineteen_post_thumbnail_sizes_attr( $attr ) {
} }
add_filter( 'wp_get_attachment_image_attributes', 'twentynineteen_post_thumbnail_sizes_attr', 10, 1 ); add_filter( 'wp_get_attachment_image_attributes', 'twentynineteen_post_thumbnail_sizes_attr', 10, 1 );
/**
* Returns the size for avatars used in the theme.
*/
function twentynineteen_get_avatar_size() {
return 60;
}
/**
* Returns true if comment is by author of the post.
*
* @see get_comment_class()
*/
function twentynineteen_is_comment_by_post_author( $comment = null ) {
if ( is_object( $comment ) && $comment->user_id > 0 ) {
$user = get_userdata( $comment->user_id );
$post = get_post( $comment->comment_post_ID );
if ( ! empty( $user ) && ! empty( $post ) ) {
return $comment->user_id === $post->post_author;
}
}
return false;
}
/**
* Returns information about the current post's discussion, with cache support.
*/
function twentynineteen_get_discussion_data() {
static $discussion, $post_id;
$current_post_id = get_the_ID();
if ( $current_post_id === $post_id ) {
return $discussion; /* If we have discussion information for post ID, return cached object */
} else {
$post_id = $current_post_id;
}
$comments = get_comments(
array(
'post_id' => $current_post_id,
'orderby' => 'comment_date_gmt',
'order' => get_option( 'comment_order', 'asc' ), /* Respect comment order from Settings » Discussion. */
'status' => 'approve',
'number' => 20, /* Only retrieve the last 20 comments, as the end goal is just 6 unique authors */
)
);
$authors = array();
foreach ( $comments as $comment ) {
$authors[] = ( (int) $comment->user_id > 0 ) ? (int) $comment->user_id : $comment->comment_author_email;
}
$authors = array_unique( $authors );
$discussion = (object) array(
'authors' => array_slice( $authors, 0, 6 ), /* Six unique authors commenting on the post. */
'responses' => get_comments_number( $current_post_id ), /* Number of responses. */
);
return $discussion;
}
/** /**
* Add an extra menu to our nav for our priority+ navigation to use * Add an extra menu to our nav for our priority+ navigation to use
* *
@ -202,24 +128,25 @@ function twentynineteen_add_ellipses_to_nav( $nav_menu, $args ) {
if ( 'menu-1' === $args->theme_location ) : if ( 'menu-1' === $args->theme_location ) :
$nav_menu .= '<div class="main-menu-more">'; $nav_menu .= '
$nav_menu .= '<ul class="main-menu">'; <div class="main-menu-more">
$nav_menu .= '<li class="menu-item menu-item-has-children">'; <ul class="main-menu">
$nav_menu .= '<button class="submenu-expand main-menu-more-toggle is-empty" tabindex="-1" aria-label="More" aria-haspopup="true" aria-expanded="false">'; <li class="menu-item menu-item-has-children">
$nav_menu .= '<span class="screen-reader-text">' . esc_html__( 'More', 'twentynineteen' ) . '</span>'; <button class="submenu-expand main-menu-more-toggle is-empty" tabindex="-1"
$nav_menu .= twentynineteen_get_icon_svg( 'arrow_drop_down_ellipsis' ); aria-label="' . esc_attr__( 'More', 'twentynineteen' ) . '" aria-haspopup="true" aria-expanded="false">' .
$nav_menu .= '</button>'; twentynineteen_get_icon_svg( 'arrow_drop_down_ellipsis' ) . '
$nav_menu .= '<ul class="sub-menu hidden-links">'; </button>
$nav_menu .= '<li id="menu-item--1" class="mobile-parent-nav-menu-item menu-item--1">'; <ul class="sub-menu hidden-links">
$nav_menu .= '<button class="menu-item-link-return">'; <li class="mobile-parent-nav-menu-item">
$nav_menu .= twentynineteen_get_icon_svg( 'chevron_left' ); <button class="menu-item-link-return">' .
$nav_menu .= esc_html__( 'Back', 'twentynineteen' ); twentynineteen_get_icon_svg( 'chevron_left' ) .
$nav_menu .= '</button>'; esc_html__( 'Back', 'twentynineteen' ) . '
$nav_menu .= '</li>'; </button>
$nav_menu .= '</ul>'; </li>
$nav_menu .= '</li>'; </ul>
$nav_menu .= '</ul>'; </li>
$nav_menu .= '</div>'; </ul>
</div>';
endif; endif;
@ -237,7 +164,7 @@ add_filter( 'wp_nav_menu', 'twentynineteen_add_ellipses_to_nav', 10, 2 );
*/ */
function twentynineteen_nav_menu_link_attributes( $atts, $item, $args, $depth ) { function twentynineteen_nav_menu_link_attributes( $atts, $item, $args, $depth ) {
// Add [aria-haspopup] and [aria-expanded] to menu items that have children // Add [aria-haspopup] and [aria-expanded] to menu items that have children.
$item_has_children = in_array( 'menu-item-has-children', $item->classes ); $item_has_children = in_array( 'menu-item-has-children', $item->classes );
if ( $item_has_children ) { if ( $item_has_children ) {
$atts['aria-haspopup'] = 'true'; $atts['aria-haspopup'] = 'true';
@ -248,62 +175,6 @@ function twentynineteen_nav_menu_link_attributes( $atts, $item, $args, $depth )
} }
add_filter( 'nav_menu_link_attributes', 'twentynineteen_nav_menu_link_attributes', 10, 4 ); add_filter( 'nav_menu_link_attributes', 'twentynineteen_nav_menu_link_attributes', 10, 4 );
/**
* Add a dropdown icon to top-level menu items.
*
* @param string $output Nav menu item start element.
* @param object $item Nav menu item.
* @param int $depth Depth.
* @param object $args Nav menu args.
* @return string Nav menu item start element.
* Add a dropdown icon to top-level menu items
*/
function twentynineteen_add_dropdown_icons( $output, $item, $depth, $args ) {
// Only add class to 'top level' items on the 'primary' menu.
if ( ! isset( $args->theme_location ) || 'menu-1' !== $args->theme_location ) {
return $output;
}
if ( in_array( 'mobile-parent-nav-menu-item', $item->classes, true ) && isset( $item->original_id ) ) {
// Inject the keyboard_arrow_left SVG inside the parent nav menu item, and let the item link to the parent item.
// @todo Only do this for nested submenus? If on a first-level submenu, then really the link could be "#" since the desire is to remove the target entirely.
$link = sprintf(
'<button class="menu-item-link-return" tabindex="-1">%s',
twentynineteen_get_icon_svg( 'chevron_left', 24 )
);
// replace opening <a> with <button>
$output = preg_replace(
'/<a\s.*?>/',
$link,
$output,
1 // Limit.
);
// replace closing </a> with </button>
$output = preg_replace(
'#</a>#i',
'</button>',
$output,
1 // Limit.
);
} elseif ( in_array( 'menu-item-has-children', $item->classes, true ) ) {
// Add SVG icon to parent items.
$icon = twentynineteen_get_icon_svg( 'keyboard_arrow_down', 24 );
$output .= sprintf(
'<button class="submenu-expand" tabindex="-1">%s</button>',
$icon
);
}
return $output;
}
add_filter( 'walker_nav_menu_start_el', 'twentynineteen_add_dropdown_icons', 10, 4 );
/** /**
* Create a nav menu item to be displayed on mobile to navigate from submenu back to the parent. * Create a nav menu item to be displayed on mobile to navigate from submenu back to the parent.
* *
@ -338,84 +209,3 @@ function twentynineteen_add_mobile_parent_nav_menu_items( $sorted_menu_items, $a
return $amended_menu_items; return $amended_menu_items;
} }
add_filter( 'wp_nav_menu_objects', 'twentynineteen_add_mobile_parent_nav_menu_items', 10, 2 ); add_filter( 'wp_nav_menu_objects', 'twentynineteen_add_mobile_parent_nav_menu_items', 10, 2 );
/**
* Convert HSL to HEX colors
*/
function twentynineteen_hsl_hex( $h, $s, $l, $to_hex = true ) {
$h /= 360;
$s /= 100;
$l /= 100;
$r = $l;
$g = $l;
$b = $l;
$v = ( $l <= 0.5 ) ? ( $l * ( 1.0 + $s ) ) : ( $l + $s - $l * $s );
if ( $v > 0 ) {
$m;
$sv;
$sextant;
$fract;
$vsf;
$mid1;
$mid2;
$m = $l + $l - $v;
$sv = ( $v - $m ) / $v;
$h *= 6.0;
$sextant = floor( $h );
$fract = $h - $sextant;
$vsf = $v * $sv * $fract;
$mid1 = $m + $vsf;
$mid2 = $v - $vsf;
switch ( $sextant ) {
case 0:
$r = $v;
$g = $mid1;
$b = $m;
break;
case 1:
$r = $mid2;
$g = $v;
$b = $m;
break;
case 2:
$r = $m;
$g = $v;
$b = $mid1;
break;
case 3:
$r = $m;
$g = $mid2;
$b = $v;
break;
case 4:
$r = $mid1;
$g = $m;
$b = $v;
break;
case 5:
$r = $v;
$g = $m;
$b = $mid2;
break;
}
}
$r = round( $r * 255, 0 );
$g = round( $g * 255, 0 );
$b = round( $b * 255, 0 );
if ( $to_hex ) {
$r = ( $r < 15 ) ? '0' . dechex( $r ) : dechex( $r );
$g = ( $g < 15 ) ? '0' . dechex( $g ) : dechex( $g );
$b = ( $b < 15 ) ? '0' . dechex( $b ) : dechex( $b );
return "#$r$g$b";
}
return "rgb($r, $g, $b)";
}

View File

@ -4,7 +4,7 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
if ( ! function_exists( 'twentynineteen_posted_on' ) ) : if ( ! function_exists( 'twentynineteen_posted_on' ) ) :
@ -40,7 +40,7 @@ if ( ! function_exists( 'twentynineteen_posted_by' ) ) :
*/ */
function twentynineteen_posted_by() { function twentynineteen_posted_by() {
printf( printf(
/* translators: 1: SVG icon. 2: post author, only visible to screen readers. 3: author link. */ /* translators: 1: SVG icon. 2: Post author, only visible to screen readers. 3: Author link. */
'<span class="byline">%1$s<span class="screen-reader-text">%2$s</span><span class="author vcard"><a class="url fn n" href="%3$s">%4$s</a></span></span>', '<span class="byline">%1$s<span class="screen-reader-text">%2$s</span><span class="author vcard"><a class="url fn n" href="%3$s">%4$s</a></span></span>',
twentynineteen_get_icon_svg( 'person', 16 ), twentynineteen_get_icon_svg( 'person', 16 ),
__( 'Posted by', 'twentynineteen' ), __( 'Posted by', 'twentynineteen' ),
@ -59,7 +59,7 @@ if ( ! function_exists( 'twentynineteen_comment_count' ) ) :
echo '<span class="comments-link">'; echo '<span class="comments-link">';
echo twentynineteen_get_icon_svg( 'comment', 16 ); echo twentynineteen_get_icon_svg( 'comment', 16 );
/* translators: %s: Name of current post. Only visible to screen readers. */ /* translators: %s: Post title. Only visible to screen readers. */
comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentynineteen' ), get_the_title() ) ); comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentynineteen' ), get_the_title() ) );
echo '</span>'; echo '</span>';
@ -76,17 +76,17 @@ if ( ! function_exists( 'twentynineteen_entry_footer' ) ) :
// Hide author, post date, category and tag text for pages. // Hide author, post date, category and tag text for pages.
if ( 'post' === get_post_type() ) { if ( 'post' === get_post_type() ) {
// Posted by // Posted by.
twentynineteen_posted_by(); twentynineteen_posted_by();
// Posted on // Posted on.
twentynineteen_posted_on(); twentynineteen_posted_on();
/* translators: used between list items, there is a space after the comma. */ /* translators: Used between list items, there is a space after the comma. */
$categories_list = get_the_category_list( __( ', ', 'twentynineteen' ) ); $categories_list = get_the_category_list( __( ', ', 'twentynineteen' ) );
if ( $categories_list ) { if ( $categories_list ) {
printf( printf(
/* translators: 1: SVG icon. 2: posted in label, only visible to screen readers. 3: list of categories. */ /* translators: 1: SVG icon. 2: Posted in label, only visible to screen readers. 3: List of categories. */
'<span class="cat-links">%1$s<span class="screen-reader-text">%2$s</span>%3$s</span>', '<span class="cat-links">%1$s<span class="screen-reader-text">%2$s</span>%3$s</span>',
twentynineteen_get_icon_svg( 'archive', 16 ), twentynineteen_get_icon_svg( 'archive', 16 ),
__( 'Posted in', 'twentynineteen' ), __( 'Posted in', 'twentynineteen' ),
@ -94,11 +94,11 @@ if ( ! function_exists( 'twentynineteen_entry_footer' ) ) :
); // WPCS: XSS OK. ); // WPCS: XSS OK.
} }
/* translators: used between list items, there is a space after the comma. */ /* translators: Used between list items, there is a space after the comma. */
$tags_list = get_the_tag_list( '', __( ', ', 'twentynineteen' ) ); $tags_list = get_the_tag_list( '', __( ', ', 'twentynineteen' ) );
if ( $tags_list ) { if ( $tags_list ) {
printf( printf(
/* translators: 1: SVG icon. 2: posted in label, only visible to screen readers. 3: list of tags. */ /* translators: 1: SVG icon. 2: Posted in label, only visible to screen readers. 3: List of tags. */
'<span class="tags-links">%1$s<span class="screen-reader-text">%2$s </span>%3$s</span>', '<span class="tags-links">%1$s<span class="screen-reader-text">%2$s </span>%3$s</span>',
twentynineteen_get_icon_svg( 'tag', 16 ), twentynineteen_get_icon_svg( 'tag', 16 ),
__( 'Tags:', 'twentynineteen' ), __( 'Tags:', 'twentynineteen' ),
@ -116,7 +116,7 @@ if ( ! function_exists( 'twentynineteen_entry_footer' ) ) :
edit_post_link( edit_post_link(
sprintf( sprintf(
wp_kses( wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers. */ /* translators: %s: Post title. Only visible to screen readers. */
__( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ), __( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ),
array( array(
'span' => array( 'span' => array(
@ -166,7 +166,7 @@ if ( ! function_exists( 'twentynineteen_post_thumbnail' ) ) :
} }
endif; endif;
if ( ! function_exists( 'twentynineteen_comment_avatar' ) ) : if ( ! function_exists( 'twentynineteen_get_user_avatar_markup' ) ) :
/** /**
* Returns the HTML markup to generate a user avatar. * Returns the HTML markup to generate a user avatar.
*/ */
@ -243,7 +243,7 @@ if ( ! function_exists( 'wp_body_open' ) ) :
/** /**
* Fire the wp_body_open action. * Fire the wp_body_open action.
* *
* Added for backwards compatibility to support pre 5.2.0 WordPress versions. * Added for backward compatibility to support pre-5.2.0 WordPress versions.
* *
* @since Twenty Nineteen 1.4 * @since Twenty Nineteen 1.4
*/ */

View File

@ -11,13 +11,13 @@
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Nineteen * @subpackage Twenty_Nineteen
* @since 1.0.0 * @since Twenty Nineteen 1.0
*/ */
get_header(); get_header();
?> ?>
<section id="primary" class="content-area"> <div id="primary" class="content-area">
<main id="main" class="site-main"> <main id="main" class="site-main">
<?php <?php
@ -41,7 +41,7 @@ get_header();
?> ?>
</main><!-- .site-main --> </main><!-- .site-main -->
</section><!-- .content-area --> </div><!-- .content-area -->
<?php <?php
get_footer(); get_footer();

View File

@ -1,5 +1,5 @@
/** /**
* File customizer.js. * File customize-controls.js.
* *
* Theme Customizer enhancements for a better user experience. * Theme Customizer enhancements for a better user experience.
* *
@ -27,4 +27,4 @@
}); });
}); });
})( jQuery ); })();

View File

@ -1,5 +1,5 @@
/** /**
* File customizer.js. * File customize-preview.js.
* *
* Theme Customizer enhancements for a better user experience. * Theme Customizer enhancements for a better user experience.
* *
@ -18,10 +18,10 @@
color; color;
if( 'custom' === to ){ if( 'custom' === to ){
// If a custom primary color is selected, use the currently set primary_color_hue // If a custom primary color is selected, use the currently set primary_color_hue.
color = wp.customize.get().primary_color_hue; color = wp.customize.get().primary_color_hue;
} else { } else {
// If the "default" option is selected, get the default primary_color_hue // If the "default" option is selected, get the default primary_color_hue.
color = 199; color = 199;
} }

View File

@ -1,7 +1,7 @@
(function() { (function() {
/** /**
* Debounce * Debounce.
* *
* @param {Function} func * @param {Function} func
* @param {number} wait * @param {number} wait
@ -56,7 +56,7 @@
* @param {Element} element * @param {Element} element
*/ */
function showButton(element) { function showButton(element) {
// classList.remove is not supported in IE11 // classList.remove is not supported in IE11.
element.className = element.className.replace('is-empty', ''); element.className = element.className.replace('is-empty', '');
} }
@ -66,7 +66,7 @@
* @param {Element} element * @param {Element} element
*/ */
function hideButton(element) { function hideButton(element) {
// classList.add is not supported in IE11 // classList.add is not supported in IE11.
if (!element.classList.contains('is-empty')) { if (!element.classList.contains('is-empty')) {
element.className += ' is-empty'; element.className += ' is-empty';
} }
@ -91,25 +91,25 @@
} }
/** /**
* Set menu container variable * Set menu container variable.
*/ */
var navContainer = document.querySelector('.main-navigation'); var navContainer = document.querySelector('.main-navigation');
var breaks = []; var breaks = [];
/** /**
* Lets bail if we our menu doesn't exist * Lets bail if we our menu doesn't exist.
*/ */
if ( ! navContainer ) { if ( ! navContainer ) {
return; return;
} }
/** /**
* Refreshes the list item from the menu depending on the menu size * Refreshes the list item from the menu depending on the menu size.
*/ */
function updateNavigationMenu( container ) { function updateNavigationMenu( container ) {
/** /**
* Lets bail if our menu is empty * Lets bail if our menu is empty.
*/ */
if ( ! container.parentNode.querySelector('.main-menu[id]') ) { if ( ! container.parentNode.querySelector('.main-menu[id]') ) {
return; return;
@ -122,42 +122,42 @@
if ( isOverflowingNavivation( visibleList, toggleButton, container ) ) { if ( isOverflowingNavivation( visibleList, toggleButton, container ) ) {
// Record the width of the list // Record the width of the list.
breaks.push( visibleList.offsetWidth ); breaks.push( visibleList.offsetWidth );
// Move last item to the hidden list // Move last item to the hidden list.
prependElement( hiddenList, ! visibleList.lastChild || null === visibleList.lastChild ? visibleList.previousElementSibling : visibleList.lastChild ); prependElement( hiddenList, ! visibleList.lastChild || null === visibleList.lastChild ? visibleList.previousElementSibling : visibleList.lastChild );
// Show the toggle button // Show the toggle button.
showButton( toggleButton ); showButton( toggleButton );
} else { } else {
// There is space for another item in the nav // There is space for another item in the nav.
if ( getAvailableSpace( toggleButton, container ) > breaks[breaks.length - 1] ) { if ( getAvailableSpace( toggleButton, container ) > breaks[breaks.length - 1] ) {
// Move the item to the visible list // Move the item to the visible list.
visibleList.appendChild( hiddenList.firstChild.nextSibling ); visibleList.appendChild( hiddenList.firstChild.nextSibling );
breaks.pop(); breaks.pop();
} }
// Hide the dropdown btn if hidden list is empty // Hide the dropdown btn if hidden list is empty.
if (breaks.length < 2) { if (breaks.length < 2) {
hideButton( toggleButton ); hideButton( toggleButton );
} }
} }
// Recur if the visible list is still overflowing the nav // Recur if the visible list is still overflowing the nav.
if ( isOverflowingNavivation( visibleList, toggleButton, container ) ) { if ( isOverflowingNavivation( visibleList, toggleButton, container ) ) {
updateNavigationMenu( container ); updateNavigationMenu( container );
} }
} }
/** /**
* Run our priority+ function as soon as the document is `ready` * Run our priority+ function as soon as the document is `ready`.
*/ */
document.addEventListener( 'DOMContentLoaded', function() { document.addEventListener( 'DOMContentLoaded', function() {
updateNavigationMenu( navContainer ); updateNavigationMenu( navContainer );
// Also, run our priority+ function on selective refresh in the customizer // Also, run our priority+ function on selective refresh in the customizer.
var hasSelectiveRefresh = ( var hasSelectiveRefresh = (
'undefined' !== typeof wp && 'undefined' !== typeof wp &&
wp.customize && wp.customize &&
@ -166,7 +166,7 @@
); );
if ( hasSelectiveRefresh ) { if ( hasSelectiveRefresh ) {
// Re-run our priority+ function on Nav Menu partial refreshes // Re-run our priority+ function on Nav Menu partial refreshes.
wp.customize.selectiveRefresh.bind( 'partial-content-rendered', function ( placement ) { wp.customize.selectiveRefresh.bind( 'partial-content-rendered', function ( placement ) {
var isNewNavMenu = ( var isNewNavMenu = (
@ -184,14 +184,14 @@
}); });
/** /**
* Run our priority+ function on load * Run our priority+ function on load.
*/ */
window.addEventListener( 'load', function() { window.addEventListener( 'load', function() {
updateNavigationMenu( navContainer ); updateNavigationMenu( navContainer );
}); });
/** /**
* Run our priority+ function every time the window resizes * Run our priority+ function every time the window resizes.
*/ */
var isResizing = false; var isResizing = false;
window.addEventListener( 'resize', window.addEventListener( 'resize',
@ -209,7 +209,7 @@
); );
/** /**
* Run our priority+ function * Run our priority+ function.
*/ */
updateNavigationMenu( navContainer ); updateNavigationMenu( navContainer );

Some files were not shown because too many files have changed in this diff Show More