Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Dutch language file thanks to Yvonn https://github.com/yvonn

  • Loading branch information...
commit 47b271dbf2bae63236a23741b236d0d4a4cba584 1 parent 461b515
@vmichnowicz authored
View
82 language/dutch/polls_lang.php
@@ -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';
View
9 language/english/polls_lang.php
@@ -1,5 +1,12 @@
<?php
+/**
+ * Dutch language file
+ *
+ * @author Yvonn
+ * @link https://github.com/yvonn
+ */
+
// What it be?
$lang['polls.polls'] = 'Polls';
@@ -44,6 +51,7 @@
$lang['polls.type_label'] = 'Type';
$lang['polls.description_label'] = 'Poll Description';
$lang['polls.options_label'] = 'Poll Options';
+$lang['polls.add_option_label'] = 'Add Option';
$lang['polls.multiple_votes_label'] = 'Multiple Votes';
$lang['polls.open_date_label'] = 'Open Date (YYYY/MM/DD)';
$lang['polls.close_date_label'] = 'Close Date (YYYY/MM/DD)';
@@ -69,5 +77,6 @@
// View a poll
$lang['polls.total_votes'] = 'Total votes';
$lang['polls.vote'] = 'Vote';
+$lang['polls.votes'] = 'Votes';
$lang['polls.results'] = 'Results';
$lang['polls.no_options'] = 'There are no options for this poll';
View
2  views/admin/manage_poll.php
@@ -36,7 +36,7 @@
<option value="other"><?php echo lang('polls.other'); ?></option>
</select>
<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>
</ul>
<ul id="options" style="float:left;" class="sortable">
View
2  views/admin/new_poll.php
@@ -32,7 +32,7 @@
<option value="other"><?php echo lang('polls.other'); ?></option>
</select>
<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>
</ul>
View
2  views/admin/poll_results.php
@@ -6,7 +6,7 @@
<li>
<p>
<?php echo $option['title']; ?>
- <em>(<?php echo $option['votes']; ?> votes)</em>
+ <em>(<?php echo $option['votes']; ?> <?php echo lang('polls.votes'); ?>)</em>
</p>
<div style="width: <?php echo $option['percent']; ?>%;">
<?php echo $option['percent']; ?>%
View
2  widgets/polls/views/display.php
@@ -37,7 +37,7 @@
<?php foreach($poll_options as $option): ?>
<li>
<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'; ?>%;">
<?php echo $option['votes'] > 0 ? round( ($option['votes'] / $total_votes * 100), 1) : '0'; ?>%
</div>
View
2  widgets/polls/views/form.php
@@ -1,6 +1,6 @@
<ol>
<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">
<?php if ($polls): ?>
<?php foreach ($polls as $poll): ?>
Please sign in to comment.
Something went wrong with that request. Please try again.