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.
msgid ""
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"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -11,6 +11,26 @@ msgstr ""
"Language: sv_SE\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
msgid "Enter your API key"
msgstr "Ange din API-nyckel"
@ -19,19 +39,15 @@ msgstr "Ange din API-nyckel"
msgid "Set up a different account"
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."
msgstr "Ställ in ditt Akismetkonto för att aktivera skräppostfiltrering på denna webbplats."
#: views/setup.php:1
msgid "Set Up Akismet"
msgstr "Ställ in Akismet"
#: class.akismet-admin.php:1081
#: class.akismet-admin.php:1085
msgid "Akismet could not recheck your comments for spam."
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."
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."
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
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."
#: 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
msgid "Do not display privacy notice."
msgstr "Visa inte integritetsmeddelandet."
@ -79,15 +83,15 @@ msgstr "Akismet integritetsmeddelande"
msgid "Privacy"
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>."
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)."
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."
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/"
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%)"
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"
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."
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."
#. 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"
msgstr "Akismet Anti-Spam"
@ -196,39 +200,39 @@ msgstr "Detaljerad statistik"
msgid "Statistics"
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."
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."
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_plural "%s comments were caught as spam."
msgstr[0] "%s kommentar 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."
msgstr "Inga kommentarer bedömdes som skräppost."
#: class.akismet-admin.php:1067
#: class.akismet-admin.php:1071
msgid "Akismet checked %s comment."
msgid_plural "Akismet checked %s comments."
msgstr[0] "Akismet har kontrollerat %s kommentar."
msgstr[1] "Akismet har kontrollerat %s kommentarer."
#: class.akismet-admin.php:1064
msgid "There were no comments to check. Akismet will only check comments in the Pending queue."
msgstr "Det fanns inga kommentarer att granska. Akismet kontrollerar bara kommentarer i kön med väntande kommentarer."
#: class.akismet-admin.php:1068
msgid "There were no comments to check. Akismet will only check comments awaiting moderation."
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"
msgstr "Söker efter skräppost"
#: class.akismet.php:512
#: class.akismet.php:558
msgid "Comment not found."
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"
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_plural "Akismet has saved you %d minutes!"
msgstr[0] "Akismet har sparat dig %d minut!"
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_plural "Akismet has saved you %d hours!"
msgstr[0] "Akismet har sparat dig %d timme!"
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_plural "Akismet has saved you %s days!"
msgstr[0] "Akismet har sparat dig %s dag!"
msgstr[1] "Akismet har sparat dig %s dagar!"
#: class.akismet-admin.php:187 class.akismet-admin.php:225
#: class.akismet-admin.php:238
#: class.akismet-admin.php:178 class.akismet-admin.php:216
#: class.akismet-admin.php:229
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."
@ -381,244 +385,244 @@ msgstr "Inaktiverat."
msgid "SSL Status"
msgstr "SSL-status"
#: class.akismet-admin.php:624
#: class.akismet-admin.php:628
msgid "This comment was reported as not spam."
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."
msgstr "Denna kommentar rapporterades som skräppost."
#: class.akismet-admin.php:156
#: class.akismet-admin.php:147
msgid "(undo)"
msgstr "(ångra)"
#: class.akismet-admin.php:155
#: class.akismet-admin.php:146
msgid "URL removed"
msgstr "URL borttagen"
#: class.akismet-admin.php:154
#: class.akismet-admin.php:145
msgid "Removing..."
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"
msgstr "Akismet"
#: class.akismet-admin.php:114 class.akismet-admin.php:246
#: class.akismet-admin.php:674 views/config.php:60
#: views/config.php:60 class.akismet-admin.php:105 class.akismet-admin.php:237
#: class.akismet-admin.php:689
msgid "Settings"
msgstr "Inställningar"
#: class.akismet-admin.php:157
#: class.akismet-admin.php:148
msgid "Re-adding..."
msgstr "Återställer..."
#: class.akismet-admin.php:184 class.akismet-admin.php:222
#: class.akismet-admin.php:235
#: class.akismet-admin.php:175 class.akismet-admin.php:213
#: class.akismet-admin.php:226
msgid "Overview"
msgstr "Översikt"
#: class.akismet-admin.php:186 class.akismet-admin.php:197
#: class.akismet-admin.php:208
#: class.akismet-admin.php:177 class.akismet-admin.php:188
#: class.akismet-admin.php:199
msgid "Akismet Setup"
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."
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"
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."
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"
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."
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"
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."
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."
msgstr "Klicka på knappen Använd denna nyckel."
#: class.akismet-admin.php:224
#: class.akismet-admin.php:215
msgid "Akismet Stats"
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."
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:261
#: class.akismet-admin.php:228 class.akismet-admin.php:239
#: class.akismet-admin.php:252
msgid "Akismet Configuration"
msgstr "Konfigurera Akismet"
#: class.akismet-admin.php:249 views/config.php:70
#: views/config.php:70 class.akismet-admin.php:240
msgid "API Key"
msgstr "API-nyckel"
#: class.akismet-admin.php:249
#: class.akismet-admin.php:240
msgid "Enter/remove an API key."
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"
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."
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."
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"
msgstr "Strikthet"
#: class.akismet-admin.php:259 views/config.php:188
#: views/config.php:188 class.akismet-admin.php:250
msgid "Account"
msgstr "Konto"
#: class.akismet-admin.php:262 views/config.php:196
#: views/config.php:196 class.akismet-admin.php:253
msgid "Subscription Type"
msgstr "Prenumerationstyp"
#: class.akismet-admin.php:263
#: class.akismet-admin.php:254
msgid "The subscription status - active, cancelled or suspended"
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"
msgstr "Status"
#: class.akismet-admin.php:262
#: class.akismet-admin.php:253
msgid "The Akismet subscription plan"
msgstr "Akismets prenumerationsplan"
#: class.akismet-admin.php:273
#: class.akismet-admin.php:264
msgid "Akismet FAQ"
msgstr "Vanliga frågor för Akismet"
#: class.akismet-admin.php:272
#: class.akismet-admin.php:263
msgid "For more information:"
msgstr "För mer information:"
#: class.akismet-admin.php:274
#: class.akismet-admin.php:265
msgid "Akismet Support"
msgstr "Support för Akismet"
#: class.akismet-admin.php:280
#: class.akismet-admin.php:271
msgid "Cheatin&#8217; uh?"
msgstr "Fuskar du va?"
#: class.akismet-admin.php:350
#: class.akismet-admin.php:341
msgctxt "comments"
msgid "Spam"
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_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[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_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[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. "
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_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[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."
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."
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."
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"
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)."
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"
msgstr "Flaggat som skräppost av Akismet"
#: class.akismet-admin.php:521
#: class.akismet-admin.php:527
msgid "Awaiting spam check"
msgstr "Inväntar skräppostkontroll"
#: class.akismet-admin.php:531
#: class.akismet-admin.php:537
msgid "Flagged as spam by %s"
msgstr "Flaggat som skräppost av %s"
#: class.akismet-admin.php:527
#: class.akismet-admin.php:533
msgid "Cleared by Akismet"
msgstr "Godkänd av Akismet"
#: class.akismet-admin.php:533
#: class.akismet-admin.php:539
msgid "Un-spammed by %s"
msgstr "Avmarkerat som skräppost av %s"
#: class.akismet-admin.php:568
#: class.akismet-admin.php:574
msgid "%s approved"
msgid_plural "%s approved"
msgstr[0] "%s godkänd"
msgstr[1] "%s godkända"
#: class.akismet-admin.php:545
#: class.akismet-admin.php:551
msgid "History"
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"
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."
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"
msgstr "%s sedan"
#: class.akismet-admin.php:988
#: class.akismet-admin.php:995
msgid "Cleaning up spam takes time."
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[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."
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"
msgstr "Kommentarsstatus ändrades till %s"
#: class.akismet-admin.php:606
#: class.akismet-admin.php:610
msgid "Akismet cleared this comment."
msgstr "Akismet godkände denna kommentar."
#: class.akismet-admin.php:609
msgid "Comment was caught by wp_blacklist_check."
msgstr "Kommentaren fångades av wp_blacklist_check."
#: class.akismet-admin.php:635
#: class.akismet-admin.php:639
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."
#: class.akismet-admin.php:654
#: class.akismet-admin.php:664
msgid "%1$s changed the comment status to %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."
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."
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."
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."
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>."
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."
msgstr "Akismet %s kräver WordPress %s eller senare."
@ -872,10 +872,10 @@ msgstr "https://automattic.com/wordpress-plugins/"
msgid "Automattic"
msgstr "Automattic"
#: class.akismet-admin.php:153
#: class.akismet-admin.php:144
msgid "Remove this URL"
msgstr "Ta bort denna URL"
#: class.akismet-admin.php:91
#: class.akismet-admin.php:82
msgid "Comment History"
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.
msgid ""
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"
"Content-Type: text/plain; charset=UTF-8\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"
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.
#: comments.php:37
msgid "One thought on &ldquo;%1$s&rdquo;"
@ -56,7 +64,8 @@ msgstr "Mall för sidofält"
msgid "Showcase Template"
msgstr "Mall för showcase"
#: tag.php:20
#. translators: %s: Tag title.
#: tag.php:21
msgid "Tag Archives: %s"
msgstr "Etikettarkiv: %s"
@ -76,11 +85,12 @@ msgstr "Meta"
msgid "Archives"
msgstr "Arkiv"
#: showcase.php:170
#: showcase.php:176
msgid "Recent Posts"
msgstr "Senaste inläggen"
#: showcase.php:160
#. translators: %s: Post title.
#: showcase.php:164
msgid "Featuring: %s"
msgstr "Innehåller: %s"
@ -92,35 +102,36 @@ msgstr "Utvalt inlägg"
msgid "Search"
msgstr "Sök"
#: search.php:51
#: search.php:56
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."
#: search.php:18
#. translators: %s: Search query.
#: search.php:21
msgid "Search Results for: %s"
msgstr "Sökresultat för: %s"
#: inc/widgets.php:196
#: inc/widgets.php:198
msgid "Number of posts to show:"
msgstr "Antal inlägg att visa:"
#: inc/widgets.php:193
#: inc/widgets.php:195
msgid "Title:"
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>"
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>"
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>"
msgstr "0 <span class=\"reply\">kommentarer &rarr;</span>"
#: inc/widgets.php:73
#: inc/widgets.php:74
msgid "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"
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"
msgstr "Layout"
#: inc/theme-options.php:341
#. translators: %s: Theme name.
#: inc/theme-options.php:349
msgid "%s Theme Options"
msgstr "Temainställningar för %s"
#: inc/theme-options.php:305
#. translators: %s: Link color.
#: inc/theme-options.php:308
msgid "Default color: %s"
msgstr "Standardfärg: %s"
@ -176,10 +189,6 @@ msgstr "Översikt"
msgid "<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
msgid "For more information:"
msgstr "För mer information:"
@ -212,15 +221,17 @@ msgstr "Temainställningar"
msgid "Default Layout"
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"
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"
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>"
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"
msgstr "Bildnavigering"
#: header.php:147
#: functions.php:924
msgid "Skip to secondary content"
msgstr "Hoppa till sekundärt innehåll"
#: header.php:145
#: functions.php:922
msgid "Skip to primary content"
msgstr "Hoppa till huvudinnehåll"
#: header.php:143
#: header.php:147
msgid "Main menu"
msgstr "Huvudmeny"
#: header.php:45
#. translators: %s: Page number.
#: header.php:46
msgid "Page %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>"
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>"
msgstr "Svara <span>&darr;</span>"
#: functions.php:747
#: functions.php:749
msgid "Your comment is awaiting moderation."
msgstr "Din kommentar inväntar granskning."
#. translators: 1: date, 2: time
#. translators: 1: Date, 2: Time.
#: functions.php:738
msgid "%1$s at %2$s"
msgstr "%1$s kl. %2$s"
#. translators: 1: Comment author, 2: Date and time.
#: functions.php:731
msgid "%1$s on %2$s <span class=\"says\">said:</span>"
msgstr "%1$s den %2$s <span class=\"says\">skrev:</span>"
@ -317,42 +332,42 @@ msgstr "Sidopanel presentation"
msgid "Main Sidebar"
msgstr "Primär sidopanel"
#. translators: header image description
#. translators: Header image description.
#: functions.php:280
msgid "Hanoi Plant"
msgstr "Hanoi-blom"
#. translators: header image description
#. translators: Header image description.
#: functions.php:274
msgid "Willow"
msgstr "Vide"
#. translators: header image description
#. translators: Header image description.
#: functions.php:268
msgid "Lanterns"
msgstr "Lanternor"
#. translators: header image description
#. translators: Header image description.
#: functions.php:262
msgid "Chessboard"
msgstr "Schackbräde"
#. translators: header image description
#. translators: Header image description.
#: functions.php:256
msgid "Pine Cone"
msgstr "Tallkotte"
#. translators: header image description
#. translators: Header image description.
#: functions.php:250
msgid "Trolley"
msgstr "Kärra"
#. translators: header image description
#. translators: Header image description.
#: functions.php:244
msgid "Shore"
msgstr "Strand"
#. translators: header image description
#. translators: Header image description.
#: functions.php:238
msgid "Wheel"
msgstr "Hjul"
@ -361,7 +376,8 @@ msgstr "Hjul"
msgid "Primary Menu"
msgstr "Primär meny"
#: footer.php:35
#. translators: %s: WordPress
#: footer.php:37
msgid "Proudly powered by %s"
msgstr "Drivs med %s"
@ -377,19 +393,26 @@ msgstr "Utvalda"
msgid "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>"
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>."
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>."
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>."
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"
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"
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>"
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"
msgstr "Bild"
#: content-gallery.php:93 content-image.php:70 content-quote.php:71
#: content.php:80
#. translators: 1: CSS classes, 2: List of tags.
#. 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"
msgstr "<span class=\"%1$s\">Etiketter</span> %2$s"
#: content-gallery.php:78 content-image.php:61 content-quote.php:56
#: content.php:63
#. translators: 1: CSS classes, 2: List of categories.
#. 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"
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"
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_plural "This gallery contains <a %1$s>%2$s photos</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"
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>."
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>."
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
#: content-gallery.php:73 content-gallery.php:85 content-image.php:57
#: content-image.php:66 content-single.php:37 content-single.php:40
#: content-quote.php:51 content-quote.php:63 content-featured.php:36
#: content-featured.php:45 content.php:58 content.php:72
#. translators: Used between list items, there is a space after the comma.
#: content-gallery.php:75 content-gallery.php:88 content-image.php:59
#: content-image.php:71 content-single.php:37 content-single.php:40
#: content-quote.php:51 content-quote.php:64 content-featured.php:36
#: content-featured.php:47 content.php:58 content.php:73
msgid ", "
msgstr ", "
#: content-gallery.php:106 content-aside.php:53 content-status.php:66
#: content-image.php:79 content-single.php:59 content-link.php:53
#: content-intro.php:26 content-page.php:28 content-quote.php:84 image.php:45
#: functions.php:712 functions.php:743 content-featured.php:52 content.php:94
#: content-gallery.php:110 content-aside.php:53 content-status.php:66
#: content-image.php:87 content-single.php:62 content-link.php:53
#: content-intro.php:26 content-page.php:28 content-quote.php:86 image.php:46
#: functions.php:712 functions.php:743 content-featured.php:54 content.php:96
msgid "Edit"
msgstr "Redigera"
#: content-gallery.php:103 content-aside.php:51 content-status.php:64
#: content-image.php:75 content-link.php:51 content-quote.php:81
#: showcase.php:214 content.php:91
#: content-gallery.php:107 content-aside.php:51 content-status.php:64
#: content-image.php:83 content-link.php:51 content-quote.php:83
#: showcase.php:220 content.php:93
msgid "<b>%</b> Replies"
msgstr "<b>%</b> Kommentarer"
#: content-gallery.php:103 content-aside.php:51 content-status.php:64
#: content-image.php:75 content-link.php:51 content-quote.php:81
#: showcase.php:214 content.php:91
#: content-gallery.php:107 content-aside.php:51 content-status.php:64
#: content-image.php:83 content-link.php:51 content-quote.php:83
#: showcase.php:220 content.php:93
msgid "<b>1</b> Reply"
msgstr "<b>1</b> Kommentar"
#: content-gallery.php:103 content-aside.php:51 content-status.php:64
#: content-image.php:75 content-link.php:51 content-quote.php:81
#: showcase.php:214 content.php:91
#: content-gallery.php:107 content-aside.php:51 content-status.php:64
#: content-image.php:83 content-link.php:51 content-quote.php:83
#: showcase.php:220 content.php:93
msgid "Leave a reply"
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-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
msgid "Pages:"
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."
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"
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"
msgstr "Om %s"
#: author.php:29
#. translators: %s: Author display name.
#: author.php:32
msgid "Author Archives: %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."
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
#: author.php:90
#: archive.php:67 index.php:40 tag.php:66 search.php:52 category.php:66
#: author.php:102
msgid "Nothing Found"
msgstr "Kunde inte hittas"
#: archive.php:31
#: archive.php:35
msgid "Blog Archives"
msgstr "Bloggarkiv"
#: archive.php:29
#. translators: %s: Date.
#: archive.php:33
msgctxt "yearly archives date format"
msgid "Y"
msgstr "Y"
#: archive.php:29
#. translators: %s: Date.
#: archive.php:33
msgid "Yearly Archives: %s"
msgstr "Årsarkiv: %s"
#: archive.php:27
#. translators: %s: Date.
#: archive.php:30
msgctxt "monthly archives date format"
msgid "F Y"
msgstr "F Y"
#: archive.php:27
#. translators: %s: Date.
#: archive.php:30
msgid "Monthly Archives: %s"
msgstr "månadsarkiv: %s"
#: archive.php:25
#. translators: %s: Date.
#: archive.php:27
msgid "Daily Archives: %s"
msgstr "Dagsarkiv: %s"
#. translators: %1$s: smilie
#. translators: %1$s: Smilie.
#: 404.php:46
msgid "Try looking in the monthly archives. %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.
msgid ""
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"
"Content-Type: text/plain; charset=UTF-8\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"
msgstr "Twenty Fifteen"
#: functions.php:212
#: functions.php:245
msgid "Light Blue"
msgstr "Ljusblått"
#: functions.php:207
#: functions.php:240
msgid "Bright Blue"
msgstr "Djupblått"
#: functions.php:162
#: functions.php:195
msgid "Light Gray"
msgstr "Ljusgrått"
#: functions.php:157
#: functions.php:190
msgid "Dark Gray"
msgstr "Mörkgrått"
#: functions.php:177
#: functions.php:210
msgid "Dark Brown"
msgstr "Mörkbrunt"
#: functions.php:167
#: functions.php:200
msgid "White"
msgstr "Vitt"
#: functions.php:187
#: functions.php:220
msgid "Light Pink"
msgstr "Ljusrosa"
#: functions.php:182
#: functions.php:215
msgid "Medium Pink"
msgstr "Mellanrosa"
#: functions.php:202
#: functions.php:235
msgid "Blue Gray"
msgstr "Blågrått"
#: functions.php:192
#: functions.php:225
msgid "Dark Purple"
msgstr "Mörklila"
#. translators: %s: post title
#. translators: %s: Post title.
#: comments.php:31
msgctxt "comments title"
msgid "One thought on &ldquo;%s&rdquo;"
msgstr "En kommentar till &ldquo;%s&rdquo;"
#. translators: %s: post title
#: inc/template-tags.php:123
#. translators: %s: Post title.
#: inc/template-tags.php:132
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>"
#: single.php:37
#: single.php:39
msgid "Previous post:"
msgstr "Föregående inlägg:"
#: single.php:36
#: single.php:38
msgid "Previous"
msgstr "Föregående"
#: single.php:34
#: single.php:36
msgid "Next post:"
msgstr "Nästa inlägg:"
#: single.php:33
#: single.php:35
msgid "Next"
msgstr "Nästa"
#: search.php:18
#. translators: %s: Search query.
#: search.php:21
msgid "Search Results for: %s"
msgstr "Sökresultat för: %s"
#: inc/template-tags.php:113
#: inc/template-tags.php:122
msgctxt "Used before full size attachment link."
msgid "Full size"
msgstr "Full storlek"
#: inc/template-tags.php:102
#: inc/template-tags.php:110
msgctxt "Used before tag names."
msgid "Tags"
msgstr "Taggar"
#: inc/template-tags.php:94
#: inc/template-tags.php:101
msgctxt "Used before category names."
msgid "Categories"
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."
msgid ", "
msgstr ", "
#: inc/template-tags.php:85
#: inc/template-tags.php:91
msgctxt "Used before post author name."
msgid "Author"
msgstr "Författare"
#: inc/template-tags.php:76
#: inc/template-tags.php:81
msgctxt "Used before publish date."
msgid "Posted on"
msgstr "Postat"
#: inc/template-tags.php:55
#: inc/template-tags.php:58
msgctxt "Used before post format."
msgid "Format"
msgstr "Format"
#: inc/template-tags.php:49
#: inc/template-tags.php:51
msgid "Featured"
msgstr "Utvalda"
#: inc/template-tags.php:30
#: inc/template-tags.php:31
msgid "Newer Comments"
msgstr "Nyare kommentarer"
@ -141,154 +142,157 @@ msgstr "Äldre kommentarer"
msgid "Comment navigation"
msgstr "Kommentarsnavigering"
#: inc/customizer.php:205
#: inc/customizer.php:237
msgid "Blue"
msgstr "Blå"
#: functions.php:197 inc/customizer.php:194
#: functions.php:230 inc/customizer.php:226
msgid "Purple"
msgstr "Lila"
#: inc/customizer.php:183
#: inc/customizer.php:215
msgid "Pink"
msgstr "Rosa"
#: functions.php:172 inc/customizer.php:172
#: functions.php:205 inc/customizer.php:204
msgid "Yellow"
msgstr "Gult"
#: inc/customizer.php:161
#: inc/customizer.php:193
msgid "Dark"
msgstr "Mörkt"
#: inc/customizer.php:150
#: inc/customizer.php:182
msgid "Default"
msgstr "Standard"
#: inc/customizer.php:75
#: inc/customizer.php:103
msgid "Header and Sidebar Background Color"
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."
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"
msgstr "Textfärg för sidhuvud och sidofält"
#: inc/customizer.php:44
#: inc/customizer.php:55
msgid "Base Color Scheme"
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."
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"
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>"
#: image.php:24
#: image.php:25
msgid "Next Image"
msgstr "Nästa bild"
#: image.php:24
#: image.php:25
msgid "Previous Image"
msgstr "Föregående bild"
#: header.php:45
#: header.php:50
msgid "Menu and widgets"
msgstr "Meny och widgets"
#: header.php:26
#: header.php:27
msgid "Skip to content"
msgstr "Hoppa till innehåll"
#: functions.php:359
#: functions.php:402
msgid "collapse child menu"
msgstr "minimera undermeny"
#: functions.php:358
#: functions.php:401
msgid "expand child menu"
msgstr "expandera undermeny"
#: functions.php:285
#: functions.php:321
msgctxt "Add new subset (greek, cyrillic, devanagari, vietnamese)"
msgid "no-subset"
msgstr "no-subset"
#: functions.php:277
#: functions.php:313
msgctxt "Inconsolata font: on or off"
msgid "on"
msgstr "på"
#: functions.php:269
#: functions.php:305
msgctxt "Noto Serif font: on or off"
msgid "on"
msgstr "på"
#: functions.php:261
#: functions.php:297
msgctxt "Noto Sans font: on or off"
msgid "on"
msgstr "på"
#: functions.php:235
#: functions.php:270
msgid "Add widgets here to appear in your sidebar."
msgstr "Lägg till widgets som ska visas i din sidopanel här."
#: functions.php:233
#: functions.php:268
msgid "Widget Area"
msgstr "Widgetfält"
#: functions.php:86
#: functions.php:87
msgid "Social Links Menu"
msgstr "Meny för sociala länkar"
#: functions.php:85
#: functions.php:86
msgid "Primary Menu"
msgstr "Primär meny"
#: footer.php:31
#. translators: %s: WordPress
#: footer.php:33
msgid "Proudly powered by %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."
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."
msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord."
#: content-none.php:22
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>."
#. translators: %s: Post editor URL.
#: content-none.php:25
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
msgid "Nothing Found"
msgstr "Kunde inte hittas"
#: content-link.php:56 content.php:57 image.php:71 content-search.php:28
#: content-search.php:33 content-page.php:35
#: content-link.php:60 content.php:61 image.php:74 content-search.php:28
#: content-search.php:33 content-page.php:37
msgid "Edit"
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:"
msgstr "Sidor:"
#. translators: %s: Name of current post
#: content-link.php:31 content.php:33 inc/template-tags.php:238
#. translators: %s: Post title.
#: content-link.php:32 content.php:34 inc/template-tags.php:252
msgid "Continue reading %s"
msgstr "Fortsätt läsa %s"
#: comments.php:69
#: comments.php:71
msgid "Comments are closed."
msgstr "Kommentarer inaktiverade."
#. translators: 1: number of comments, 2: post title
#. translators: 1: Number of comments, 2: Post title.
#: comments.php:35
msgctxt "comments title"
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[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"
msgstr "Visa alla inlägg av %s"
@ -304,16 +309,16 @@ msgstr "Visa alla inlägg av %s"
msgid "Published by"
msgstr "Publicerat av"
#: content-link.php:40 index.php:48 content.php:42 archive.php:51 search.php:40
#: image.php:63 content-page.php:29
#: content-link.php:43 index.php:50 content.php:45 archive.php:53 search.php:48
#: image.php:65 content-page.php:30
msgid "Page"
msgstr "Sida"
#: index.php:47 archive.php:50 search.php:39
#: index.php:49 archive.php:52 search.php:47
msgid "Next page"
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"
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.
msgid ""
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"
"Content-Type: text/plain; charset=UTF-8\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"
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
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>"
@ -29,21 +41,22 @@ msgctxt "Parent post link"
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>"
#: template-parts/content/content.php:18
#: template-parts/content/content-excerpt.php:18
#: template-parts/content/content.php:18
msgctxt "post"
msgid "Featured"
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."
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"
msgstr "Tillbaka"
#: inc/template-functions.php:209
#: inc/template-functions.php:136
msgid "More"
msgstr "Mer"
@ -65,55 +78,51 @@ msgctxt "primary color"
msgid "Default"
msgstr "Standard"
#: functions.php:166
#: functions.php:168
msgid "White"
msgstr "Vitt"
#: functions.php:161
#: functions.php:163
msgid "Light Gray"
msgstr "Ljustgrått"
#: functions.php:156
#: functions.php:158
msgid "Dark Gray"
msgstr "Mörkgrått"
#: functions.php:151
msgid "Secondary"
msgstr "Sekundär"
#: functions.php:134
#: functions.php:136
msgid "XL"
msgstr "XL"
#: functions.php:133
#: functions.php:135
msgid "Huge"
msgstr "Enorm"
#: functions.php:128
#: functions.php:130
msgid "L"
msgstr "L"
#: functions.php:127
#: functions.php:129
msgid "Large"
msgstr "Stor"
#: functions.php:122
#: functions.php:124
msgid "M"
msgstr "M"
#: functions.php:121
#: functions.php:123
msgid "Normal"
msgstr "Normal"
#: functions.php:115
#: functions.php:117
msgid "Small"
msgstr "Liten"
#: functions.php:116
#: functions.php:118
msgid "S"
msgstr "S"
#: functions.php:60 footer.php:37
#: footer.php:37 functions.php:60
msgid "Footer Menu"
msgstr "Sidfotsmeny"
@ -126,11 +135,11 @@ msgstr "Full storlek"
msgid "Page"
msgstr "Sida"
#: functions.php:190
#: functions.php:192
msgid "Add widgets here to appear in your footer."
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"
msgstr "Sidfot"
@ -142,7 +151,7 @@ msgstr "Huvudfärg"
msgid "No comments"
msgstr "Ingen kommentar"
#. translators: %1(X comments)$s
#. translators: %d: Number of comments.
#: template-parts/post/discussion-meta.php:16
msgid "%d Comment"
msgid_plural "%d Comments"
@ -153,7 +162,7 @@ msgstr[1] "%d kommentarer"
msgid "View more posts"
msgstr "Visa fler inlägg"
#. translators: %s: post author
#. translators: %s: Post author.
#: template-parts/post/author-bio.php:17
msgid "Published by %s"
msgstr "Publicerat av %s"
@ -162,15 +171,15 @@ msgstr "Publicerat av %s"
msgid "Top Menu"
msgstr "Toppmeny"
#. translators: %s: Name of current post. Only visible to screen readers
#: template-parts/content/content.php:36
#. translators: %s: Post title. Only visible to screen readers.
#: template-parts/content/content-single.php:27
#: template-parts/content/content.php:36
msgid "Continue reading<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.php:49
#: template-parts/content/content-page.php:27 image.php:52
msgid "Pages:"
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."
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
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>."
@ -227,12 +236,12 @@ msgstr "Etiketter:"
msgid "Posted in"
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
msgid ", "
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
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>"
@ -255,7 +264,7 @@ msgstr "Y"
msgid "Archives:"
msgstr "Arkiv:"
#. translators: %s: Taxonomy singular name
#. translators: %s: Taxonomy singular name.
#: inc/template-functions.php:90
msgid "%s Archives:"
msgstr "Arkiv för %s:"
@ -288,10 +297,9 @@ msgstr "Etikettarkiv:"
msgid "Category Archives: "
msgstr "Kategoriarkiv:"
#. translators: %s: Name of current post. Only visible to screen readers
#. translators: %s: Name of current post. Only visible to screen readers.
#: template-parts/content/content-page.php:41
#: template-parts/header/entry-header.php:32 inc/template-tags.php:120
#. translators: %s: Post title. Only visible to screen readers.
#: template-parts/header/entry-header.php:32
#: template-parts/content/content-page.php:41 inc/template-tags.php:120
msgid "Edit <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"
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"
msgstr "Meny för sociala länkar"
#: functions.php:59 functions.php:146
#: functions.php:59
msgid "Primary"
msgstr "Huvudmeny"
@ -328,7 +336,7 @@ msgstr "Föregående"
msgid "Comments"
msgstr "Kommentarer"
#. translators: 1: number of comments, 2: post title
#. translators: 1: Number of comments, 2: Post title.
#: comments.php:44
msgctxt "comments title"
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[1] "%1$s svar på ”%2$s”"
#. translators: %s: post title
#. translators: %s: Post title.
#: comments.php:40
msgctxt "comments title"
msgid "One reply on &ldquo;%s&rdquo;"
@ -350,20 +358,21 @@ msgstr "Lämna en kommentar"
msgid "Join the Conversation"
msgstr "Delta i diskussionen"
#: classes/class-twentynineteen-walker-comment.php:99
#: classes/class-twentynineteen-walker-comment.php:94
msgid "Your comment is awaiting moderation."
msgstr "Din kommentar inväntar granskning."
#: classes/class-twentynineteen-walker-comment.php:94
#: classes/class-twentynineteen-walker-comment.php:87
msgid "Edit"
msgstr "Redigera"
#. translators: 1: comment date, 2: comment time
#: classes/class-twentynineteen-walker-comment.php:86
#. translators: 1: Comment date, 2: Comment time.
#: classes/class-twentynineteen-walker-comment.php:79
msgid "%1$s at %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>"
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.
msgid ""
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"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -23,30 +23,30 @@ msgstr "Twenty Seventeen"
msgid "Footer"
msgstr "Sidfot"
#: functions.php:338
#: functions.php:340
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."
#: sidebar.php:18 functions.php:336
#: functions.php:338 sidebar.php:18
msgid "Blog Sidebar"
msgstr "Sidokolumn för blogg"
#: template-parts/navigation/navigation-top.php:31
#: template-parts/header/site-branding.php:34
#: template-parts/navigation/navigation-top.php:31
msgid "Scroll down to content"
msgstr "Rulla ned till innehållet"
#: functions.php:179
#: functions.php:181
msgctxt "Theme starter content"
msgid "Coffee"
msgstr "Kaffe"
#: functions.php:175
#: functions.php:177
msgctxt "Theme starter content"
msgid "Sandwich"
msgstr "Macka"
#: functions.php:171
#: functions.php:173
msgctxt "Theme starter content"
msgid "Espresso"
msgstr "Espresso"
@ -59,9 +59,10 @@ msgstr "Pausa bakgrundsvideo"
msgid "Play background video"
msgstr "Spela bakgrundsvideo"
#: inc/template-tags.php:151
msgid "Front Page Section %1$s Placeholder"
msgstr "Platshållare för förstasidessektionen %1$s"
#. translators: %s: The section ID.
#: inc/template-tags.php:158
msgid "Front Page Section %s Placeholder"
msgstr "Platshållare för förstasidessektionen %s"
#: 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."
@ -83,17 +84,17 @@ msgstr "Taggar"
msgid "Categories"
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
msgid ", "
msgstr ", "
#. translators: %s: post date
#. translators: %s: Post date.
#: inc/template-tags.php:52
msgid "<span class=\"screen-reader-text\">Posted on</span> %s"
msgstr "<span class=\"screen-reader-text\">Publicerat</span> %s"
#. translators: %s: post author
#. translators: %s: Post author.
#: inc/template-tags.php:21
msgid "by %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."
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
msgid "Front Page Section %d Content"
msgstr "Innehåll för förstasidessektion %d"
@ -147,25 +148,25 @@ msgstr "Färgschema"
msgid "Default Header Image"
msgstr "Standard-sidhuvudsbild"
#: functions.php:360
#: functions.php:362
msgid "Footer 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."
msgstr "Lägg till widgets som ska visas i sidfoten här."
#: functions.php:348
#: functions.php:350
msgid "Footer 1"
msgstr "Sidfot 1"
#: functions.php:289
#: functions.php:290
msgctxt "Libre Franklin font: on or off"
msgid "on"
msgstr "on"
#: template-parts/navigation/navigation-top.php:12 functions.php:64
#: functions.php:203
#: functions.php:205
msgid "Top Menu"
msgstr "Toppmeny"
@ -173,19 +174,20 @@ msgstr "Toppmeny"
msgid "Reply"
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."
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."
msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord."
#: template-parts/post/content-none.php:24
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>."
#. translators: %s: Post editor URL.
#: template-parts/post/content-none.php:27
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"
msgstr "Kunde inte hittas"
@ -216,17 +218,18 @@ msgctxt "label"
msgid "Search for:"
msgstr "Sök efter:"
#: search.php:19
#. translators: Search query.
#: search.php:22
msgid "Search Results for: %s"
msgstr "Sökresultat för: %s"
#. translators: %s: Name of current post
#: template-parts/page/content-front-page-panels.php:45
#: template-parts/page/content-front-page.php:42
#: template-parts/post/content-audio.php:84 template-parts/post/content.php:57
#: template-parts/post/content-gallery.php:71
#. translators: %s: Post title.
#: template-parts/post/content.php:57 template-parts/post/content-audio.php:84
#: template-parts/post/content-image.php:61
#: 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>"
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"
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."
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
msgid "Edit<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-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.php:64 template-parts/post/content-audio.php:91
#: 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:"
msgstr "Sidor:"
@ -259,19 +263,20 @@ msgstr "Meny"
msgid "Skip to content"
msgstr "Hoppa till innehåll"
#: functions.php:482
#: functions.php:484
msgid "Collapse child menu"
msgstr "Minimera undermeny"
#: functions.php:481
#: functions.php:483
msgid "Expand child menu"
msgstr "Expandera undermeny"
#: functions.php:65 functions.php:214
#: functions.php:65 functions.php:216
msgid "Social Links Menu"
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"
msgstr "Drivs med %s"
@ -283,7 +288,7 @@ msgstr "Social länkmeny sidfot"
msgid "Comments are closed."
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
msgctxt "comments title"
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[1] "%1$s svar på ”%2$s”"
#. translators: %s: post title
#. translators: %s: Post title.
#: comments.php:37
msgctxt "comments title"
msgid "One Reply to &ldquo;%s&rdquo;"
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"
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?"
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"
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"
msgstr "Nästa sida"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Ten package.
msgid ""
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"
"Content-Type: text/plain; charset=UTF-8\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"
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.
#: comments.php:40
msgid "One Response to %s"
msgstr "Ett svar på %s"
#: functions.php:90
msgid "Blue"
msgstr "Blått"
#: functions.php:112
msgid "White"
msgstr "Vitt"
#: functions.php:95
msgid "Black"
msgstr "Svart"
#: functions.php:100
msgid "Medium Gray"
msgstr "Mellangrått"
#: functions.php:105
#: functions.php:107
msgid "Light Gray"
msgstr "Ljusgrått"
#: functions.php:110
msgid "White"
msgstr "Vitt"
#: functions.php:102
msgid "Medium Gray"
msgstr "Mellangrått"
#: functions.php:97
msgid "Black"
msgstr "Svart"
#: functions.php:92
msgid "Blue"
msgstr "Blått"
#. Template Name of the theme
msgid "One column, no sidebar"
msgstr "En kolumn, utan sidofält"
#: tag.php:17
#. translators: %s: Tag title.
#: tag.php:18
msgid "Tag Archives: %s"
msgstr "Etikettarkiv: %s"
@ -60,60 +65,65 @@ msgstr "Meta"
msgid "Archives"
msgstr "Arkiv"
#: search.php:29
#: search.php:34
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."
#: search.php:27
#: search.php:32
msgid "Nothing Found"
msgstr "Inget kunde hittas"
#: search.php:16
#. translators: %s: Search query.
#: search.php:19
msgid "Search Results for: %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"
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"
msgstr "<span class=\"%1$s\">Publicerat i</span> %2$s"
#: loop.php:115
#: loop.php:120
msgctxt "asides category slug"
msgid "asides"
msgstr "notiser"
#: loop.php:108 loop.php:131 loop.php:180
#: loop.php:113 loop.php:136 loop.php:191
msgid "% Comments"
msgstr "% kommentarer"
#: loop.php:108 loop.php:131 loop.php:180
#: loop.php:113 loop.php:136 loop.php:191
msgid "1 Comment"
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"
msgstr "Lämna en kommentar"
#: loop.php:105
#: loop.php:110
msgid "View posts in the Gallery category"
msgstr "Visa inlägg i gallerikategorin"
#: loop.php:102 loop.php:105
#: loop.php:107 loop.php:110
msgid "More Galleries"
msgstr "Fler gallerier"
#: loop.php:102
#: loop.php:107
msgid "View Galleries"
msgstr "Visa gallerier"
#: loop.php:90
#. translators: %s: Post title.
#: loop.php:92
msgid "Permalink to %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_plural "This gallery contains <a %1$s>%2$s photos</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."
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>"
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"
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>"
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"
msgid "&rarr;"
msgstr "&rarr;"
#: loop-single.php:25 loop-single.php:75
#: loop-single.php:25 loop-single.php:84
msgctxt "Previous post link"
msgid "&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:"
msgstr "Sidor:"
#: loop-page.php:41 loop-attachment.php:75 loop-attachment.php:165 loop.php:109
#: loop.php:132 loop.php:181 loop-single.php:70
#: loop-attachment.php:83 loop-attachment.php:175 loop.php:114 loop.php:137
#: loop.php:192 loop-page.php:41 loop-single.php:79
msgid "Edit"
msgstr "Redigera"
#: loop-attachment.php:68
#: loop-attachment.php:76
msgid "Link to full-size image"
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"
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"
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"
msgstr "<span class=\"%1$s\">Av</span> %2$s"
#. translators: %s - title of parent post
#: loop-attachment.php:28
#. translators: %s: Title of parent post.
#: loop-attachment.php:32
msgid "<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"
msgstr "Tillbaka till %s"
#: header.php:110
#: header.php:114
msgid "Skip to content"
msgstr "Gå till innehåll"
#: header.php:35
#. translators: %s: Page number.
#: header.php:36
msgid "Page %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>."
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>."
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>."
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"
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"
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"
msgstr "Fjärde widgetfält i sidfot"
#: functions.php:538
#: functions.php:553
msgid "Third Footer Widget Area"
msgstr "Tredje widgetfält i sidfot"
#: functions.php:525
#: functions.php:540
msgid "Second Footer Widget Area"
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."
msgstr "Ett valfritt widgetfält för din sidfot."
#: functions.php:512
#: functions.php:527
msgid "First Footer Widget Area"
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."
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"
msgstr "Sekundärt widgetfält"
#: functions.php:488
#: functions.php:503
msgid "Add widgets here to appear in your sidebar."
msgstr "Lägg till widgets som ska visas i din sidopanel här."
#: functions.php:486
#: functions.php:501
msgid "Primary Widget Area"
msgstr "Primärt widgetfält"
#: functions.php:465
#: functions.php:480
msgid "Pingback:"
msgstr "Pingback: "
#: functions.php:438 functions.php:465
#: functions.php:453 functions.php:480
msgid "(Edit)"
msgstr "(Redigera)"
#. translators: 1: date, 2: time
#: functions.php:434
#. translators: 1: Date, 2: Time.
#: functions.php:449
msgid "%1$s at %2$s"
msgstr "%1$s kl. %2$s"
#: functions.php:427
#: functions.php:435
msgid "Your comment is awaiting moderation."
msgstr "Din kommentar inväntar granskning."
#: functions.php:424
#. translators: %s: Author display name.
#: functions.php:428
msgid "%s <span class=\"says\">says:</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>"
msgstr "Läs mer <span class=\"meta-nav\">&rarr;</span>"
#. translators: header image description
#: functions.php:252
#. translators: Header image description.
#: functions.php:254
msgid "Sunset"
msgstr "Solnedgång"
#. translators: header image description
#: functions.php:246
#. translators: Header image description.
#: functions.php:248
msgid "Path"
msgstr "Sökväg"
#. translators: header image description
#: functions.php:240
#. translators: Header image description.
#: functions.php:242
msgid "Inkwell"
msgstr "Färgbrunn"
#. translators: header image description
#: functions.php:234
#. translators: Header image description.
#: functions.php:236
msgid "Forest Floor"
msgstr "Skogsmatta"
#. translators: header image description
#: functions.php:228
#. translators: Header image description.
#: functions.php:230
msgid "Fern"
msgstr "Ormbunke"
#. translators: header image description
#: functions.php:222
#. translators: Header image description.
#: functions.php:224
msgid "Concave"
msgstr "Konkav"
#. translators: header image description
#: functions.php:216
#. translators: Header image description.
#: functions.php:218
msgid "Cherry Blossoms"
msgstr "Körsbärsblom"
#. translators: header image description
#: functions.php:210
#. translators: Header image description.
#: functions.php:212
msgid "Berries"
msgstr "Bär"
#: functions.php:135
#: functions.php:137
msgid "Primary Navigation"
msgstr "Primär navigation"
#: footer.php:47
#. translators: %s: WordPress
#: footer.php:49
msgid "Proudly powered by %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"
msgstr "<span class=\"meta-nav\">&larr;</span> Äldre kommentarer"
#. translators: %1$s: The number of comments. %2$s: The post title.
#: comments.php:46
msgid "%1$s Response 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."
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"
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"
msgstr "Om %s"
#: author.php:29
#. translators: %s: Author display name.
#: author.php:32
msgid "Author Archives: %s"
msgstr "Författararkiv: %s"
#: archive.php:41
#: archive.php:45
msgid "Blog Archives"
msgstr "Bloggarkiv"
#: archive.php:39
#. translators: %s: Date.
#: archive.php:43
msgctxt "yearly archives date format"
msgid "Y"
msgstr "Y"
#: archive.php:39
#. translators: %s: Date.
#: archive.php:43
msgid "Yearly Archives: <span>%s</span>"
msgstr "Årsarkiv: <span>%s</span>"
#: archive.php:37
#. translators: %s: Date.
#: archive.php:40
msgctxt "monthly archives date format"
msgid "F Y"
msgstr "F Y"
#: archive.php:37
#. translators: %s: Date.
#: archive.php:40
msgid "Monthly Archives: <span>%s</span>"
msgstr "Månadsarkiv: <span>%s</span>"
#: archive.php:35
#. translators: %s: Date.
#: archive.php:37
msgid "Daily Archives: <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."
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"
msgstr "Kunde inte hittas"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Thirteen package.
msgid ""
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"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -25,59 +25,62 @@ msgctxt "comments title"
msgid "One thought on &ldquo;%s&rdquo;"
msgstr "En tanke kring ”%s”"
#: functions.php:96
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
#: functions.php:147
msgid "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"
msgstr "Arkiv för %s"
#: tag.php:21
#. translators: Tag title.
#: tag.php:24
msgid "Tag Archives: %s"
msgstr "Etikettarkiv: %s"
#: search.php:18
#. translators: %s: Search query.
#: search.php:21
msgid "Search Results for: %s"
msgstr "Sökresultat för: %s"
@ -96,180 +99,183 @@ msgctxt "header image description"
msgid "Circle"
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."
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>"
msgstr "Nästa <span class=\"meta-nav\">&rarr;</span>"
#: image.php:61
#: image.php:62
msgid "<span class=\"meta-nav\">&larr;</span> Previous"
msgstr "<span class=\"meta-nav\">&larr;</span> Föregående"
#: image.php:49
#: image.php:50
msgid "Full resolution"
msgstr "Full upplösning"
#: image.php:48
#: image.php:49
msgid "Link to full-size image"
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>"
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"
msgstr "Hoppa till innehåll"
#: header.php:43
#: header.php:44
msgid "Menu"
msgstr "Meny"
#: functions.php:525
#. translators: %s: Post title.
#: functions.php:533
msgid "Permalink to %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"
msgid "%1$s on %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"
msgstr "Visa alla inlägg av %s"
#. Translators: used between list items, there is a space after the comma.
#: functions.php:481 functions.php:487
#. translators: Used between list items, there is a space after the comma.
#: functions.php:486 functions.php:492
msgid ", "
msgstr ", "
#: functions.php:473
#: functions.php:478
msgid "Sticky"
msgstr "Klistrad"
#: functions.php:455
#: functions.php:460
msgctxt "Next post link"
msgid "%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"
msgid "<span class=\"meta-nav\">&larr;</span> %title"
msgstr "<span class=\"meta-nav\">&larr;</span> %title"
#: functions.php:451
#: functions.php:456
msgid "Post navigation"
msgstr "Inläggsnavigering"
#: functions.php:424
#: functions.php:429
msgid "Newer posts <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"
msgstr "<span class=\"meta-nav\">&larr;</span> Äldre inlägg"
#: functions.php:416
#: functions.php:421
msgid "Posts navigation"
msgstr "Inläggsnavigering"
#: functions.php:391
#: functions.php:396
msgid "Appears on posts and pages in the sidebar."
msgstr "Visas i inlägg och på sidor i sidofältet."
#: functions.php:389
#: functions.php:394
msgid "Secondary Widget Area"
msgstr "Sekundärt widgetfält"
#: functions.php:379
#: functions.php:384
msgid "Appears in the footer section of the site."
msgstr "Visas i webbplatsens sidfot."
#: functions.php:377
#: functions.php:382
msgid "Main Widget Area"
msgstr "Primärt widgetfält"
#: functions.php:362
#. translators: %s: Page number.
#: functions.php:367
msgid "Page %s"
msgstr "Sida %s"
#. Translators: If there are characters in your language that are not *
#. supported by Bitter, translate this to 'off'. Do not translate into your *
#. own language.
#: functions.php:231
#: functions.php:234
msgctxt "Bitter font: on or off"
msgid "on"
msgstr "på"
#. Translators: If there are characters in your language that are not *
#. supported by Source Sans Pro, translate this to 'off'. Do not translate *
#. into your own language.
#: functions.php:225
#: functions.php:228
msgctxt "Source Sans Pro font: on or off"
msgid "on"
msgstr "på"
#: functions.php:191
#: functions.php:194
msgid "Navigation Menu"
msgstr "Navigeringsmeny"
#: footer.php:25
#. translators: %s: WordPress
#: footer.php:27
msgid "Proudly powered by %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."
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."
msgstr "Beklagar, inget som matchade dina söktermer kunde hittas. Vänligen försök igen med andra sökord."
#: content-none.php:18
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>."
#. translators: %s: Post editor URL.
#: content-none.php:21
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
msgid "Nothing Found"
msgstr "Kunde inte hittas"
#: content-gallery.php:52 content-video.php:48 content-image.php:48
#: content-quote.php:38 content.php:65
#: content-image.php:48 content-gallery.php:52 content.php:65
#: content-video.php:48 content-quote.php:38
msgid "View all % comments"
msgstr "Visa alla % kommentarer"
#: content-gallery.php:52 content-video.php:48 content-image.php:48
#: content-quote.php:38 content.php:65
#: content-image.php:48 content-gallery.php:52 content.php:65
#: content-video.php:48 content-quote.php:38
msgid "One comment so far"
msgstr "En kommentar så här långt"
#: content-gallery.php:52 content-video.php:48 content-image.php:48
#: content-quote.php:38 content.php:65
#: content-image.php:48 content-gallery.php:52 content.php:65
#: content-video.php:48 content-quote.php:38
msgid "Leave a comment"
msgstr "Lämna en kommentar"
#: content-gallery.php:55 content-aside.php:36 content-aside.php:44
#: content-status.php:35 content-video.php:51 content-image.php:51
#: content-link.php:19 content-audio.php:47 content-quote.php:41 image.php:54
#: content-chat.php:45 content.php:31 page.php:51
#: content-image.php:51 content-gallery.php:55 content.php:31
#: content-video.php:51 content-audio.php:47 image.php:55 content-status.php:35
#: page.php:51 content-chat.php:45 content-quote.php:41 content-aside.php:36
#: content-aside.php:44 content-link.php:19
msgid "Edit"
msgstr "Redigera"
#: content-gallery.php:35 content-aside.php:24 content-status.php:24
#: content-video.php:34 content-image.php:34 content-link.php:35
#: content-audio.php:35 content-quote.php:24 image.php:83 content-chat.php:34
#: content.php:52 page.php:41
#: content-image.php:34 content-gallery.php:35 content.php:52
#: content-video.php:34 content-audio.php:35 image.php:84 content-status.php:24
#: page.php:41 content-chat.php:34 content-quote.php:24 content-aside.php:24
#: content-link.php:35
msgid "Pages:"
msgstr "Sidor:"
#. translators: %s: Name of current post
#: content-gallery.php:28 content-aside.php:17 content-status.php:17
#: content-video.php:27 content-image.php:27 content-link.php:28
#: content-audio.php:28 content-quote.php:17 functions.php:639
#: content-chat.php:27 content.php:45
#. translators: %s: Post title.
#: content-image.php:27 functions.php:647 content-gallery.php:28 content.php:45
#: content-video.php:27 content-audio.php:28 content-status.php:17
#: content-chat.php:27 content-quote.php:17 content-aside.php:17
#: content-link.php:28
msgid "Continue reading %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[1] "%1$s tankar kring ”%2$s”"
#: category.php:19
#. translators: %s: Category title.
#: category.php:22
msgid "Category Archives: %s"
msgstr "Kategoriarkiv: %s"
#: author.php:31
#. translators: %s: Author display name.
#: author.php:34
msgid "All posts by %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>"
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"
msgstr "Om %s"
#: archive.php:36
#: archive.php:39
msgid "Archives"
msgstr "Arkiv"
#: archive.php:34
#. translators: %s: Date.
#: archive.php:37
msgctxt "yearly archives date format"
msgid "Y"
msgstr "Y"
#: archive.php:34
#. translators: %s: Date.
#: archive.php:37
msgid "Yearly Archives: %s"
msgstr "Årsarkiv: %s"
#: archive.php:32
#. translators: %s: Date.
#: archive.php:34
msgctxt "monthly archives date format"
msgid "F Y"
msgstr "F Y"
#: archive.php:32
#. translators: %s: Date.
#: archive.php:34
msgid "Monthly Archives: %s"
msgstr "månadsarkiv: %s"
#: archive.php:30
#. translators: %s: Date.
#: archive.php:31
msgid "Daily Archives: %s"
msgstr "Dagsarkiv: %s"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Twelve package.
msgid ""
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"
"Content-Type: text/plain; charset=UTF-8\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"
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.
#: comments.php:35
msgid "One thought on &ldquo;%s&rdquo;"
msgstr "En tanke kring ”%s”"
#: functions.php:92
#: functions.php:94
msgid "White"
msgstr "Vitt"
#: functions.php:87
#: functions.php:89
msgid "Light Gray"
msgstr "Ljusgrått"
#: functions.php:82
#: functions.php:84
msgid "Medium Gray"
msgstr "Mellangrått"
#: functions.php:77
#: functions.php:79
msgid "Dark Gray"
msgstr "Mörkgrått"
#: functions.php:72
#: functions.php:74
msgid "Blue"
msgstr "Blått"
@ -52,7 +56,8 @@ msgstr "Fullbreddsmall, utan sidofält"
msgid "Front Page Template"
msgstr "Mall för startsida"
#: tag.php:21
#. translators: %s: Tag title.
#: tag.php:24
msgid "Tag Archives: %s"
msgstr "Etikettarkiv: %s"
@ -66,15 +71,17 @@ msgctxt "Previous post link"
msgid "&larr;"
msgstr "&larr;"
#: search.php:41
#: search.php:46
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."
#: search.php:18
#. translators: %s: Search query.
#: search.php:21
msgid "Search Results for: %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>."
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"
msgstr "Inga inlägg att visa"
#: image.php:46
#: image.php:47
msgid "Next &rarr;"
msgstr "Nästa &rarr;"
#: image.php:45
#: image.php:46
msgid "&larr; Previous"
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>."
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"
msgstr "Hoppa till innehåll"
#: header.php:43
#: header.php:44
msgid "Menu"
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>."
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>."
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
#. name.
#: functions.php:508
#. translators: 1: Category name, 2: Tag name, 3: Date, 4: Author display name.
#: functions.php:524
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>."
#: functions.php:502
#. translators: %s: Author display name.
#: functions.php:518
msgid "View all posts by %s"
msgstr "Visa alla inlägg av %s"
#. Translators: used between list items, there is a space after the comma.
#: functions.php:486 functions.php:489
#. translators: Used between list items, there is a space after the comma.
#: functions.php:501 functions.php:504
msgid ", "
msgstr ", "
#: functions.php:458
#: functions.php:473
msgid "Reply"
msgstr "Svara"
#: functions.php:444
#: functions.php:452
msgid "Your comment is awaiting moderation."
msgstr "Din kommentar inväntar granskning."
#. translators: 1: date, 2: time
#: functions.php:438
#. translators: 1: Date, 2: Time.
#: functions.php:444
msgid "%1$s at %2$s"
msgstr "%1$s kl. %2$s"
#: functions.php:431
#: functions.php:437
msgid "Post author"
msgstr "Inläggsförfattare"
#: functions.php:415
#: functions.php:421
msgid "(Edit)"
msgstr "(Redigera)"
#: functions.php:415
#: functions.php:421
msgid "Pingback:"
msgstr "Pingback: "
#: functions.php:389
#: functions.php:395
msgid "Newer posts <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"
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"
msgstr "Inläggsnavigering"
#: functions.php:364
#: functions.php:370
msgid "Second Front Page Widget Area"
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"
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"
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"
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"
msgstr "Primär sidopanel"
#: functions.php:308
#. translators: %s: Page number.
#: functions.php:314
msgid "Page %s"
msgstr "Sida %s"
#. translators: To add an additional Open Sans character subset specific to
#. your language, * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do
#. not translate into your own language.
#: functions.php:155
#: functions.php:159
msgctxt "Open Sans font: add new subset (greek, cyrillic, vietnamese)"
msgid "no-subset"
msgstr "no-subset"
#. translators: If there are characters in your language that are not supported
#. * by Open Sans, translate this to 'off'. Do not translate into your own
#. language.
#: functions.php:149
#: functions.php:152
msgctxt "Open Sans font: on or off"
msgid "on"
msgstr "on"
#: functions.php:106
#: functions.php:108
msgid "Primary Menu"
msgstr "Primär meny"
#: footer.php:22
#. translators: %s: WordPress
#: footer.php:24
msgid "Proudly powered by %s"
msgstr "Drivs med %s"
@ -214,7 +222,8 @@ msgstr "Drivs med %s"
msgid "Semantic Personal Publishing Platform"
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>"
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"
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:"
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."
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"
msgstr "Kunde inte hittas"
#: content-link.php:12
#: content-link.php:15
msgid "Link"
msgstr "Länk"
#: content-link.php:24 content.php:60 functions.php:449 content-image.php:26
#: content-quote.php:23 content-status.php:40 image.php:41 content-aside.php:26
#: content-page.php:31
#: content-aside.php:29 content-status.php:43 content-image.php:26
#: content-link.php:27 content-page.php:31 content-quote.php:26 image.php:42
#: functions.php:464 content.php:60
msgid "Edit"
msgstr "Redigera"
#: content-link.php:21 content.php:35 content-image.php:23 content-quote.php:20
#: content-status.php:37 content-aside.php:23
#: content-aside.php:26 content-status.php:40 content-image.php:23
#: content-link.php:24 content-quote.php:23 content.php:35
msgid "% Replies"
msgstr "% svar"
#: content-link.php:21 content.php:35 content-image.php:23 content-quote.php:20
#: content-status.php:37 content-aside.php:23
#: content-aside.php:26 content-status.php:40 content-image.php:23
#: content-link.php:24 content-quote.php:23 content.php:35
msgid "1 Reply"
msgstr "1 svar"
#: content-link.php:21 content.php:35 content-image.php:23 content-quote.php:20
#: content-status.php:37 content-aside.php:23
#: content-aside.php:26 content-status.php:40 content-image.php:23
#: content-link.php:24 content-quote.php:23 content.php:35
msgid "Leave a reply"
msgstr "Kommentera"
#: content-link.php:18 content-quote.php:17 content-status.php:15
#: content-aside.php:20
#. translators: %s: Post title.
#: content-aside.php:11 content-status.php:11 content-link.php:11
#: content-quote.php:11
msgid "Permalink to %s"
msgstr "Permanent länk till %s"
#: content-link.php:14 content.php:46 content-image.php:13 content-quote.php:13
#: content-status.php:31 content-aside.php:15
#: content-aside.php:18 content-status.php:34 content-image.php:13
#: content-link.php:17 content-quote.php:16 content.php:46
msgid "Continue reading <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."
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[1] "%1$s tankar kring ”%2$s”"
#: category.php:21
#. translators: %s: Category title.
#: category.php:24
msgid "Category Archives: %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"
msgstr "Om %s"
#: author.php:32
#. translators: Author display name.
#: author.php:36
msgid "Author Archives: %s"
msgstr "Författararkiv: %s"
#: archive.php:36
#: archive.php:39
msgid "Archives"
msgstr "Arkiv"
#: archive.php:34
#. translators: %s: Date.
#: archive.php:37
msgctxt "yearly archives date format"
msgid "Y"
msgstr "Y"
#: archive.php:34
#. translators: %s: Date.
#: archive.php:37
msgid "Yearly Archives: %s"
msgstr "Årsarkiv: %s"
#: archive.php:32
#. translators: %s: Date.
#: archive.php:34
msgctxt "monthly archives date format"
msgid "F Y"
msgstr "F Y"
#: archive.php:32
#. translators: %s: Date.
#: archive.php:34
msgid "Monthly Archives: %s"
msgstr "månadsarkiv: %s"
#: archive.php:30
#. translators: %s: Date.
#: archive.php:31
msgid "Daily Archives: %s"
msgstr "Dagsarkiv: %s"

View File

@ -2,7 +2,7 @@
# This file is distributed under the same license as the Themes - Twenty Twenty package.
msgid ""
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"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -23,24 +23,109 @@ msgstr "Twenty Twenty"
msgid "Show author bio"
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
msgctxt "Theme starter content"
msgid "The New UMoMA Opens its Doors"
msgstr "Nya UMoMA välkomnar allmänheten"
#: 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/template-tags.php:393
msgctxt "A string that is output before one or more categories"
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
msgid "Become a Member and Get Exclusive Offers!"
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:104 inc/starter-content.php:119
msgid "Read More"
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
msgid "Custom"
msgstr "Anpassad"
@ -53,150 +138,287 @@ msgstr "Standard"
msgid "Primary Color"
msgstr "Primär färg"
#: inc/template-tags.php:393
msgctxt "A string that is output before one or more categories"
msgid "In"
msgstr "I"
#: searchform.php:24 template-parts/modal-search.php:20
msgid "Search for:"
msgstr "Sök efter:"
#: inc/starter-content.php:113
msgid "From Signac to Matisse"
msgstr "Från Signac till Matisse"
#: index.php:99
msgid "search again"
msgstr "sök igen"
#: 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: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
#. translators: %s: Number of search results.
#: index.php:39
msgid "We found %s result for your search."
msgid_plural "We found %s results for your search."
msgstr[0] "Din sökning gav %s resultat."
msgstr[1] "Din sökning gav %s resultat."
#: index.php:99
msgid "search again"
msgstr "sök igen"
#. translators: %s: HTML character for up arrow.
#: footer.php:49
msgid "Up %s"
msgstr "Upp %s"
#: template-parts/modal-search.php:20 searchform.php:24
msgid "Search for:"
msgstr "Sök efter:"
#. translators: %s: HTML character for up arrow.
#: footer.php:43
msgid "To the top %s"
msgstr "Till toppen %s"
#. Translators: 1 = comment date, 2 = comment time
#: classes/class-twentytwenty-walker-comment.php:69
msgid "%1$s at %2$s"
msgstr "%1$s \\k\\l. %2$s"
#. translators: Copyright date format, see https://www.php.net/date
#: footer.php:25
msgctxt "copyright date format"
msgid "Y"
msgstr "Y"
#: classes/class-twentytwenty-walker-comment.php:77
msgid "Edit"
msgstr "Redigera"
#: 404.php:24
msgid "404 not found"
msgstr "404 hittades inte"
#: classes/class-twentytwenty-walker-comment.php:92
msgid "Your comment is awaiting moderation."
msgstr "Din kommentar inväntar granskning."
#. Template Name of the theme
msgid "Full Width Template"
msgstr "Fullbreddsmall"
#: comments.php:34
msgid "Leave a comment"
msgstr "Lämna en kommentar"
#: template-parts/pagination.php:25
msgid "Older <span class=\"nav-short\">Posts</span>"
msgstr "Tidigare <span class=\"nav-short\">inlägg</span>"
#. translators: %s: post title
#: comments.php:37
msgctxt "comments title"
msgid "One reply on &ldquo;%s&rdquo;"
msgstr "Ett svar på ”%s”"
#: template-parts/pagination.php:21
msgid "Newer <span class=\"nav-short\">Posts</span>"
msgstr "Senare <span class=\"nav-short\">inlägg</span>"
#. 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
msgctxt "comments title"
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[1] "%1$s svar på ”%2$s”"
#: comments.php:88
msgid "Comments"
msgstr "Kommentarer"
#. translators: %s: Post title.
#: comments.php:37
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
msgid "Primary"
msgstr "Huvudmeny"
#: comments.php:34
msgid "Leave a comment"
msgstr "Lämna en kommentar"
#: inc/starter-content.php:196
msgid "Social Links Menu"
msgstr "Meny för sociala länkar"
#: classes/class-twentytwenty-walker-page.php:107 inc/template-tags.php:555
msgid "Show sub menu"
msgstr "Visa undermeny"
#. 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>"
#. translators: %d: ID of a post.
#: classes/class-twentytwenty-walker-page.php:70
msgid "#%d (no title)"
msgstr "#%d (utan rubrik)"
#: functions.php:258
msgid "Footer Menu"
msgstr "Sidfotsmeny"
#: classes/class-twentytwenty-walker-comment.php:127
msgid "By Post Author"
msgstr "Av inläggets författare"
#: template-parts/content.php:48 template-parts/content-cover.php:138
msgid "Pages:"
msgstr "Sidor:"
#: classes/class-twentytwenty-walker-comment.php:92
msgid "Your comment is awaiting moderation."
msgstr "Din kommentar inväntar granskning."
#: template-parts/footer-menus-widgets.php:37
msgid "Footer"
msgstr "Sidfot"
#: classes/class-twentytwenty-walker-comment.php:77
msgid "Edit"
msgstr "Redigera"
#: template-parts/content.php:48 template-parts/content-cover.php:138
msgid "Page"
msgstr "Sida"
#. translators: 1: Comment date, 2: Comment time.
#: classes/class-twentytwenty-walker-comment.php:69
msgid "%1$s at %2$s"
msgstr "%1$s \\k\\l. %2$s"
#: functions.php:496
msgid "Secondary"
msgstr "Sekundär"
#: classes/class-twentytwenty-walker-comment.php:56
msgid "says:"
msgstr "säger:"
#: 404.php:17
msgid "Page Not Found"
msgstr "Sidan hittades inte"
#: classes/class-twentytwenty-customize.php:396
msgid "Make sure that the contrast is high enough so that the text is readable."
msgstr "Se till att kontrasten är tillräckligt hög för att texten ska kunna läsas."
#: 404.php:19
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 "Sidan du försökte hämta kunde inte hittas. Den kan ha tagits bort, bytt namn eller kanske aldrig har funnits."
#: classes/class-twentytwenty-customize.php:306
msgid "Creates a parallax effect when the visitor scrolls."
msgstr "Skapar en parallax-effekt när besökaren rullar sidan."
#: classes/class-twentytwenty-customize.php:81
msgid "Retina logo"
msgstr "Retina-logga"
#: 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"
#: classes/class-twentytwenty-customize.php:305
msgid "Fixed Background Image"
msgstr "Fast bakgrundsbild"
#. Template Name of the theme
#: classes/class-twentytwenty-customize.php:281
msgid "Cover Template"
msgstr "Omslagsmall"
#: classes/class-twentytwenty-customize.php:305
msgid "Fixed Background Image"
msgstr "Fast bakgrundsbild"
#: classes/class-twentytwenty-customize.php:270
msgid "Summary"
msgstr "Sammanfattning"
#: classes/class-twentytwenty-customize.php:306
msgid "Creates a parallax effect when the visitor scrolls."
msgstr "Skapar en parallax-effekt när besökaren rullar sidan."
#: classes/class-twentytwenty-customize.php:269
msgid "Full text"
msgstr "Hela texten"
#: classes/class-twentytwenty-customize.php:396
msgid "Make sure that the contrast is high enough so that the text is readable."
msgstr "Se till att kontrasten är tillräckligt hög för att texten ska kunna läsas."
#: classes/class-twentytwenty-customize.php:267
msgid "On archive pages, posts show:"
msgstr "På arkivsidor visar inläggen:"
#: classes/class-twentytwenty-walker-comment.php:56
msgid "says:"
msgstr "säger:"
#: classes/class-twentytwenty-customize.php:225
msgid "Show search in header"
msgstr "Visa sökfunktion i sidhuvudet"
#: classes/class-twentytwenty-walker-comment.php:127
msgid "By Post Author"
msgstr "Av inläggets författare"
#: classes/class-twentytwenty-customize.php:202
msgid "Theme Options"
msgstr "Temainställningar"
#. translators: %d: ID of a post
#: classes/class-twentytwenty-walker-page.php:82
msgid "#%d (no title)"
msgstr "#%d (utan rubrik)"
#: classes/class-twentytwenty-customize.php:101
msgid "Header &amp; Footer Background Color"
msgstr "Bakgrundsfärg för sidhuvud och sidfot"
#: classes/class-twentytwenty-walker-page.php:134 inc/template-tags.php:555
msgid "Show sub menu"
msgstr "Visa undermeny"
#: 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."
#: comments.php:74
msgid "Newer Comments"
msgstr "Senare kommentarer"
#: classes/class-twentytwenty-customize.php:81
msgid "Retina logo"
msgstr "Retina-logga"
#: comments.php:75
msgid "Older Comments"
msgstr "Tidigare kommentarer"
#: 404.php:19
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 "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
msgid "Comments are closed."
msgstr "Stängt för kommentering."
#: 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"
#: 404.php:17
msgid "Page Not Found"
msgstr "Sidan hittades inte"
#. Author URI of the theme
#: footer.php:32

View File

@ -42,7 +42,7 @@ get_header(); ?>
</div>
<?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>';
the_widget(
'WP_Widget_Archives',

View File

@ -21,30 +21,37 @@ get_header(); ?>
<header class="page-header">
<h1 class="page-title">
<?php if ( is_day() ) : ?>
<?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?>
<?php elseif ( is_month() ) : ?>
<?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' ); ?>
<?php elseif ( is_year() ) : ?>
<?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' ); ?>
<?php else : ?>
<?php _e( 'Blog Archives', 'twentyeleven' ); ?>
<?php endif; ?>
<?php
if ( is_day() ) {
/* translators: %s: Date. */
printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' );
} elseif ( is_month() ) {
/* translators: %s: Date. */
printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' );
} elseif ( is_year() ) {
/* 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>
</header>
<?php twentyeleven_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php
// Start the Loop.
while ( have_posts() ) :
the_post();
?>
<?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
* 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() );
?>

View File

@ -26,14 +26,19 @@ get_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>
<?php
/*
* Since we called the_post() above, we need to
* rewind the loop back to the beginning that way
* we can run the loop properly, in full.
* Since we called the_post() above, we need
* to rewind the loop back to the beginning.
* That way we can run the loop properly, in full.
*/
rewind_posts();
?>
@ -54,18 +59,24 @@ get_header(); ?>
*
* @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 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' ); ?>
</div><!-- #author-description -->
</div><!-- #author-info -->
<?php endif; ?>
<?php /* Start the Loop */ ?>
<?php
// Start the Loop.
while ( have_posts() ) :
the_post();
?>
@ -74,7 +85,8 @@ get_header(); ?>
/*
* Include the Post-Format-specific template for the content.
* 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() );
?>

View File

@ -17,6 +17,7 @@ get_header(); ?>
<header class="page-header">
<h1 class="page-title">
<?php
/* translators: %s: Ñategory title. */
printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
?>
</h1>
@ -38,8 +39,8 @@ get_header(); ?>
<?php twentyeleven_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php
// Start the Loop.
while ( have_posts() ) :
the_post();
?>
@ -48,7 +49,8 @@ get_header(); ?>
/*
* Include the Post-Format-specific template for the content.
* 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() );
?>

View File

@ -48,13 +48,13 @@
?>
</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">
<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-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div>
</nav>
<?php endif; // check for comment navigation ?>
<?php endif; // Check for comment navigation. ?>
<ol class="commentlist">
<?php
@ -69,13 +69,13 @@
?>
</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">
<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-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div>
</nav>
<?php endif; // check for comment navigation ?>
<?php endif; // Check for comment navigation. ?>
<?php
/*

View File

@ -4,7 +4,7 @@
*
* Used on index and archive pages.
*
* @link https://codex.wordpress.org/Post_Formats
* @link https://wordpress.org/support/article/post-formats/
*
* @package WordPress
* @subpackage Twenty_Eleven
@ -26,7 +26,7 @@
<?php endif; ?>
</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">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->

View File

@ -32,16 +32,18 @@ global $feature_class;
<footer class="entry-meta">
<?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' ) );
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' );
} 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' );
}
printf(
$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' ) ),
$tag_list,
esc_url( get_permalink() ),

View File

@ -4,7 +4,7 @@
*
* Used on index and archive pages.
*
* @link https://codex.wordpress.org/Post_Formats
* @link https://wordpress.org/support/article/post-formats/
*
* @package WordPress
* @subpackage Twenty_Eleven
@ -24,7 +24,7 @@
</div><!-- .entry-meta -->
</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">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
@ -46,13 +46,15 @@
<p><em>
<?php
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' ),
/* translators: %s: Post title. */
'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 )
);
?>
</em></p>
<?php endif; // end twentyeleven_get_gallery_images() check ?>
<?php endif; // End twentyeleven_get_gallery_images() check. ?>
<?php the_excerpt(); ?>
<?php endif; ?>
<?php
@ -69,39 +71,41 @@
<footer class="entry-meta">
<?php $show_sep = false; ?>
<?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' ) );
if ( $categories_list ) :
?>
<span class="cat-links">
<?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 );
$show_sep = true;
?>
</span>
<?php endif; // End if categories ?>
<?php endif; // End if categories. ?>
<?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' ) );
if ( $tags_list ) :
if ( $show_sep ) :
?>
<span class="sep"> | </span>
<?php endif; // End if $show_sep ?>
<?php endif; // End if $show_sep. ?>
<span class="tag-links">
<?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 );
$show_sep = true;
?>
</span>
<?php endif; // End if $tags_list ?>
<?php endif; // End if $tags_list. ?>
<?php if ( comments_open() ) : ?>
<?php if ( $show_sep ) : ?>
<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>
<?php endif; // End if comments_open() ?>
<?php endif; // End if comments_open(). ?>
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->

View File

@ -4,7 +4,7 @@
*
* Used on index and archive pages.
*
* @link https://codex.wordpress.org/Post_Formats
* @link https://wordpress.org/support/article/post-formats/
*
* @package WordPress
* @subpackage Twenty_Eleven
@ -41,11 +41,13 @@
<div class="entry-meta">
<?php
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' ),
esc_url( get_permalink() ),
get_the_date( 'c' ),
get_the_date(),
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() ) ),
get_the_author()
);
@ -53,27 +55,33 @@
</div><!-- .entry-meta -->
<div class="entry-meta">
<?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' ) );
if ( $categories_list ) :
?>
<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
/* 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' ) );
if ( $tags_list ) :
?>
<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>
<?php endif; // End if $tags_list ?>
<?php endif; // End if $tags_list. ?>
<?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>
<?php endif; // End if comments_open() ?>
<?php endif; // End if comments_open(). ?>
</div><!-- .entry-meta -->
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>

View File

@ -4,7 +4,7 @@
*
* Used on index and archive pages
*
* @link https://codex.wordpress.org/Post_Formats
* @link https://wordpress.org/support/article/post-formats/
*
* @package WordPress
* @subpackage Twenty_Eleven
@ -26,7 +26,7 @@
<?php endif; ?>
</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">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->

View File

@ -26,7 +26,7 @@
<?php endif; ?>
</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">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
@ -47,39 +47,41 @@
<footer class="entry-meta">
<?php $show_sep = false; ?>
<?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' ) );
if ( $categories_list ) :
?>
<span class="cat-links">
<?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 );
$show_sep = true;
?>
</span>
<?php endif; // End if categories ?>
<?php endif; // End if categories. ?>
<?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' ) );
if ( $tags_list ) :
if ( $show_sep ) :
?>
<span class="sep"> | </span>
<?php endif; // End if $show_sep ?>
<?php endif; // End if $show_sep. ?>
<span class="tag-links">
<?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 );
$show_sep = true;
?>
</span>
<?php endif; // End if $tags_list ?>
<?php endif; // End if $tags_list. ?>
<?php if ( comments_open() ) : ?>
<?php if ( $show_sep ) : ?>
<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>
<?php endif; // End if comments_open() ?>
<?php endif; // End if comments_open(). ?>
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->

View File

@ -33,16 +33,19 @@
<footer class="entry-meta">
<?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' ) );
/* 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' ) );
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' );
} 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' );
} 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' );
}
@ -58,20 +61,32 @@
?>
<?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-avatar">
<?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 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' ); ?>
<div id="author-link">
<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>
</div><!-- #author-link -->
</div><!-- #author-description -->

View File

@ -4,7 +4,7 @@
*
* Used on index and archive pages
*
* @link https://codex.wordpress.org/Post_Formats
* @link https://wordpress.org/support/article/post-formats/
*
* @package WordPress
* @subpackage Twenty_Eleven
@ -26,7 +26,7 @@
<?php endif; ?>
</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">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->

View File

@ -32,7 +32,7 @@
<?php endif; ?>
</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">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
@ -52,44 +52,46 @@
<footer class="entry-meta">
<?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
/* 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' ) );
if ( $categories_list ) :
?>
<span class="cat-links">
<?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 );
$show_sep = true;
?>
</span>
<?php endif; // End if categories ?>
<?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 endif; // End if categories. ?>
<?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
/* 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' ) );
if ( $tags_list ) :
if ( $show_sep ) :
?>
<span class="sep"> | </span>
<?php endif; // End if $show_sep ?>
<?php endif; // End if $show_sep. ?>
<span class="tag-links">
<?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 );
$show_sep = true;
?>
</span>
<?php endif; // End if $tags_list ?>
<?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ) ?>
<?php endif; // End if $tags_list. ?>
<?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ). ?>
<?php if ( comments_open() ) : ?>
<?php if ( $show_sep ) : ?>
<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>
<?php endif; // End if comments_open() ?>
<?php endif; // End if comments_open(). ?>
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
</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);
}
.wp-block-button .wp-block-button__link[data-is-placeholder-visible="true"] {
height: auto;
}
.wp-block-button__link {
background: #222;
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' ); ?>">
<?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?>
<?php
/* translators: %s: WordPress */
printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' );
?>
</a>
</div>
</footer><!-- #colophon -->

View File

@ -14,7 +14,7 @@
* 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.
*
* @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/
*
* Functions that are not pluggable (not wrapped in function_exists()) are instead attached
@ -27,13 +27,13 @@
* <code>
* add_action( 'after_setup_theme', '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' );
* ...
* }
* </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
* @subpackage Twenty_Eleven
@ -132,10 +132,10 @@ if ( ! function_exists( 'twentyeleven_setup' ) ) :
);
// 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.
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_theme_support( 'automatic-feed-links' );
@ -143,7 +143,7 @@ if ( ! function_exists( 'twentyeleven_setup' ) ) :
// This theme uses wp_nav_menu() in one location.
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' ) );
$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 support for custom headers.
@ -234,49 +234,49 @@ if ( ! function_exists( 'twentyeleven_setup' ) ) :
'wheel' => array(
'url' => '%s/images/headers/wheel.jpg',
'thumbnail_url' => '%s/images/headers/wheel-thumbnail.jpg',
/* translators: header image description */
/* translators: Header image description. */
'description' => __( 'Wheel', 'twentyeleven' ),
),
'shore' => array(
'url' => '%s/images/headers/shore.jpg',
'thumbnail_url' => '%s/images/headers/shore-thumbnail.jpg',
/* translators: header image description */
/* translators: Header image description. */
'description' => __( 'Shore', 'twentyeleven' ),
),
'trolley' => array(
'url' => '%s/images/headers/trolley.jpg',
'thumbnail_url' => '%s/images/headers/trolley-thumbnail.jpg',
/* translators: header image description */
/* translators: Header image description. */
'description' => __( 'Trolley', 'twentyeleven' ),
),
'pine-cone' => array(
'url' => '%s/images/headers/pine-cone.jpg',
'thumbnail_url' => '%s/images/headers/pine-cone-thumbnail.jpg',
/* translators: header image description */
/* translators: Header image description. */
'description' => __( 'Pine Cone', 'twentyeleven' ),
),
'chessboard' => array(
'url' => '%s/images/headers/chessboard.jpg',
'thumbnail_url' => '%s/images/headers/chessboard-thumbnail.jpg',
/* translators: header image description */
/* translators: Header image description. */
'description' => __( 'Chessboard', 'twentyeleven' ),
),
'lanterns' => array(
'url' => '%s/images/headers/lanterns.jpg',
'thumbnail_url' => '%s/images/headers/lanterns-thumbnail.jpg',
/* translators: header image description */
/* translators: Header image description. */
'description' => __( 'Lanterns', 'twentyeleven' ),
),
'willow' => array(
'url' => '%s/images/headers/willow.jpg',
'thumbnail_url' => '%s/images/headers/willow-thumbnail.jpg',
/* translators: header image description */
/* translators: Header image description. */
'description' => __( 'Willow', 'twentyeleven' ),
),
'hanoi' => array(
'url' => '%s/images/headers/hanoi.jpg',
'thumbnail_url' => '%s/images/headers/hanoi-thumbnail.jpg',
/* translators: header image description */
/* translators: Header image description. */
'description' => __( 'Hanoi Plant', 'twentyeleven' ),
),
)
@ -285,7 +285,7 @@ if ( ! function_exists( 'twentyeleven_setup' ) ) :
// Indicate widget sidebars can use selective refresh in the Customizer.
add_theme_support( 'customize-selective-refresh-widgets' );
}
endif; // twentyeleven_setup
endif; // twentyeleven_setup()
/**
* Enqueue scripts and styles for front end.
@ -294,7 +294,7 @@ endif; // twentyeleven_setup
*/
function twentyeleven_scripts_styles() {
// 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' );
@ -305,7 +305,7 @@ add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' );
*/
function twentyeleven_block_editor_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' );
@ -319,7 +319,7 @@ if ( ! function_exists( 'twentyeleven_header_style' ) ) :
$text_color = get_header_textcolor();
// If no custom options for text are set, let's bail.
if ( $text_color == HEADER_TEXTCOLOR ) {
if ( HEADER_TEXTCOLOR == $text_color ) {
return;
}
@ -337,7 +337,7 @@ if ( ! function_exists( 'twentyeleven_header_style' ) ) :
clip: rect(1px, 1px, 1px, 1px);
}
<?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 :
?>
#site-title a,
@ -348,7 +348,7 @@ if ( ! function_exists( 'twentyeleven_header_style' ) ) :
</style>
<?php
}
endif; // twentyeleven_header_style
endif; // twentyeleven_header_style()
if ( ! function_exists( 'twentyeleven_admin_header_style' ) ) :
/**
@ -382,7 +382,7 @@ if ( ! function_exists( 'twentyeleven_admin_header_style' ) ) :
padding: 0 0 3em;
}
<?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 ) :
?>
#site-title a,
@ -398,7 +398,7 @@ if ( ! function_exists( 'twentyeleven_admin_header_style' ) ) :
</style>
<?php
}
endif; // twentyeleven_admin_header_style
endif; // twentyeleven_admin_header_style()
if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) :
/**
@ -416,7 +416,7 @@ if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) :
$color = get_header_textcolor();
$image = get_header_image();
$style = 'display: none;';
if ( $color && $color != 'blank' ) {
if ( $color && 'blank' !== $color ) {
$style = 'color: #' . $color . ';';
}
?>
@ -428,7 +428,7 @@ if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) :
</div>
<?php
}
endif; // twentyeleven_admin_header_image
endif; // twentyeleven_admin_header_image()
/**
* Set the post excerpt length to 40 words.
@ -458,7 +458,7 @@ if ( ! function_exists( '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>';
}
endif; // twentyeleven_continue_reading_link
endif; // twentyeleven_continue_reading_link()
/**
* Replace "[...]" in the Read More link with an ellipsis.
@ -609,7 +609,7 @@ if ( ! function_exists( 'twentyeleven_content_nav' ) ) :
<?php
endif;
}
endif; // twentyeleven_content_nav
endif; // twentyeleven_content_nav()
/**
* 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 );
/* translators: 1: comment author, 2: date and time */
printf(
/* translators: 1: Comment author, 2: Date and time. */
__( '%1$s on %2$s <span class="says">said:</span>', 'twentyeleven' ),
sprintf( '<span class="fn">%s</span>', get_comment_author_link() ),
sprintf(
'<a href="%1$s"><time datetime="%2$s">%3$s</time></a>',
esc_url( get_comment_link( $comment->comment_ID ) ),
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() )
)
);
@ -743,8 +743,17 @@ if ( ! function_exists( 'twentyeleven_comment' ) ) :
<?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .comment-author .vcard -->
<?php if ( $comment->comment_approved == '0' ) : ?>
<em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentyeleven' ); ?></em>
<?php
$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 />
<?php endif; ?>
@ -772,7 +781,7 @@ if ( ! function_exists( 'twentyeleven_comment' ) ) :
break;
endswitch;
}
endif; // ends check for twentyeleven_comment()
endif; // twentyeleven_comment()
if ( ! function_exists( 'twentyeleven_posted_on' ) ) :
/**
@ -784,12 +793,14 @@ if ( ! function_exists( 'twentyeleven_posted_on' ) ) :
*/
function twentyeleven_posted_on() {
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' ),
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
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() ) ),
get_the_author()
);
@ -888,7 +899,7 @@ if ( ! function_exists( 'wp_body_open' ) ) :
/**
* 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
*/
@ -901,3 +912,16 @@ if ( ! function_exists( 'wp_body_open' ) ) :
do_action( 'wp_body_open' );
}
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:
if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
/* translators: %s: Page number. */
echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ) );
}
?>
</title>
<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' ) ); ?>">
<!--[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]-->
<?php
/*
@ -82,7 +83,7 @@ if ( is_singular() && get_option( 'thread_comments' ) ) {
</hgroup>
<?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();
if ( $header_image ) :
// Compatibility with versions of WordPress prior to 3.4.
@ -102,12 +103,13 @@ if ( is_singular() && get_option( 'thread_comments' ) ) {
* The header image.
* 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 ) &&
( /* $src, $width, $height */ $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 ( is_singular() && has_post_thumbnail( $post->ID ) ) {
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( $header_image_width, $header_image_width ) );
if ( $image && $image[1] >= $header_image_width ) {
// Houston, we have a new header image!
echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
else :
}
} else {
// Compatibility with versions of WordPress prior to 3.4.
if ( function_exists( 'get_custom_header' ) ) {
$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' ) ); ?>" />
<?php endif; // end check for featured image or standard header ?>
<?php
} // End check for featured image or standard header.
?>
</a>
<?php endif; // end check for removed header image ?>
<?php endif; // End check for removed header image. ?>
<?php
// Has the text been hidden?
@ -141,13 +145,14 @@ if ( is_singular() && get_option( 'thread_comments' ) ) {
<nav id="access" role="navigation">
<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. */ ?>
<div class="skip-link"><a class="assistive-text" href="#content"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div>
<?php if ( ! is_singular() ) : ?>
<div class="skip-link"><a class="assistive-text" href="#secondary"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div>
<?php endif; ?>
<?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' ) ); ?>
<?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.
*/
wp_nav_menu( array( 'theme_location' => 'primary' ) );
?>
</nav><!-- #access -->
</header><!-- #branding -->

View File

@ -31,6 +31,7 @@ get_header(); ?>
<?php
$metadata = wp_get_attachment_metadata();
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' ),
esc_attr( get_the_time() ),
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 ) {
$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 );
} 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 );
}
} 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();
}
?>
@ -98,7 +100,8 @@ get_header(); ?>
* @param int The height and width attachment size dimensions in pixels. Default 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>
@ -129,7 +132,7 @@ get_header(); ?>
<?php comments_template(); ?>
<?php endwhile; // end of the loop. ?>
<?php endwhile; // End of the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->

View File

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

View File

@ -17,8 +17,8 @@
* @param string $hook_suffix An admin page's 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_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.js', array( 'farbtastic' ), '2011-06-10' );
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' ), '20110610' );
wp_enqueue_style( 'farbtastic' );
}
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() {
register_setting(
'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_validate' // The sanitization callback, see twentyeleven_theme_options_validate()
'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_validate' // The sanitization callback, see twentyeleven_theme_options_validate().
);
// Register our settings field group
// Register our settings field group.
add_settings_section(
'general', // Unique identifier for the settings section
'', // Section title (we don't want one)
'__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()
'general', // Unique identifier for the settings section.
'', // Section title (we don't want one).
'__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().
);
// Register our individual settings fields
// Register our individual settings fields.
add_settings_field(
'color_scheme', // Unique identifier for the field for this section
__( 'Color Scheme', 'twentyeleven' ), // Setting field label
'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()
'general' // Settings section. Same as the first argument in the add_settings_section() above
'color_scheme', // Unique identifier for the field for this section.
__( 'Color Scheme', 'twentyeleven' ), // Setting field label.
'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().
'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' );
@ -92,18 +92,18 @@ add_filter( 'option_page_capability_twentyeleven_options', 'twentyeleven_option_
*/
function twentyeleven_theme_options_add_page() {
$theme_page = add_theme_page(
__( 'Theme Options', 'twentyeleven' ), // Name of page
__( 'Theme Options', 'twentyeleven' ), // Label in menu
'edit_theme_options', // Capability required
'theme_options', // Menu slug, used to uniquely identify the page
'twentyeleven_theme_options_render_page' // Function that renders the options page
__( 'Theme Options', 'twentyeleven' ), // Name of page.
__( 'Theme Options', 'twentyeleven' ), // Label in menu.
'edit_theme_options', // Capability required.
'theme_options', // Menu slug, used to uniquely identify the page.
'twentyeleven_theme_options_render_page' // Function that renders the options page.
);
if ( ! $theme_page ) {
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' );
@ -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>';
$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>';
$screen = get_current_screen();
if ( method_exists( $screen, 'add_help_tab' ) ) {
// WordPress 3.3.0
// WordPress 3.3.0.
$screen->add_help_tab(
array(
'title' => __( 'Overview', 'twentyeleven' ),
@ -135,7 +135,7 @@ function twentyeleven_theme_options_help() {
$screen->set_help_sidebar( $sidebar );
} else {
// WordPress 3.2.0
// WordPress 3.2.0.
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' ); ?>" />
<div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>
<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
}
@ -338,7 +343,12 @@ function twentyeleven_theme_options_render_page() {
<div class="wrap">
<?php screen_icon(); ?>
<?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(); ?>
<form method="post" action="options.php">
@ -365,22 +375,24 @@ function twentyeleven_theme_options_render_page() {
* @param array $input An array of form 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() ) ) {
$output['color_scheme'] = $input['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'] ) ) {
$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() ) ) {
$output['theme_layout'] = $input['theme_layout'];
}
@ -407,7 +419,7 @@ function twentyeleven_enqueue_color_scheme() {
$color_scheme = $options['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(
'twentyeleven_theme_options[link_color]',
array(
@ -593,7 +605,7 @@ function twentyeleven_customize_register( $wp_customize ) {
)
);
// Default Layout
// Default Layout.
$wp_customize->add_section(
'twentyeleven_layout',
array(

View File

@ -4,7 +4,7 @@
*
* 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
* @subpackage Twenty_Eleven
@ -38,6 +38,7 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget {
* PHP4 constructor.
*
* @since Twenty Eleven 1.0
* @deprecated Twenty Eleven 2.2
*/
function Twenty_Eleven_Ephemera_Widget() {
self::__construct();
@ -76,7 +77,8 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget {
$instance['number'] = '10';
}
if ( ! $args['number'] = absint( $instance['number'] ) ) {
$args['number'] = absint( $instance['number'] );
if ( ! $args['number'] ) {
$args['number'] = 10;
}
@ -135,10 +137,10 @@ class Twenty_Eleven_Ephemera_Widget extends WP_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();
// end check for ephemeral posts
// End check for ephemeral posts.
endif;
$cache[ $args['widget_id'] ] = ob_get_flush();

View File

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

View File

@ -485,7 +485,7 @@ msgid "For more information:"
msgstr ""
#: 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 ""
#: inc/theme-options.php:122

View File

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

View File

@ -1,9 +1,8 @@
=== Twenty Eleven ===
Contributors: wordpressdotorg
Requires at least: WordPress 3.2
Tested up to: WordPress 5.0
Requires PHP: 5.2.4
Stable tag: 3.3
Tested up to: 5.0
Stable tag: 3.4
License: GPLv2 or later
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
@ -23,7 +22,7 @@ For more information about Twenty Eleven please go to https://codex.wordpress.or
== 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
This program is free software: you can redistribute it and/or modify
@ -44,6 +43,11 @@ Source: https://github.com/aFarkas/html5shiv
== Changelog ==
= 3.4 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.4
= 3.3 =
* Released: May 7, 2019

View File

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

View File

@ -15,13 +15,18 @@ get_header(); ?>
<?php if ( have_posts() ) : ?>
<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>
<?php twentyeleven_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php
// Start the Loop.
while ( have_posts() ) :
the_post();
?>

View File

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

View File

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

View File

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

View File

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

View File

@ -4,7 +4,8 @@ Theme URI: https://wordpress.org/themes/twentyeleven/
Author: the WordPress team
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.
Version: 3.3
Version: 3.4
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
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
@ -502,24 +503,30 @@ a:hover {
height: 1px;
width: 1px;
}
#access a.assistive-text:focus,
a.assistive-text:focus,
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
background: #eee;
border-bottom: 1px solid #ddd;
color: #1982d1;
background-color: #f1f1f1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
font-size: 12px;
clip-path: none;
color: #21759b;
display: block;
font-size: 14px;
font-weight: bold;
height: auto;
position: absolute;
text-decoration: underline;
top: 0;
left: 7.6%;
left: 6px;
line-height: normal;
padding: 17px 22px 15px;
text-decoration: none;
top: 7px;
width: auto;
z-index: 100000;
/* Above WP toolbar. */
}
/* =Header
----------------------------------------------- */
@ -1949,6 +1956,18 @@ section.ephemera .entry-title a span {
border-top: 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 */
.widget_text ul,

View File

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

View File

@ -31,14 +31,14 @@ get_header(); ?>
</header><!-- .page-header -->
<?php
// Start the Loop.
// Start the loop.
while ( have_posts() ) :
the_post();
/*
* Include the Post-Format-specific template for the content.
* 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.
* Include the post format-specific template for the content. If you want
* 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.
*/
get_template_part( 'content', get_post_format() );

View File

@ -31,7 +31,10 @@
<p class="author-bio">
<?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">
<?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>
</p><!-- .author-bio -->

View File

@ -27,11 +27,11 @@ if ( post_password_required() ) {
<?php
$comments_number = get_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() );
} else {
printf(
/* translators: 1: number of comments, 2: post title */
/* translators: 1: Number of comments, 2: Post title. */
_nx(
'%1$s thought on &ldquo;%2$s&rdquo;',
'%1$s thoughts on &ldquo;%2$s&rdquo;',

View File

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

View File

@ -19,7 +19,12 @@
<?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() ) : ?>

View File

@ -28,9 +28,9 @@
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
the_content(
sprintf(
/* translators: %s: Post title. */
__( 'Continue reading %s', 'twentyfifteen' ),
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">
<?php printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?>
<?php
/* translators: %s: WordPress */
printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' );
?>
</a>
</div><!-- .site-info -->
</footer><!-- .site-footer -->

View File

@ -11,14 +11,14 @@
* 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.
*
* @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/
*
* Functions that are not pluggable (not wrapped in function_exists()) are
* instead attached to a filter or action hook.
*
* For more information on hooks, actions, and filters,
* {@link https://codex.wordpress.org/Plugin_API}
* {@link https://developer.wordpress.org/plugins/}
*
* @package WordPress
* @subpackage Twenty_Fifteen
@ -100,13 +100,15 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) :
'comment-list',
'gallery',
'caption',
'script',
'style',
)
);
/*
* Enable support for Post Formats.
*
* See: https://codex.wordpress.org/Post_Formats
* See: https://wordpress.org/support/article/post-formats/
*/
add_theme_support(
'post-formats',
@ -250,7 +252,7 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) :
// Indicate widget sidebars can use selective refresh in the Customizer.
add_theme_support( 'customize-selective-refresh-widgets' );
}
endif; // twentyfifteen_setup
endif; // 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
*
* @link https://codex.wordpress.org/Function_Reference/register_sidebar
* @link https://developer.wordpress.org/reference/functions/register_sidebar/
*/
function twentyfifteen_widgets_init() {
register_sidebar(
@ -289,7 +291,7 @@ if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) :
$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.
*/
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.
*/
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.
*/
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.
*/
$subset = _x( 'no-subset', 'Add new subset (greek, cyrillic, devanagari, vietnamese)', 'twentyfifteen' );
@ -333,6 +335,7 @@ if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) :
array(
'family' => urlencode( implode( '|', $fonts ) ),
'subset' => urlencode( $subsets ),
'display' => urlencode( 'fallback' ),
),
'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' );
// 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.
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.
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' );
// 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_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' ) ) {
wp_enqueue_script( 'comment-reply' );
}
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(
'twentyfifteen-script',
'screenReaderText',
@ -409,7 +412,7 @@ add_action( 'wp_enqueue_scripts', 'twentyfifteen_scripts' );
*/
function twentyfifteen_block_editor_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.
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' );
/**
* 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.

View File

@ -16,7 +16,7 @@
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
<!--[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]-->
<?php wp_head(); ?>
</head>

View File

@ -77,7 +77,7 @@ get_header(); ?>
</article><!-- #post-<?php the_ID(); ?> -->
<?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() ) :
comments_template();
endif;

View File

@ -34,6 +34,7 @@ add_action( 'after_switch_theme', 'twentyfifteen_switch_theme' );
* @since Twenty Fifteen 1.0
*/
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'] );
printf( '<div class="error"><p>%s</p></div>', $message );
}
@ -45,6 +46,7 @@ function twentyfifteen_upgrade_notice() {
*/
function twentyfifteen_customize() {
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'] ),
'',
array(
@ -61,6 +63,7 @@ add_action( 'load-customize.php', 'twentyfifteen_customize' );
*/
function twentyfifteen_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'] ) );
}
}

View File

@ -193,7 +193,7 @@ if ( ! function_exists( 'twentyfifteen_header_style' ) ) :
</style>
<?php
}
endif; // twentyfifteen_header_style
endif; // twentyfifteen_header_style()
/**
* 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'];
}
endif; // twentyfifteen_get_color_scheme
endif; // twentyfifteen_get_color_scheme()
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;
}
endif; // twentyfifteen_get_color_scheme_choices
endif; // twentyfifteen_get_color_scheme_choices()
if ( ! function_exists( 'twentyfifteen_sanitize_color_scheme' ) ) :
/**
@ -306,7 +306,7 @@ if ( ! function_exists( 'twentyfifteen_sanitize_color_scheme' ) ) :
return $value;
}
endif; // twentyfifteen_sanitize_color_scheme
endif; // twentyfifteen_sanitize_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>
<div class="nav-links">
<?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 );
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 );
endif;
}
?>
</div><!-- .nav-links -->
</nav><!-- .comment-navigation -->
@ -126,7 +128,7 @@ if ( ! function_exists( 'twentyfifteen_entry_meta' ) ) :
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
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() ) );
echo '</span>';
}
@ -141,7 +143,8 @@ endif;
* @return bool True of there is more than one category, false otherwise.
*/
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.
$all_the_cool_cats = get_categories(
array(
@ -160,10 +163,10 @@ function twentyfifteen_categorized_blog() {
}
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;
} 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;
}
}
@ -210,7 +213,7 @@ if ( ! function_exists( 'twentyfifteen_post_thumbnail' ) ) :
</a>
<?php
endif; // End is_singular()
endif; // End is_singular().
}
endif;
@ -245,7 +248,7 @@ if ( ! function_exists( 'twentyfifteen_excerpt_more' ) && ! is_admin() ) :
$link = sprintf(
'<a href="%1$s" class="more-link">%2$s</a>',
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>' )
);
return ' &hellip; ' . $link;
@ -272,7 +275,7 @@ if ( ! function_exists( 'wp_body_open' ) ) :
/**
* 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
*/

View File

@ -33,9 +33,9 @@ get_header(); ?>
the_post();
/*
* Include the Post-Format-specific template for the content.
* 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.
* Include the post format-specific template for the content. If you want
* 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.
*/
get_template_part( 'content', get_post_format() );

View File

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

View File

@ -1,9 +1,8 @@
=== Twenty Fifteen ===
Contributors: wordpressdotorg
Requires at least: WordPress 4.1
Tested up to: WordPress 5.0
Requires PHP: 5.2.4
Version: 2.5
Tested up to: 5.0
Version: 2.6
License: GPLv2 or later
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
@ -19,19 +18,19 @@ Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty
* Post Formats
* 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 ==
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.
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.
== 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
This program is free software: you can redistribute it and/or modify
@ -56,6 +55,11 @@ Source: http://www.genericons.com
== Changelog ==
= 2.6 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_2.6
= 2.5 =
* Released: May 7, 2019

View File

@ -15,7 +15,12 @@ get_header(); ?>
<?php if ( have_posts() ) : ?>
<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 -->
<?php

View File

@ -18,8 +18,8 @@ get_header(); ?>
the_post();
/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called content-___.php
* Include the post format-specific template for the content. If you want
* 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.
*/
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 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.
Version: 2.5
Version: 2.6
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
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
@ -1405,8 +1406,23 @@ img.aligncenter {
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 th {
.widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 2.3333;
text-align: center;
padding: 0;
@ -3255,7 +3271,8 @@ p > video {
}
.widget_calendar td,
.widget_calendar th {
.widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 2.9286;
}
@ -3263,6 +3280,14 @@ p > video {
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_categories li,
.widget_links li,
@ -3834,7 +3859,8 @@ p > video {
}
.widget_calendar td,
.widget_calendar th {
.widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 2.9375;
}
@ -4481,7 +4507,8 @@ p > video {
}
.widget_calendar td,
.widget_calendar th {
.widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 1.9167;
}
@ -5090,7 +5117,8 @@ p > video {
}
.widget_calendar td,
.widget_calendar th {
.widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 1.9286;
}
@ -5638,7 +5666,8 @@ p > video {
}
.widget_calendar td,
.widget_calendar th {
.widget_calendar th,
.widget_calendar .wp-calendar-nav span {
line-height: 1.9375;
}

View File

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

View File

@ -6,13 +6,13 @@
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
* @since Twenty Nineteen 1.0
*/
get_header();
?>
<section id="primary" class="content-area">
<div id="primary" class="content-area">
<main id="main" class="site-main">
<?php if ( have_posts() ) : ?>
@ -31,7 +31,8 @@ get_header();
/*
* Include the Post-Format-specific template for the content.
* 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' );
@ -48,7 +49,7 @@ get_header();
endif;
?>
</main><!-- #main -->
</section><!-- #primary -->
</div><!-- #primary -->
<?php
get_footer();

View File

@ -4,20 +4,20 @@
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
* @since Twenty Nineteen 1.0
*/
/**
* This class is in charge of displaying SVG icons across the site.
*
* 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.
*
* All icons are assumed to have equal width and height, hence the option
* to only specify a `$size` parameter in the svg methods.
*
* @since 1.0.0
* @since Twenty Nineteen 1.0
*/
class TwentyNineteen_SVG_Icons {
@ -155,13 +155,13 @@ class TwentyNineteen_SVG_Icons {
</svg>',
'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 fill="none" d="M24 0v24H0V0h24z"></path>
</svg>',
'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">
<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"/>

View File

@ -4,13 +4,13 @@
*
* @package WordPress
* @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.
*
* @since 1.0.0
* @since Twenty Nineteen 1.0
*/
class TwentyNineteen_Walker_Comment extends Walker_Comment {
@ -44,13 +44,6 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
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
@ -61,8 +54,8 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
}
printf(
/* translators: %s: comment author link */
wp_kses(
/* translators: %s: Comment author link. */
__( '%s <span class="screen-reader-text says">says:</span>', 'twentynineteen' ),
array(
'span' => array(
@ -82,7 +75,7 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
<div class="comment-metadata">
<a href="<?php echo esc_url( get_comment_link( $comment, $args ) ); ?>">
<?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() );
?>
<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 -->
<?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 ) : ?>
<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; ?>
</footer><!-- .comment-meta -->
<div class="comment-content">

View File

@ -9,7 +9,7 @@
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
* @since Twenty Nineteen 1.0
*/
/*
@ -36,11 +36,11 @@ $discussion = twentynineteen_get_discussion_data();
}
} else {
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() );
} else {
printf(
/* translators: 1: number of comments, 2: post title */
/* translators: 1: Number of comments, 2: Post title. */
_nx(
'%1$s reply 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 -->
<?php
// Show comment navigation
// Show comment navigation.
if ( have_comments() ) :
$prev_icon = twentynineteen_get_icon_svg( 'chevron_left', 22 );
$next_icon = twentynineteen_get_icon_svg( 'chevron_right', 22 );

View File

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

View File

@ -6,7 +6,7 @@
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
* @since Twenty Nineteen 1.0
*/
/**
@ -74,6 +74,8 @@ if ( ! function_exists( 'twentynineteen_setup' ) ) :
'comment-list',
'gallery',
'caption',
'script',
'style',
)
);
@ -143,12 +145,12 @@ if ( ! function_exists( 'twentynineteen_setup' ) ) :
'editor-color-palette',
array(
array(
'name' => __( 'Primary', 'twentynineteen' ),
'name' => 'default' === get_theme_mod( 'primary_color' ) ? __( 'Blue', 'twentynineteen' ) : null,
'slug' => 'primary',
'color' => twentynineteen_hsl_hex( 'default' === get_theme_mod( 'primary_color' ) ? 199 : get_theme_mod( 'primary_color_hue', 199 ), 100, 33 ),
),
array(
'name' => __( 'Secondary', 'twentynineteen' ),
'name' => 'default' === get_theme_mod( 'primary_color' ) ? __( 'Dark Blue', 'twentynineteen' ) : null,
'slug' => 'secondary',
'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' );
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-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.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(), '20181231', true );
}
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';
/**
* 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.
*/
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.
*/

View File

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

View File

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

View File

@ -36,6 +36,7 @@ add_action( 'after_switch_theme', 'twentynineteen_switch_theme' );
* @global string $wp_version WordPress version.
*/
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'] );
printf( '<div class="error"><p>%s</p></div>', $message );
}
@ -50,6 +51,7 @@ function twentynineteen_upgrade_notice() {
function twentynineteen_customize() {
wp_die(
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' ),
$GLOBALS['wp_version']
),
@ -70,6 +72,7 @@ add_action( 'load-customize.php', 'twentynineteen_customize' );
*/
function twentynineteen_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'] ) );
}
}

View File

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

View File

@ -4,7 +4,7 @@
*
* @package WordPress
* @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.
*/
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' );
@ -133,7 +133,7 @@ add_action( 'customize_preview_init', 'twentynineteen_customize_preview_js' );
* Load dynamic logic for the customizer controls area.
*/
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' );

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
* @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;
}
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
* @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>';
} elseif ( is_tax() ) {
$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 );
} else {
$title = __( 'Archives:', 'twentynineteen' );
@ -95,20 +95,6 @@ function 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.
*
@ -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 );
/**
* 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
*
@ -202,24 +128,25 @@ function twentynineteen_add_ellipses_to_nav( $nav_menu, $args ) {
if ( 'menu-1' === $args->theme_location ) :
$nav_menu .= '<div class="main-menu-more">';
$nav_menu .= '<ul class="main-menu">';
$nav_menu .= '<li class="menu-item menu-item-has-children">';
$nav_menu .= '<button class="submenu-expand main-menu-more-toggle is-empty" tabindex="-1" aria-label="More" aria-haspopup="true" aria-expanded="false">';
$nav_menu .= '<span class="screen-reader-text">' . esc_html__( 'More', 'twentynineteen' ) . '</span>';
$nav_menu .= twentynineteen_get_icon_svg( 'arrow_drop_down_ellipsis' );
$nav_menu .= '</button>';
$nav_menu .= '<ul class="sub-menu hidden-links">';
$nav_menu .= '<li id="menu-item--1" class="mobile-parent-nav-menu-item menu-item--1">';
$nav_menu .= '<button class="menu-item-link-return">';
$nav_menu .= twentynineteen_get_icon_svg( 'chevron_left' );
$nav_menu .= esc_html__( 'Back', 'twentynineteen' );
$nav_menu .= '</button>';
$nav_menu .= '</li>';
$nav_menu .= '</ul>';
$nav_menu .= '</li>';
$nav_menu .= '</ul>';
$nav_menu .= '</div>';
$nav_menu .= '
<div class="main-menu-more">
<ul class="main-menu">
<li class="menu-item menu-item-has-children">
<button class="submenu-expand main-menu-more-toggle is-empty" tabindex="-1"
aria-label="' . esc_attr__( 'More', 'twentynineteen' ) . '" aria-haspopup="true" aria-expanded="false">' .
twentynineteen_get_icon_svg( 'arrow_drop_down_ellipsis' ) . '
</button>
<ul class="sub-menu hidden-links">
<li class="mobile-parent-nav-menu-item">
<button class="menu-item-link-return">' .
twentynineteen_get_icon_svg( 'chevron_left' ) .
esc_html__( 'Back', 'twentynineteen' ) . '
</button>
</li>
</ul>
</li>
</ul>
</div>';
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 ) {
// 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 );
if ( $item_has_children ) {
$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 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.
*
@ -338,84 +209,3 @@ function twentynineteen_add_mobile_parent_nav_menu_items( $sorted_menu_items, $a
return $amended_menu_items;
}
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
* @subpackage Twenty_Nineteen
* @since 1.0.0
* @since Twenty Nineteen 1.0
*/
if ( ! function_exists( 'twentynineteen_posted_on' ) ) :
@ -40,7 +40,7 @@ if ( ! function_exists( 'twentynineteen_posted_by' ) ) :
*/
function twentynineteen_posted_by() {
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>',
twentynineteen_get_icon_svg( 'person', 16 ),
__( 'Posted by', 'twentynineteen' ),
@ -59,7 +59,7 @@ if ( ! function_exists( 'twentynineteen_comment_count' ) ) :
echo '<span class="comments-link">';
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() ) );
echo '</span>';
@ -76,17 +76,17 @@ if ( ! function_exists( 'twentynineteen_entry_footer' ) ) :
// Hide author, post date, category and tag text for pages.
if ( 'post' === get_post_type() ) {
// Posted by
// Posted by.
twentynineteen_posted_by();
// Posted on
// 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' ) );
if ( $categories_list ) {
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>',
twentynineteen_get_icon_svg( 'archive', 16 ),
__( 'Posted in', 'twentynineteen' ),
@ -94,11 +94,11 @@ if ( ! function_exists( 'twentynineteen_entry_footer' ) ) :
); // 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' ) );
if ( $tags_list ) {
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>',
twentynineteen_get_icon_svg( 'tag', 16 ),
__( 'Tags:', 'twentynineteen' ),
@ -116,7 +116,7 @@ if ( ! function_exists( 'twentynineteen_entry_footer' ) ) :
edit_post_link(
sprintf(
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' ),
array(
'span' => array(
@ -166,7 +166,7 @@ if ( ! function_exists( 'twentynineteen_post_thumbnail' ) ) :
}
endif;
if ( ! function_exists( 'twentynineteen_comment_avatar' ) ) :
if ( ! function_exists( 'twentynineteen_get_user_avatar_markup' ) ) :
/**
* 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.
*
* 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
*/

View File

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

View File

@ -1,5 +1,5 @@
/**
* File customizer.js.
* File customize-controls.js.
*
* 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.
*
@ -18,10 +18,10 @@
color;
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;
} 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;
}

View File

@ -1,7 +1,7 @@
(function() {
/**
* Debounce
* Debounce.
*
* @param {Function} func
* @param {number} wait
@ -56,7 +56,7 @@
* @param {Element} 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', '');
}
@ -66,7 +66,7 @@
* @param {Element} element
*/
function hideButton(element) {
// classList.add is not supported in IE11
// classList.add is not supported in IE11.
if (!element.classList.contains('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 breaks = [];
/**
* Lets bail if we our menu doesn't exist
* Lets bail if we our menu doesn't exist.
*/
if ( ! navContainer ) {
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 ) {
/**
* Lets bail if our menu is empty
* Lets bail if our menu is empty.
*/
if ( ! container.parentNode.querySelector('.main-menu[id]') ) {
return;
@ -122,42 +122,42 @@
if ( isOverflowingNavivation( visibleList, toggleButton, container ) ) {
// Record the width of the list
// Record the width of the list.
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 );
// Show the toggle button
// Show the toggle button.
showButton( toggleButton );
} 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] ) {
// Move the item to the visible list
// Move the item to the visible list.
visibleList.appendChild( hiddenList.firstChild.nextSibling );
breaks.pop();
}
// Hide the dropdown btn if hidden list is empty
// Hide the dropdown btn if hidden list is empty.
if (breaks.length < 2) {
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 ) ) {
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() {
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 = (
'undefined' !== typeof wp &&
wp.customize &&
@ -166,7 +166,7 @@
);
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 ) {
var isNewNavMenu = (
@ -184,14 +184,14 @@
});
/**
* Run our priority+ function on load
* Run our priority+ function on load.
*/
window.addEventListener( 'load', function() {
updateNavigationMenu( navContainer );
});
/**
* Run our priority+ function every time the window resizes
* Run our priority+ function every time the window resizes.
*/
var isResizing = false;
window.addEventListener( 'resize',
@ -209,7 +209,7 @@
);
/**
* Run our priority+ function
* Run our priority+ function.
*/
updateNavigationMenu( navContainer );

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