Skip to content

Commit

Permalink
Added Dutch language file thanks to Yvonn https://github.com/yvonn
Browse files Browse the repository at this point in the history
  • Loading branch information
vmichnowicz committed Jun 13, 2011
1 parent 461b515 commit 47b271d
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 5 deletions.
82 changes: 82 additions & 0 deletions language/dutch/polls_lang.php
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,82 @@
<?php

/**
* English language file
*
* @author Victor Michnowicz
* @link http://www.vmichnowicz.com/
*/

// What it be?
$lang['polls.polls'] = 'Polls';

// Shortcut links
$lang['polls.list_label'] = 'Lijst van Polls';
$lang['polls.new_poll_label'] = 'Maak en nieuwe poll';

// Success notifications
$lang['polls.create_success'] = 'Poll is gemaakt.';
$lang['polls.update_success'] = 'De poll is bijgewerkt.';
$lang['polls.delete_success'] = 'Alle polls zijn verwijderd.';
$lang['polls.install_success'] = 'De Poll module is geinstalleerd.';

// Error notifications
$lang['polls.create_error'] = 'De poll kon niet worden aangemaakt.';
$lang['polls.invalid_date'] = 'Ongeldige datum ingevoerd';
$lang['polls.exists_error'] = 'De opgegeven poll bestaat niet.';
$lang['polls.update_error'] = 'De poll kon niet worden bijgewerkt.';
$lang['polls.id_error'] = 'Er zijn geen ID\'s opgegeven.';
$lang['polls.no_poll_options_error'] = 'Er zijn geen opties voor deze poll';
$lang['polls.no_polls_error'] = 'Er zijn nog geen polls aangemaakt.';
$lang['polls.install_error'] = 'De module kon niet worden geinstalleerd.';
$lang['polls.cookies_required'] = 'Om te kunnen stemmen op deze poll moeten cookies zijn ingeschakeld.';

// Polls overview headers
$lang['polls.title'] = 'Poll titel';
$lang['polls.num_options'] = 'Opties';
$lang['polls.open_date'] = 'Datum geopend';
$lang['polls.close_date'] = 'Datum gesloten';
$lang['polls.created'] = 'Aangemaakt';
$lang['polls.last_updated'] = 'Laatst bijgewerkt';

// Polls overview actions
$lang['polls.view_label'] = 'Poll bekijken';
$lang['polls.manage_label'] = 'Poll bewerken';
$lang['polls.results_label'] = 'Poll resultaten';
$lang['polls.delete_label'] = 'Poll verwijderen';

// Create a new poll labels
$lang['polls.title_label'] = 'Titel';
$lang['polls.slug_label'] = 'Slug';
$lang['polls.type_label'] = 'Soort';
$lang['polls.description_label'] = 'Poll omschrijving';
$lang['polls.options_label'] = 'Poll opties';
$lang['polls.add_option_label'] = 'Optie toevoegen';
$lang['polls.multiple_votes_label'] = 'Meerdere stemmen';
$lang['polls.open_date_label'] = 'Datum geopend (YYYY/MM/DD)';
$lang['polls.close_date_label'] = 'Datum gesloten (YYYY/MM/DD)';
$lang['polls.comments_label'] = 'Opmerkingen aanzetten';
$lang['polls.members_only_label'] = 'Alleen leden';

// Poll creation and modification info
$lang['polls.options_info'] = 'Een poll optie kan zowel <strong>gedefinieerd</strong> worden of <strong>anders</strong>. Een <strong>gedefinieerde</strong> poll optie laat de gebruiker stemmen op een poll optie die je hebt aangegeven. Een <strong>andere</strong> poll optie laat de gebruiker een tekst invullen voor die bepaalde optie.';
$lang['polls.type_info'] = 'Een poll kan zowel <strong>single</strong> als <strong>multiple</strong> zijn. Een <strong>single</strong> poll beperkt de gebruiker om alleen op die poll optie te stemmen. Een <strong>multiple</strong> poll laat de gebruiker toe om op meerdere poll opties te stemmen.';

// Poll types
$lang['polls.single'] = 'Single';
$lang['polls.multiple'] = 'Multiple';

// Poll option types
$lang['polls.defined'] = 'Dedefinieerd';
$lang['polls.other'] = 'Anders';

// General
$lang['polls.yes'] = 'Ja';
$lang['polls.no'] = 'Nee';

// View a poll
$lang['polls.total_votes'] = 'Totale stemmen';
$lang['polls.vote'] = 'Stem';
$lang['polls.votes'] = 'Stemmen';
$lang['polls.results'] = 'Resultaten';
$lang['polls.no_options'] = 'Er zijn geen opties voor deze poll';
9 changes: 9 additions & 0 deletions language/english/polls_lang.php
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php <?php


/**
* Dutch language file
*
* @author Yvonn
* @link https://github.com/yvonn
*/

// What it be? // What it be?
$lang['polls.polls'] = 'Polls'; $lang['polls.polls'] = 'Polls';


Expand Down Expand Up @@ -44,6 +51,7 @@
$lang['polls.type_label'] = 'Type'; $lang['polls.type_label'] = 'Type';
$lang['polls.description_label'] = 'Poll Description'; $lang['polls.description_label'] = 'Poll Description';
$lang['polls.options_label'] = 'Poll Options'; $lang['polls.options_label'] = 'Poll Options';
$lang['polls.add_option_label'] = 'Add Option';
$lang['polls.multiple_votes_label'] = 'Multiple Votes'; $lang['polls.multiple_votes_label'] = 'Multiple Votes';
$lang['polls.open_date_label'] = 'Open Date (YYYY/MM/DD)'; $lang['polls.open_date_label'] = 'Open Date (YYYY/MM/DD)';
$lang['polls.close_date_label'] = 'Close Date (YYYY/MM/DD)'; $lang['polls.close_date_label'] = 'Close Date (YYYY/MM/DD)';
Expand All @@ -69,5 +77,6 @@
// View a poll // View a poll
$lang['polls.total_votes'] = 'Total votes'; $lang['polls.total_votes'] = 'Total votes';
$lang['polls.vote'] = 'Vote'; $lang['polls.vote'] = 'Vote';
$lang['polls.votes'] = 'Votes';
$lang['polls.results'] = 'Results'; $lang['polls.results'] = 'Results';
$lang['polls.no_options'] = 'There are no options for this poll'; $lang['polls.no_options'] = 'There are no options for this poll';
2 changes: 1 addition & 1 deletion views/admin/manage_poll.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<option value="other"><?php echo lang('polls.other'); ?></option> <option value="other"><?php echo lang('polls.other'); ?></option>
</select> </select>
<input type="text" name="new_option_title" id="new_option_title" /> <input type="text" name="new_option_title" id="new_option_title" />
<input type="button" id="add_new_option" value="Add Option" /> <input type="button" id="add_new_option" value="<?php echo lang('polls.add_option_label'); ?>" />
</li> </li>
</ul> </ul>
<ul id="options" style="float:left;" class="sortable"> <ul id="options" style="float:left;" class="sortable">
Expand Down
2 changes: 1 addition & 1 deletion views/admin/new_poll.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<option value="other"><?php echo lang('polls.other'); ?></option> <option value="other"><?php echo lang('polls.other'); ?></option>
</select> </select>
<input type="text" name="new_option_title" id="new_option_title" /> <input type="text" name="new_option_title" id="new_option_title" />
<input type="button" id="add_new_option" value="Add Option" /> <input type="button" id="add_new_option" value="<?php echo lang('polls.add_option_label'); ?>" />
</li> </li>
</ul> </ul>


Expand Down
2 changes: 1 addition & 1 deletion views/admin/poll_results.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<li> <li>
<p> <p>
<?php echo $option['title']; ?> <?php echo $option['title']; ?>
<em>(<?php echo $option['votes']; ?> votes)</em> <em>(<?php echo $option['votes']; ?> <?php echo lang('polls.votes'); ?>)</em>
</p> </p>
<div style="width: <?php echo $option['percent']; ?>%;"> <div style="width: <?php echo $option['percent']; ?>%;">
<?php echo $option['percent']; ?>% <?php echo $option['percent']; ?>%
Expand Down
2 changes: 1 addition & 1 deletion widgets/polls/views/display.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<?php foreach($poll_options as $option): ?> <?php foreach($poll_options as $option): ?>
<li> <li>
<span><?php echo $option['title']; ?></span> <span><?php echo $option['title']; ?></span>
<em>&ndash; <?php echo $option['votes']; ?> votes</em> <em>&ndash; <?php echo $option['votes']; ?> <?php echo lang('polls.votes') ?></em>
<div style="width: <?php echo $option['votes'] > 0 ? round( ($option['votes'] / $total_votes * 100), 1) : '0'; ?>%;"> <div style="width: <?php echo $option['votes'] > 0 ? round( ($option['votes'] / $total_votes * 100), 1) : '0'; ?>%;">
<?php echo $option['votes'] > 0 ? round( ($option['votes'] / $total_votes * 100), 1) : '0'; ?>% <?php echo $option['votes'] > 0 ? round( ($option['votes'] / $total_votes * 100), 1) : '0'; ?>%
</div> </div>
Expand Down
2 changes: 1 addition & 1 deletion widgets/polls/views/form.php
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
<ol> <ol>
<li class="even"> <li class="even">
<label for="poll_id">Poll ID</label> <label for="poll_id"><?php echo lang('polls.title') ?></label>
<select name="poll_id" id="poll_id"> <select name="poll_id" id="poll_id">
<?php if ($polls): ?> <?php if ($polls): ?>
<?php foreach ($polls as $poll): ?> <?php foreach ($polls as $poll): ?>
Expand Down

0 comments on commit 47b271d

Please sign in to comment.