Skip to content

Commit

Permalink
Improved translation and added missing namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce133 committed Aug 5, 2015
1 parent 5192adb commit a235af2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
29 changes: 24 additions & 5 deletions lang/nb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,34 @@ nb:
OneDayHeader: '$StartDayNumberShort. $StartMonthNameLong $StartYearLong' #"Headers" control the display when a date range is given to the calendar through the URL.
MonthHeader: '$StartMonthNameLong $StartYearLong'
YearHeader: '$StartYearLong'
NUMBEROFEVENTS: 'Antall viste hendelser (standard visning).'
NUMBEROFEVENTS: 'Antall viste begivenheter (standard visning).'
DEFAULTDATEHEADER: 'Standardtittel (vises hvis ingen dato er valgt).'
NUMBERFUTUREDATES: 'Maks datoer som skal vises i gjentatte hendelser'
UPCOMINGEVENTSFOR: 'Kommende hendelser for %s'
NUMBERFUTUREDATES: 'Maks datoer som skal vises i gjentatte begivenheter'
UPCOMINGEVENTSFOR: 'Kommende begivenheter for %s'
JUMPTOMONTH: 'Hopp til en måned'
JUMP: 'Hopp'
QUICKNAVTODAY: 'I dag'
QUICKNAVWEEK: 'Denne uken'
QUICKNAVMONTH: 'Denne måneden'
QUICKNAVWEEKEND: 'Denne helgen'
PREVIOUSDAY: 'Forrige dag'
PREVIOUSWEEK: 'Forrige uke'
PREVIOUSMONTH: 'Forrige måned'
PREVIOUSWEEKEND: 'Forrige helg'
NEXTDAY: 'Neste dag'
NEXTWEEK: 'Neste uke'
NEXTMONTH: 'Neste måned'
NEXTWEEKEND: 'Neste helg'
ALLDAY: 'Hele dagen'
ADD: 'Legg til i kalender'
MORE: 'Les mer…'
ADDITIONALDATES: 'Ytterligere datoer for denne begivenheten'
VIEWMOREEVENTS: 'Se flere begivenheter...'
DATEJSFILE: 'calendar_nb.js'
CalendarDateTime:
INVALIDFORMAT: 'Ugyldig datoformat. Gyldig: "dmy" eller "mdy".'
CalendarEvent:
REPEATEVENT: 'Gjenta hendelsen'
REPEATEVENT: 'Gjenta begivenheten'
DESCRIBEINTERVAL: 'Definér intervallet:'
EVERY: 'Hver '
DAYS: ' dag(er)'
Expand All @@ -38,7 +57,7 @@ nb:
TIME: 'Tid'
MORE: 'Les mer...'
SEEALSO: 'Se også'
NOEVENTS: 'Ingen hendelser ble funnet.'
NOEVENTS: 'Ingen begivenheter funnet.'
CalendarEvent.ss:
BROWSECALENDAR: $lang['nb_NO']['Calendar.ss']['BROWSECALENDAR']
USECALENDAR: $lang['nb_NO']['Calendar.ss']['USECALENDAR']
Expand Down
6 changes: 3 additions & 3 deletions templates/Includes/EventList.ss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<% loop Events %>
<li class="vevent clearfix">
<h3 class="summary"><% if Announcement %>$Title<% else %><a class="url" href="$Link">$Event.Title</a><% end_if %></h3>
<p class="dates">$DateRange <% if AllDay %><% _t('ALLDAY','All Day') %><% else %><% if StartTime %>$TimeRange<% end_if %><% end_if %></p>
<p><a href="$ICSLink"><% _t('ADD','Add this to Calendar') %></a></p>
<p class="dates">$DateRange <% if AllDay %><% _t('Calendar.ALLDAY','All Day') %><% else %><% if StartTime %>$TimeRange<% end_if %><% end_if %></p>
<p><a href="$ICSLink"><% _t('Calendar.ADD','Add this to Calendar') %></a></p>
<% if Announcement %>
$Content
<% else %>
<% with Event %>$Content.LimitWordCount(60)<% end_with %> <a href="$Link"><% _t('MORE','Read more&hellip;') %></a>
<% with Event %>$Content.LimitWordCount(60)<% end_with %> <a href="$Link"><% _t('Calendar.MORE','Read more&hellip;') %></a>
<% end_if %>
<% if OtherDates %>
<div class="event-calendar-other-dates">
Expand Down

0 comments on commit a235af2

Please sign in to comment.