Translations, style updates

This commit is contained in:
nikolark committed 2016-01-05 22:29:06 +01:00
1 parent 5390a937df
commit 8fcae0ddba
15 files changed
+807 -274

No files matched your search

+10 -2
View File
@@ -1,9 +1,17 @@
# Installation
cd wp
cp wp-config-sample.php wp-config.php
# Adjust database settings
vim wp-config.php # Update database settings
git submodule update --init
# Translations
# Download wordpress i18n tools, see https://codex.wordpress.org/I18n_for_WordPress_Developers#Using_the_i18n_tools
# Create a symlink from wp-content to TOOLS_DIR/src
ln -s $REPO_ROOT/wp/ src
# Create .pot-file
php tools/i18n/makepot.php wp-theme src/wp-content/themes/differ2015/ src/wp-content/themes/differ2015/languages/differ2015.pot
# Open .pot-file with POEdit and start translating
## Se also
## See also
https://edb.neuf.no/wiki/Studentersamfundet.no-web#Quick_start
+1 -1
View File
@@ -3,7 +3,7 @@
<div id="content">
<div class="container">
<article <?php neuf_post_class(); ?>>
<article class="four-o-four">
<h1 class="entry-title">404: Denne siden er på grisefest</h1>
<div class="entry-content">
<p>Lykke til videre.</p>
@@ -47,7 +47,7 @@
article {
position: relative;
@include card;
padding-top: 0;
padding: 0;
border: 4px solid $primary-color;
}
@media #{$medium-up} {
@@ -55,11 +55,13 @@
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: white;
color: #222;
padding: 10px;
}
.entry-image {
margin-bottom: -5px;
}
}
.entry-title {
font-size: rem-calc(20);
@@ -69,11 +71,8 @@
font-size: rem-calc(30);
}
}
.event-types, .event-datetime {
&:after {
padding-left: 4px;
content: '//';
}
.event--meta--type {
font-size: rem-calc(16);
}
@media #{$medium-up} {
.event-price {
@@ -96,6 +96,9 @@ article.page,
.event--meta--type {
margin-left: rem-calc(16);
}
.event--meta--price {
margin-top: 10px;
}
}
&--sidebar {
@include grid-column($columns: 12);
@@ -115,86 +118,87 @@ article.page,
padding-bottom: 0;
}
}
&--meta {
padding: rem-calc(16);
&--type {
@include label;
a {
color: white;
&:link { color: white; }
&:hover { color: rgba(white, 0.5); }
}
}
&--start {
display: inline-block;
text-align: center;
@include card-z1();
padding: 9px 8px 8px 8px;
&--weekday,
&--month {
font-weight: 200;
font-family: $header-font-family;
font-size: rem-calc(14);
}
&--day {
font-size: rem-calc(34);
}
}
&--start--time {
@include card-z1;
display: inline-block;
padding: 7px 8px 4px 8px;
text-align: center;
margin-left: 4px;
.time-inner {
font-size: rem-calc(28);
}
.time-at {
font-weight: 200;
font-family: $header-font-family;
font-size: rem-calc(14);
}
}
&--price {
@include outlined;
}
&--facebook {
display: inline-block;
margin-left: 4px;
vertical-align: bottom;
svg {
width: 30px;
height: 30px;
}
path {
fill: #3b5998;
}
}
&--venue {
margin-left: 4px;
svg {
width: 16px;
height: 16px;
}
}
&--ticket {
@include button(rem-calc(8));
margin-left: 4px;
@media #{$small-only} {
display: block;
margin: 10px 0;
padding: 16px;
}
}
.event--meta {
padding: rem-calc(16);
&--type {
@include label();
a {
color: white;
&:link {
color: white;
}
margin-bottom: 0;
&:link { color: white; }
&:hover { color: rgba(white, 0.5); }
}
}
&--start {
@include card-z1();
display: inline-block;
text-align: center;
padding: 9px 12px 8px;
&--weekday,
&--month {
font-weight: 200;
font-family: $header-font-family;
font-size: rem-calc(14);
}
&--day {
font-size: rem-calc(34);
}
}
&--start--time {
@include card-z1;
display: inline-block;
padding: 7px 8px 4px 8px;
text-align: center;
margin-left: 4px;
.time-inner {
font-size: rem-calc(28);
}
.time-at {
font-weight: 200;
font-family: $header-font-family;
font-size: rem-calc(14);
}
}
&--price {
@include outlined;
display: inline-block;
}
&--facebook {
display: inline-block;
margin-left: 4px;
vertical-align: bottom;
svg {
width: 30px;
height: 30px;
}
path {
fill: #3b5998;
}
}
&--venue {
margin-left: 4px;
svg {
width: 14px;
height: 14px;
}
}
&--ticket {
@include button(rem-calc(8));
margin-left: 4px;
@media #{$small-only} {
display: block;
margin: 10px 0;
padding: 16px;
}
color: white;
&:link {
color: white;
}
margin-bottom: 0;
}
}
/* Pages: General styles */
.page--sidebar-wrap {
@@ -307,6 +311,12 @@ article.page,
@include block-grid($per-row: 2);
}
/* Page: 404 */
.four-o-four {
@include card;
padding: rem-calc(16);
}
/* Component: Program 6 days */
.program-6days {
@media #{$small-only} {
+1 -1
View File
@@ -1,2 +1,2 @@
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}dfn{font-style:italic}h1{font-size:2em}mark{background:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-size:1em}kbd,pre,samp{font-family:monospace,monospace}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"]{-webkit-appearance:button;cursor:pointer}input[type="submit"]{cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}meta.foundation-version{font-family:"/5.5.3/"}meta.foundation-mq-small{font-family:"/only screen/";width:0}meta.foundation-mq-small-only{font-family:"/only screen and (max-width: 40em)/";width:0}meta.foundation-mq-medium{font-family:"/only screen and (min-width:40.0625em)/";width:40.0625em}meta.foundation-mq-medium-only{font-family:"/only screen and (min-width:40.0625em) and (max-width:64em)/";width:40.0625em}meta.foundation-mq-large{font-family:"/only screen and (min-width:64.0625em)/";width:64.0625em}meta.foundation-mq-large-only{font-family:"/only screen and (min-width:64.0625em) and (max-width:90em)/";width:64.0625em}meta.foundation-mq-xlarge{font-family:"/only screen and (min-width:90.0625em)/";width:90.0625em}meta.foundation-mq-xlarge-only{font-family:"/only screen and (min-width:90.0625em) and (max-width:120em)/";width:90.0625em}meta.foundation-mq-xxlarge{font-family:"/only screen and (min-width:120.0625em)/";width:120.0625em}meta.foundation-data-attribute-namespace{font-family:false}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}.text-justify{text-align:justify!important}@media only screen and (max-width:40em){.small-only-text-left{text-align:left!important}.small-only-text-right{text-align:right!important}.small-only-text-center{text-align:center!important}.small-only-text-justify{text-align:justify!important}}@media only screen{.small-text-left{text-align:left!important}.small-text-right{text-align:right!important}.small-text-center{text-align:center!important}.small-text-justify{text-align:justify!important}}@media only screen and (min-width:40.0625em) and (max-width:64em){.medium-only-text-left{text-align:left!important}.medium-only-text-right{text-align:right!important}.medium-only-text-center{text-align:center!important}.medium-only-text-justify{text-align:justify!important}}@media only screen and (min-width:40.0625em){.medium-text-left{text-align:left!important}.medium-text-right{text-align:right!important}.medium-text-center{text-align:center!important}.medium-text-justify{text-align:justify!important}}@media only screen and (min-width:64.0625em) and (max-width:90em){.large-only-text-left{text-align:left!important}.large-only-text-right{text-align:right!important}.large-only-text-center{text-align:center!important}.large-only-text-justify{text-align:justify!important}}@media only screen and (min-width:64.0625em){.large-text-left{text-align:left!important}.large-text-right{text-align:right!important}.large-text-center{text-align:center!important}.large-text-justify{text-align:justify!important}}@media only screen and (min-width:90.0625em) and (max-width:120em){.xlarge-only-text-left{text-align:left!important}.xlarge-only-text-right{text-align:right!important}.xlarge-only-text-center{text-align:center!important}.xlarge-only-text-justify{text-align:justify!important}}@media only screen and (min-width:90.0625em){.xlarge-text-left{text-align:left!important}.xlarge-text-right{text-align:right!important}.xlarge-text-center{text-align:center!important}.xlarge-text-justify{text-align:justify!important}}@media only screen and (min-width:120.0625em) and (max-width:6249999.9375em){.xxlarge-only-text-left{text-align:left!important}.Line truncated
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}dfn{font-style:italic}h1{font-size:2em}mark{background:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-size:1em}kbd,pre,samp{font-family:monospace,monospace}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"]{-webkit-appearance:button;cursor:pointer}input[type="submit"]{cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}meta.foundation-version{font-family:"/5.5.3/"}meta.foundation-mq-small{font-family:"/only screen/";width:0}meta.foundation-mq-small-only{font-family:"/only screen and (max-width: 40em)/";width:0}meta.foundation-mq-medium{font-family:"/only screen and (min-width:40.0625em)/";width:40.0625em}meta.foundation-mq-medium-only{font-family:"/only screen and (min-width:40.0625em) and (max-width:64em)/";width:40.0625em}meta.foundation-mq-large{font-family:"/only screen and (min-width:64.0625em)/";width:64.0625em}meta.foundation-mq-large-only{font-family:"/only screen and (min-width:64.0625em) and (max-width:90em)/";width:64.0625em}meta.foundation-mq-xlarge{font-family:"/only screen and (min-width:90.0625em)/";width:90.0625em}meta.foundation-mq-xlarge-only{font-family:"/only screen and (min-width:90.0625em) and (max-width:120em)/";width:90.0625em}meta.foundation-mq-xxlarge{font-family:"/only screen and (min-width:120.0625em)/";width:120.0625em}meta.foundation-data-attribute-namespace{font-family:false}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}.text-justify{text-align:justify!important}@media only screen and (max-width:40em){.small-only-text-left{text-align:left!important}.small-only-text-right{text-align:right!important}.small-only-text-center{text-align:center!important}.small-only-text-justify{text-align:justify!important}}@media only screen{.small-text-left{text-align:left!important}.small-text-right{text-align:right!important}.small-text-center{text-align:center!important}.small-text-justify{text-align:justify!important}}@media only screen and (min-width:40.0625em) and (max-width:64em){.medium-only-text-left{text-align:left!important}.medium-only-text-right{text-align:right!important}.medium-only-text-center{text-align:center!important}.medium-only-text-justify{text-align:justify!important}}@media only screen and (min-width:40.0625em){.medium-text-left{text-align:left!important}.medium-text-right{text-align:right!important}.medium-text-center{text-align:center!important}.medium-text-justify{text-align:justify!important}}@media only screen and (min-width:64.0625em) and (max-width:90em){.large-only-text-left{text-align:left!important}.large-only-text-right{text-align:right!important}.large-only-text-center{text-align:center!important}.large-only-text-justify{text-align:justify!important}}@media only screen and (min-width:64.0625em){.large-text-left{text-align:left!important}.large-text-right{text-align:right!important}.large-text-center{text-align:center!important}.large-text-justify{text-align:justify!important}}@media only screen and (min-width:90.0625em) and (max-width:120em){.xlarge-only-text-left{text-align:left!important}.xlarge-only-text-right{text-align:right!important}.xlarge-only-text-center{text-align:center!important}.xlarge-only-text-justify{text-align:justify!important}}@media only screen and (min-width:90.0625em){.xlarge-text-left{text-align:left!important}.xlarge-text-right{text-align:right!important}.xlarge-text-center{text-align:center!important}.xlarge-text-justify{text-align:justify!important}}@media only screen and (min-width:120.0625em) and (max-width:6249999.9375em){.xxlarge-only-text-left{text-align:left!important}.Line truncated
+1 -1
View File
@@ -18,7 +18,7 @@ $datetime = date_i18n('Y-m-d\TH:i:s', $post->neuf_events_starttime);
<span class="event--meta--start--month"><?php echo $month; ?></span>
</span>
<span class="event--meta--start--time" title="<?php echo $datetime; ?>">
<span class="time-at"><?php _e('klokken'); ?></span><br>
<span class="time-at"><?php _e('at'); ?></span><br>
<span class="time-inner"><?php echo $time; ?></span>
</span>
<span class="event--meta--venue"><?php require(get_stylesheet_directory().'/dist/images/icons/location.svg'); ?><?php echo $post->neuf_events_venue; ?></span>
+1 -1
View File
@@ -1,6 +1,6 @@
<section class="front-page--articles hfeed">
<h2><a href="/nyheter/"><?php _e('News'); ?></a></h2>
<h2><a href="<?php echo home_url('/aktuelt/'); ?>"><?php _e('Articles', 'neuf'); ?></a></h2>
<?php
$fp_articles = new WP_Query( 'posts_per_page=4' );
if ( $fp_articles->have_posts() ) : while ( $fp_articles->have_posts() ) : $fp_articles->the_post(); ?>
+2 -2
View File
@@ -24,8 +24,8 @@
<div class="event-content">
<h3 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<span class="event--meta--type"><?php echo get_event_types($post); ?></span>
<span class="event-datetime"><?php echo ucfirst( date_i18n( 'l j. F' , $post->neuf_events_starttime ) ); ?></span>
<span class="event-price"><?php echo neuf_format_price($post); ?></span>
<span class="event--meta--datetime"><?php echo date_i18n( 'l j. F' , $post->neuf_events_starttime ); ?></span>
<span class="event--meta--price"><?php echo neuf_format_price($post); ?></span>
</div>
</article>
@@ -1,116 +0,0 @@
<?php
/**
* Fetch promoted events from today and onwards.
*
* Ref: http://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters
*/
$news = new WP_Query( 'type=post&posts_per_page=1' );
$querystr = "
SELECT $wpdb->posts.*
FROM $wpdb->posts
JOIN $wpdb->postmeta postmeta1 ON $wpdb->posts.ID = postmeta1.post_id
JOIN $wpdb->postmeta postmeta2 ON $wpdb->posts.ID = postmeta2.post_id
WHERE $wpdb->posts.post_type = 'event'
AND $wpdb->posts.post_status = 'publish'
AND postmeta1.meta_key = '_neuf_events_starttime'
AND postmeta1.meta_value > UNIX_TIMESTAMP( NOW() )
# Get promoted posts week, month or semester posts
AND (
(
postmeta2.meta_key = '_neuf_events_promo_period'
AND postmeta2.meta_value = '" . __( 'Week' , 'neuf_event' ) . "'
AND postmeta1.meta_value < UNIX_TIMESTAMP( NOW() ) + 7 * 86400
# Avoid NOW() to enable the MySQL cache. Set it in PHP?
)
OR (
postmeta2.meta_key = '_neuf_events_promo_period'
AND postmeta2.meta_value = '" . __( 'Month' , 'neuf_event' ) . "'
AND postmeta1.meta_value < UNIX_TIMESTAMP( NOW() ) + 31 * 86400
# Avoid NOW() to enable the MySQL cache.
)
OR (
postmeta2.meta_key = '_neuf_events_promo_period'
AND postmeta2.meta_value = '" . __( 'Semester' , 'neuf_event' ) . "'
AND postmeta1.meta_value < UNIX_TIMESTAMP( NOW() ) + 120 * 86400
# Avoid NOW() to enable the MySQL cache.
)
)
ORDER BY postmeta1.meta_value ASC
";
$sliderevents = $wpdb->get_results($querystr, OBJECT);
if( $sliderevents ):
global $post;
?>
<section id="featured" class="clearfix">
<a href="#" id="prevLink">Forrige</a>
<a href="#" id="nextLink">Neste</a>
<div id="slidernav"></div>
<div id="slider">
<?php while ($news->have_posts()) : $news->the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php neuf_post_class(); ?>>
<a class="permalink blocklink" href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
<header class="grid_6">
<?php
$tag_names = array();
$tags = get_the_tags();
if( is_array($tags)) {
foreach ( $tags as $tag ) {
$tag_names[] = $tag->name;
}
}
if ( $tag_names ) {
echo( '<span class="tags">' . implode( $tag_names , ', ') . '</span>' );
} ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php the_excerpt(); ?>
</header>
<div class="grid_6">
<?php the_post_thumbnail( 'six-column' ); ?>
</div>
</a>
</article> <!-- #post-<?php the_ID(); ?> -->
<?php endwhile; // $news->have_posts() ?>
<?php
$counter = 0;
foreach ( $sliderevents as $post ) : setup_postdata( $post ); ?>
<article id="post-<?php the_ID(); ?>" <?php neuf_post_class(); ?>>
<a class="permalink blocklink" href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
<header class="grid_6">
<?php
$event_array = get_the_terms( $post->ID , 'event_type' );
$post->event_types = array();
foreach ( $event_array as $event_type )
$post->event_types[] = $event_type->name;
$html = '<div class="type">' . implode( ', ' , $post->event_types ) . '</div>';
echo $html;
?>
<h1 class="entry-title<?php echo neuf_title_class(); ?>"><?php the_title(); ?></h1>
<div class="datetime"><?php echo ucfirst( date_i18n( 'l j. F' , $post->neuf_events_starttime ) ); ?></div>
<div class="price"><?php neuf_format_price($post); ?></div>
<div class="venue"><?php echo $post->neuf_events_venue; ?></div>
<?php the_excerpt(); ?>
</header>
<div class="grid_6">
<?php the_post_thumbnail( 'six-column' ); ?>
</div>
</a>
</article> <!-- #post-<?php the_ID(); ?> -->
<?php
$counter++;
endforeach; // $sliderevents as $post
?>
</div>
</section>
<?php endif; // $events->have_posts()
+4 -3
View File
@@ -19,9 +19,10 @@
<div class="entry-meta">
<h2 class="entry-title<?php echo neuf_title_class(); ?>"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php if( $feat_post->post_type == 'event'): ?>
<span class="event-types"><?php echo get_event_types($feat_post); ?></span>
<span class="event-datetime"><?php echo ucfirst( date_i18n( 'l j. F' , $feat_post->neuf_events_starttime ) ); ?></span>
<span class="event-venue"><?php echo $feat_post->neuf_events_venue; ?></span>
<span class="event--meta--type"><?php echo get_event_types($feat_post); ?></span>
<span class="event--meta--datetime"><?php echo date_i18n('l j. F' , $feat_post->neuf_events_starttime ); ?></span>
<span class="event--meta--venue"><?php require(get_stylesheet_directory().'/dist/images/icons/location.svg'); ?><?php echo $feat_post->neuf_events_venue; ?></span>
<span class="event--meta--price"><?php echo neuf_format_price($feat_post); ?></span>
<?php endif; ?>
</div>
<?php if( $feat_post->type == 'event'): ?><div class="event-price"><?php echo neuf_format_price($feat_post); ?></div><?php endif; ?>
+1 -1
View File
@@ -9,7 +9,7 @@
</div>
<div class="front-page--left">
<?php //get_template_part('fp-call-to-actions'); ?>
<!-- <section class="front-page--newsletter"><?php get_template_part('newsletter-signup-form'); ?></section>-->
<!-- <section class="front-page--newsletter"><?php //get_template_part('newsletter-signup-form'); ?></section>-->
<?php get_template_part('fp-articles'); ?>
</div>
</div>
+62 -63
View File
@@ -1,29 +1,34 @@
<?php
add_theme_support( 'menus' );
add_theme_support( 'post-thumbnails' );
add_theme_support( 'automatic-feed-links' );
add_theme_support('menus');
add_theme_support('post-thumbnails');
add_theme_support('automatic-feed-links');
$content_width = 870;
add_image_size( 'four-column', 393, 342, true );
add_image_size( 'six-column', 608, 342, true );
add_image_size( 'extra-large', 1600, 1600, false );
add_image_size( 'newsletter-half', 320, 190, true);
add_image_size( 'newsletter-third', 213, 126, true);
add_image_size( 'featured', 1200, 480, true);
add_image_size('four-column', 393, 342, true);
add_image_size('six-column', 608, 342, true);
add_image_size('extra-large', 1600, 1600, false);
add_image_size('newsletter-half', 320, 190, true);
add_image_size('newsletter-third', 213, 126, true);
add_image_size('featured', 1200, 480, true);
add_image_size('large', 1280, 720, true);
/**
* Register navigation menus.
*/
function neuf_register_nav_menus() {
register_nav_menus(array(
'main-menu' => __('Hovedmeny'),
'static-menu' => __('Toppmeny'),
'secondary-menu' => __('Sekundærmeny'),
'main-menu' => __('Main menu'),
'static-menu' => __('Top menu'),
));
}
add_action( 'init' , 'neuf_register_nav_menus' );
function neuf_theme_setup() {
load_theme_textdomain('neuf', get_template_directory().'/languages');
}
add_action( 'after_setup_theme', 'neuf_theme_setup');
/**
* Register custom taxonomy for post templates.
*
@@ -79,7 +84,7 @@ add_action( 'wp_enqueue_scripts' , 'neuf_enqueue_scripts' );
* Denies uploads of images smaller (in pixels) than given width and height values.
*/
function neuf_handle_upload_prefilter( $file ) {
/* Only check files with mime type image/* */
/* Only check files with mime type 'image/*' */
$is_not_image = strpos($file['type'], 'image/') !== 0;
if( $is_not_image ) {
return $file;
@@ -93,14 +98,14 @@ function neuf_handle_upload_prefilter( $file ) {
if ( $width < $minimum['width'] ) {
$errors[] = "Minimum width is {$minimum['width']} px. Uploaded image width is $width px";
$errors[] = sprintf(__("Minimum width is %s px. Uploaded image width is %s px", 'neuf'), $minimum['width'], $width);
}
if ($height < $minimum['height']) {
$errors[] = "Minimum height is {$minimum['height']} px. Uploaded image height is $height px";
$errors[] = sprintf(__("Minimum height is %s px. Uploaded image height is %s px", 'neuf'), $minimum['height'], $height);
}
if( count($errors) > 0 ) {
return array( "error" => "Image dimensions are too small: ".implode(", ", $errors).".");
return array( "error" => __("Image dimensions are too small", 'neuf'). ": ". implode(", ", $errors). ".");
}
return $file;
@@ -167,7 +172,7 @@ function neuf_format_price( $neuf_event ) {
}
if($cc == '') {
return _('Free');
return __('Free', 'neuf');
}
return $cc;
@@ -221,22 +226,22 @@ function neuf_doctitle() {
$content = single_post_title( '' , false );
} elseif ( is_search() ) {
$content = __( 'S&oslashkeresultater for', 'neuf-web' );
$content = __( 'Search Results for', 'neuf' );
$content .= ' ' . esc_html(stripslashes(get_search_query()));
} elseif ( is_category() ) {
$content = __( 'Arkiv for kategorien' , 'neuf-web' );
$content = __( 'Category Archives' , 'neuf' );
$content .= ' ' . single_cat_title( "" , false );
} elseif ( is_tag() ) {
$content = __( 'Arkiv for stikkordet' , 'neuf-web' );
$content = __( 'Tag Archives' , 'neuf' );
$content .= ' ' . single_tag_title( '' , false );
} elseif ( is_404() ) {
$content = __( 'Ikke funnet', 'neuf-web' );
$content = __( 'Not Found', 'neuf' );
} else {
$content = get_bloginfo( 'description' );
$content = get_bloginfo( 'description' , 'display');
}
if ( get_query_var( 'paged' ) ) {
@@ -253,10 +258,10 @@ function neuf_doctitle() {
'separator' => $separator,
'content' => $content
);
} else if ( is_single() && 'event' == get_post_type() ) {
} else if ( is_single() && get_post_type() == 'event' ) {
$elements = array(
'content' => $content,
'separator' => 'på',
'separator' => __('on', 'neuf'),
'site_name' => 'Studentersamfundet'
);
} else {
@@ -353,7 +358,7 @@ function trim_excerpt($text, $length) {
* Replaces the matching $pattern with $replacement in the string $subject.
*/
function linkify($subject, $pattern, $link) {
$replacement = '<a href="'.$link.'">Les mer</a>';
$replacement = '<a href="'.$link.'">'. __('Read more', 'neuf') .'</a>';
$output = preg_replace($pattern, $replacement, $subject);
return $output;
}
@@ -364,73 +369,67 @@ function linkify($subject, $pattern, $link) {
* Original author: Ian Stewart (theme Thematic).
*/
function neuf_page_title() {
global $post;
$content = '';
$content = "";
if (is_attachment()) {
$content .= '<h1 class="page-title"><a href="';
$content .= '<h2 class="page-title"><a href="';
$content .= apply_filters('the_permalink',get_permalink($post->post_parent));
$content .= '" rev="attachment"><span class="meta-nav">Tilbake til </span>';
$content .= '" rev="attachment"><span class="meta-nav">'. __('Back to', 'neuf').' </span>';
$content .= get_the_title($post->post_parent);
$content .= '</a></h1>';
$content .= '</a></h2>';
} elseif (is_author()) {
$content .= '<h1 class="page-title author">';
$author = get_the_author_meta( 'display_name' );
$content .= __('Innhold skrevet av', 'neuf');
$content .= ' <span>';
$content .= $author;
$content .= '</span></h1>';
$author = get_the_author_meta( 'display_name', $post->post_author );
$content .= __('Author Archives:', 'neuf');
$content .= ' <span>' . $author .'</span>';
$content .= '</h1>';
} elseif (is_category()) {
$content .= '<h1 class="page-title">';
$content .= __('Innhold i kategorien', 'neuf');
$content .= ' <span>';
$content .= single_cat_title('', FALSE);
$content .= '</span></h1>' . "\n";
$content .= __('Category Archives:', 'neuf');
$content .= ' <span>' . single_cat_title('', FALSE) .'</span>';
$content .= '</h1>' . "\n";
$content .= '<div class="archive-meta">';
if ( !(''== category_description()) ) : $content .= apply_filters('archive_meta', category_description()); endif;
$content .= '</div>';
} elseif (is_search()) {
$content .= '<h1 class="page-title">';
$content .= __('S&oslash;keresultater for:', 'neuf');
$content .= ' <span id="search-terms">';
$content .= esc_html(stripslashes($_GET['s']));
$content .= '</span></h1>';
$content .= __('Search Results for:', 'neuf');
$content .= ' <span id="search-terms">' . get_search_query() .'</span>';
$content .= '</h1>';
} elseif (is_tag()) {
$content .= '<h1 class="page-title">';
$content .= __('Innhold merket med', 'neuf');
$content .= __('Tag Archives:', 'neuf');
$content .= ' <span>';
$content .= __(neuf_tag_query());
$content .= single_tag_title( '', false );
$content .= '</span></h1>';
} elseif (is_tax()) {
global $taxonomy;
$content .= '<h1 class="page-title">';
//$tax = get_taxonomy($taxonomy);
//$content .= $tax->labels->name . ' ';
//$content .= __('Arkiv:', 'neuf');
//$content .= ' <span>';
$content .= neuf_get_term_name();
//$content .= '</span>';
$content .= '</h1>';
} elseif (is_day()) {
} elseif (is_post_type_archive()) {
$content .= '<h1 class="page-title">';
$content .= sprintf(__('Innhold fra dagen <span>%s</span>', 'neuf'), get_the_time(get_option('date_format')));
$post_type_obj = get_post_type_object( get_post_type() );
$post_type_name = $post_type_obj->labels->singular_name;
$content .= __('Archives:', 'neuf');
$content .= ' <span>' . $post_type_name . '</span>';
$content .= '</h1>';
} elseif (is_day()) {
$content .= '<h1 class="page-title">';
$content .= sprintf( __('Daily Archives: %s', 'neuf'), '<span>' . get_the_time( get_option('date_format') ) ) . '</span>';
$content .= '</h1>';
} elseif (is_month()) {
$content .= '<h1 class="page-title">';
$content .= sprintf(__('Innhold fra m&aring;neden <span>%s</span>', 'neuf'), get_the_time('F Y'));
$content .= sprintf( __('Monthly Archives: %s', 'neuf') , '<span>' . get_the_time('F Y') ) . '</span>';
$content .= '</h1>';
} elseif (is_year()) {
$content .= '<h1 class="page-title">';
$content .= sprintf(__('Innhold fra &aring;ret <span>%s</span>', 'neuf'), get_the_time('Y'));
$content .= '</h1>';
} elseif (isset($_GET['paged']) && !empty($_GET['paged'])) {
$content .= '<h1 class="page-title">';
$content .= __('Arkiv', 'neuf');
$content .= sprintf( __('Yearly Archives: %s', 'neuf'), '<span>' . get_the_time('Y') ) . '</span>';
$content .= '</h1>';
}
$content .= "\n";
echo( $content );
}
/**
@@ -553,7 +552,7 @@ function neuf_customize_register( $wp_customize ) {
/* Footer Section */
$wp_customize->add_section( 'neuf_footer_section' , array(
'title' => __( 'Footer (kolofon)', 'neuf-web' ),
'title' => __( 'Footer text', 'neuf' ),
'priority' => 30,
) );
$wp_customize->add_setting( 'footer_kolofon' , array(
@@ -561,7 +560,7 @@ function neuf_customize_register( $wp_customize ) {
) );
$wp_customize->add_control(
new Customize_Textarea_Control( $wp_customize, 'footer_kolofon', array(
'label' => __( 'Kolofon (adresse, redaktør, etc)', 'neuf-web' ),
'label' => __( 'Text (address, editor, etc)', 'neuf'),
'section' => 'neuf_footer_section',
'settings' => 'footer_kolofon',
) )
@@ -590,7 +589,7 @@ function get_event_types($post) {
add_action( 'admin_init', 'neuf_events_sticky_add_meta_box' );
function neuf_events_sticky_meta() { ?>
<input id="super-sticky" name="sticky" type="checkbox" value="sticky" <?php checked( is_sticky() ); ?> /> <label for="super-sticky" class="selectit"><?php _e( 'Stick this to the front page' ) ?></label><?php
<input id="super-sticky" name="sticky" type="checkbox" value="sticky" <?php checked( is_sticky() ); ?> /> <label for="super-sticky" class="selectit"><?php _e( 'Stick this to the front page', 'neuf' ) ?></label><?php
}
function neuf_events_sticky_add_meta_box() {
@@ -610,7 +609,7 @@ function neuf_event_get_schema($post) {
"@type" => "Place",
"sameAs" => get_bloginfo('url'),
"name" => get_bloginfo('name'),
"address" => "Chateau Neuf, Slemdalsveien 15, 0369 Oslo"
"address" => __("Chateau Neuf, Slemdalsveien 15, 0369 Oslo", 'neuf')
);
$date_format = 'Y-m-d\TH:i'; // "2013-09-14T21=>30" // FIXME: duration
$start_date = date_i18n($date_format, $post->neuf_events_starttime);
@@ -0,0 +1,315 @@
# Copyright (C) 2016 EDB-gjengen
# This file is distributed under the same license as the Det Norske Studentersamfundet 2015 package.
msgid ""
msgstr ""
"Project-Id-Version: Det Norske Studentersamfundet 2015 1.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/support/theme/dns2015\n"
"POT-Creation-Date: 2016-01-05 21:11:20+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#: event-meta.php:21
msgid "at"
msgstr ""
#: event-meta.php:29 page-templates/page-program.php:73
msgid "Ticket"
msgstr ""
#: event-meta.php:29 page-templates/page-program.php:73
msgid "Buy ticket"
msgstr ""
#: event-meta.php:31 page-templates/page-program.php:75
msgid "Price"
msgstr ""
#: fp-articles.php:3
msgid "Articles"
msgstr ""
#. #-#-#-#-# dns2015.pot (Det Norske Studentersamfundet 2015 1.0) #-#-#-#-#
#. Template Name of the plugin/theme
#: fp-events.php:2
msgid "Program"
msgstr ""
#: functions.php:21
msgid "Main menu"
msgstr ""
#: functions.php:22
msgid "Top menu"
msgstr ""
#: functions.php:35
msgctxt "taxonomy general name"
msgid "Custom post templates"
msgstr ""
#: functions.php:36
msgctxt "taxonomy singular name"
msgid "Post template"
msgstr ""
#: functions.php:38
msgid "Popular Templates"
msgstr ""
#: functions.php:39
msgid "All Post Templates"
msgstr ""
#: functions.php:42
msgid "Edit Post Template"
msgstr ""
#: functions.php:43
msgid "Update Post Template"
msgstr ""
#: functions.php:44
msgid "Add New Post Template"
msgstr ""
#: functions.php:45
msgid "New Post Template"
msgstr ""
#: functions.php:46
msgid "Separate post templates with commas"
msgstr ""
#: functions.php:47
msgid "Add or remove post templates"
msgstr ""
#: functions.php:48
msgid "Choose from the most used post templates"
msgstr ""
#: functions.php:49
msgid "Post Templates"
msgstr ""
#: functions.php:96
msgid "Minimum width is %s px. Uploaded image width is %s px"
msgstr ""
#: functions.php:99
msgid "Minimum height is %s px. Uploaded image height is %s px"
msgstr ""
#: functions.php:103
msgid "Image dimensions are too small"
msgstr ""
#: functions.php:170 page-templates/page-mailchimp-newsletter.php:149
#: page-templates/page-mailchimp-newsletter.php:208
#: page-templates/page-newsletter.php:149
#: page-templates/page-newsletter.php:208
msgid "Free"
msgstr ""
#: functions.php:224
msgid "Search Results for"
msgstr ""
#: functions.php:228
msgid "Category Archives"
msgstr ""
#: functions.php:232
msgid "Tag Archives"
msgstr ""
#: functions.php:236
msgid "Not Found"
msgstr ""
#: functions.php:259
msgid "on"
msgstr ""
#: functions.php:356
msgid "Read more"
msgstr ""
#: functions.php:373
msgid "Back to"
msgstr ""
#: functions.php:379
msgid "Author Archives:"
msgstr ""
#: functions.php:384
msgid "Category Archives:"
msgstr ""
#: functions.php:392
msgid "Search Results for:"
msgstr ""
#: functions.php:397
msgid "Tag Archives:"
msgstr ""
#: functions.php:409
msgid "Archives:"
msgstr ""
#: functions.php:414
msgid "Daily Archives: %s"
msgstr ""
#: functions.php:418
msgid "Monthly Archives: %s"
msgstr ""
#: functions.php:422
msgid "Yearly Archives: %s"
msgstr ""
#: functions.php:550
msgid "Footer text"
msgstr ""
#: functions.php:558
msgid "Text (address, editor, etc)"
msgstr ""
#: functions.php:587
msgid "Stick this to the front page"
msgstr ""
#: functions.php:593
msgid "Sticky"
msgstr ""
#: functions.php:607
msgid "Chateau Neuf, Slemdalsveien 15, 0369 Oslo"
msgstr ""
#: header.php:33
msgid "Jump to content"
msgstr ""
#: page-templates/page-mailchimp-newsletter.php:26
#: page-templates/page-newsletter.php:26
msgid "Week"
msgstr ""
#: page-templates/page-mailchimp-newsletter.php:32
#: page-templates/page-newsletter.php:32
msgid "Month"
msgstr ""
#: page-templates/page-mailchimp-newsletter.php:38
#: page-templates/page-newsletter.php:38
msgid "Semester"
msgstr ""
#: page-templates/page-program.php:67
msgid "Event title"
msgstr ""
#: page-templates/page-program.php:70
msgid "Event category"
msgstr ""
#: page-templates/page-program.php:71
msgid "Venue"
msgstr ""
#: page-templates/page-program.php:90
msgid "Filter"
msgstr ""
#: sidebar.php:3
msgid "Pages"
msgstr ""
#: sidebar.php:9
msgid "Search"
msgstr ""
#: single-association.php:14
msgid "Web page"
msgstr ""
#: single-event.php:29
msgid "Share"
msgstr ""
#. Theme Name of the plugin/theme
msgid "Det Norske Studentersamfundet 2015"
msgstr ""
#. Theme URI of the plugin/theme
msgid "https://git.neuf.no/edb/studentersamfundet-no"
msgstr ""
#. Description of the plugin/theme
msgid "Tema for DNS"
msgstr ""
#. Author of the plugin/theme
msgid "EDB-gjengen"
msgstr ""
#. Author URI of the plugin/theme
msgid "http://edb.neuf.no"
msgstr ""
#. Template Name of the plugin/theme
msgid "Associations"
msgstr ""
#. Template Name of the plugin/theme
msgid "Next event"
msgstr ""
#. Template Name of the plugin/theme
msgid "News feed"
msgstr ""
#. Template Name of the plugin/theme
msgid "UIO Program feed"
msgstr ""
#. Template Name of the plugin/theme
msgid "Full width"
msgstr ""
#. Template Name of the plugin/theme
msgid "Ical"
msgstr ""
#. Template Name of the plugin/theme
msgid "Recently Updated Image Galleries"
msgstr ""
#. Template Name of the plugin/theme
msgid "Infoscreen Daily Program"
msgstr ""
#. Template Name of the plugin/theme
msgid "Infoscreen tweets"
msgstr ""
#. Template Name of the plugin/theme
msgid "Live (streaming)"
msgstr ""
#. Template Name of the plugin/theme
msgid "Mailchimp Newsletter"
msgstr ""
#. Template Name of the plugin/theme
msgid "Newsletter"
msgstr ""
Binary file not shown.
@@ -0,0 +1,317 @@
# Copyright (C) 2016 EDB-gjengen
# This file is distributed under the same license as the Det Norske Studentersamfundet 2015 package.
msgid ""
msgstr ""
"Project-Id-Version: Det Norske Studentersamfundet 2015 1.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/support/theme/dns2015\n"
"POT-Creation-Date: 2016-01-05 22:12+0100\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2016-01-05 22:22+0100\n"
"Language-Team: \n"
"X-Generator: Poedit 1.8.4\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: nb_NO\n"
#: event-meta.php:21
msgid "at"
msgstr "klokken"
#: event-meta.php:29 page-templates/page-program.php:73
msgid "Ticket"
msgstr "Billett"
#: event-meta.php:29 page-templates/page-program.php:73
msgid "Buy ticket"
msgstr "Kjøp billett"
#: event-meta.php:31 page-templates/page-program.php:75
msgid "Price"
msgstr "Pris"
#: fp-articles.php:3
msgid "Articles"
msgstr "Artikler"
#. Template Name of the plugin/theme
#: fp-events.php:2
msgid "Program"
msgstr "Program"
#: functions.php:21
msgid "Main menu"
msgstr "Hovedmeny"
#: functions.php:22
msgid "Top menu"
msgstr "Toppmeny"
#: functions.php:35
msgctxt "taxonomy general name"
msgid "Custom post templates"
msgstr "Custom post templates"
#: functions.php:36
msgctxt "taxonomy singular name"
msgid "Post template"
msgstr "Post template"
#: functions.php:38
msgid "Popular Templates"
msgstr "Popular Templates"
#: functions.php:39
msgid "All Post Templates"
msgstr "All Post Templates"
#: functions.php:42
msgid "Edit Post Template"
msgstr "Edit Post Template"
#: functions.php:43
msgid "Update Post Template"
msgstr "Update Post Template"
#: functions.php:44
msgid "Add New Post Template"
msgstr "Add New Post Template"
#: functions.php:45
msgid "New Post Template"
msgstr "New Post Template"
#: functions.php:46
msgid "Separate post templates with commas"
msgstr "Separate post templates with commas"
#: functions.php:47
msgid "Add or remove post templates"
msgstr "Add or remove post templates"
#: functions.php:48
msgid "Choose from the most used post templates"
msgstr "Choose from the most used post templates"
#: functions.php:49
msgid "Post Templates"
msgstr "Post Templates"
#: functions.php:96
msgid "Minimum width is %s px. Uploaded image width is %s px"
msgstr "Minimumsbredden er %s px. Opplastet bilde har bredde %s px"
#: functions.php:99
msgid "Minimum height is %s px. Uploaded image height is %s px"
msgstr "Minimumshøyden er %s px. Opplastet bilde har høyde %s px"
#: functions.php:103
msgid "Image dimensions are too small"
msgstr "Bildet har for lav oppløsning"
#: functions.php:170 page-templates/page-mailchimp-newsletter.php:149
#: page-templates/page-mailchimp-newsletter.php:208
#: page-templates/page-newsletter.php:149
#: page-templates/page-newsletter.php:208
msgid "Free"
msgstr "Gratis"
#: functions.php:224
msgid "Search Results for"
msgstr "Søkeresultater for"
#: functions.php:228
msgid "Category Archives"
msgstr "Innhold i kategorien"
#: functions.php:232
msgid "Tag Archives"
msgstr "Innhold merket med"
#: functions.php:236
msgid "Not Found"
msgstr "Ikke funnet"
#: functions.php:259
msgid "on"
msgstr "på"
#: functions.php:356
msgid "Read more"
msgstr "Les mer"
#: functions.php:373
msgid "Back to"
msgstr "Tilbake til"
#: functions.php:379
msgid "Author Archives:"
msgstr "Innhold skrevet av:"
#: functions.php:384
msgid "Category Archives:"
msgstr "Innhold i kategorien:"
#: functions.php:392
msgid "Search Results for:"
msgstr "Søkeresultater for"
#: functions.php:397
msgid "Tag Archives:"
msgstr "Innhold merket med:"
#: functions.php:409
msgid "Archives:"
msgstr "Arkivert innhold:"
#: functions.php:414
msgid "Daily Archives: %s"
msgstr "Innhold fra dagen: %s"
#: functions.php:418
msgid "Monthly Archives: %s"
msgstr "Innhold fra måneden %s"
#: functions.php:422
msgid "Yearly Archives: %s"
msgstr "Innhold fra året: %s"
#: functions.php:550
msgid "Footer text"
msgstr "Footer kolofon"
#: functions.php:558
msgid "Text (address, editor, etc)"
msgstr "Kolofon (adresse, redaktør, etc)"
#: functions.php:587
msgid "Stick this to the front page"
msgstr "Gjør denne klebrig på forsiden"
#: functions.php:593
msgid "Sticky"
msgstr "Klebrig"
#: functions.php:607
msgid "Chateau Neuf, Slemdalsveien 15, 0369 Oslo"
msgstr "Chateau Neuf, Slemdalsveien 15, 0369 Oslo"
#: header.php:33
msgid "Jump to content"
msgstr "Gå direkte til innholdet"
#: page-templates/page-mailchimp-newsletter.php:26
#: page-templates/page-newsletter.php:26
msgid "Week"
msgstr "Uke"
#: page-templates/page-mailchimp-newsletter.php:32
#: page-templates/page-newsletter.php:32
msgid "Month"
msgstr "Måned"
#: page-templates/page-mailchimp-newsletter.php:38
#: page-templates/page-newsletter.php:38
msgid "Semester"
msgstr "Semester"
#: page-templates/page-program.php:67
msgid "Event title"
msgstr "Arrangement"
#: page-templates/page-program.php:70
msgid "Event category"
msgstr "Arrangementskategori"
#: page-templates/page-program.php:71
msgid "Venue"
msgstr "Sted"
#: page-templates/page-program.php:90
msgid "Filter"
msgstr "Filtrér"
#: sidebar.php:3
msgid "Pages"
msgstr "Sider"
#: sidebar.php:9
msgid "Search"
msgstr "Søk"
#: single-association.php:14
msgid "Web page"
msgstr "Webside"
#: single-event.php:29
msgid "Share"
msgstr "Del"
#. Theme Name of the plugin/theme
msgid "Det Norske Studentersamfundet 2015"
msgstr "Det Norske Studentersamfundet 2015"
#. Theme URI of the plugin/theme
msgid "https://git.neuf.no/edb/studentersamfundet-no"
msgstr "https://git.neuf.no/edb/studentersamfundet-no"
#. Description of the plugin/theme
msgid "Tema for DNS"
msgstr "Tema for DNS"
#. Author of the plugin/theme
msgid "EDB-gjengen"
msgstr "EDB-gjengen"
#. Author URI of the plugin/theme
msgid "http://edb.neuf.no"
msgstr "http://edb.neuf.no"
#. Template Name of the plugin/theme
msgid "Associations"
msgstr "Foreninger"
#. Template Name of the plugin/theme
msgid "Next event"
msgstr "Neste arrangement"
#. Template Name of the plugin/theme
msgid "News feed"
msgstr "Nyhetsfeed"
#. Template Name of the plugin/theme
msgid "UIO Program feed"
msgstr "UIO Programfeed"
#. Template Name of the plugin/theme
msgid "Full width"
msgstr "Full bredde"
#. Template Name of the plugin/theme
msgid "Ical"
msgstr "Ical"
#. Template Name of the plugin/theme
msgid "Recently Updated Image Galleries"
msgstr "Nylige oppdaterte bildegallerier"
#. Template Name of the plugin/theme
msgid "Infoscreen Daily Program"
msgstr "Infoskjerm Daglig program"
#. Template Name of the plugin/theme
msgid "Infoscreen tweets"
msgstr "Inforskjerm tvitringer"
#. Template Name of the plugin/theme
msgid "Live (streaming)"
msgstr "Live (strømming)"
#. Template Name of the plugin/theme
msgid "Mailchimp Newsletter"
msgstr "Mailchimp Nyhetsbrev"
#. Template Name of the plugin/theme
msgid "Newsletter"
msgstr "Nyhetsbrev"