Localization and verbiage improvements for adding podcasts
This commit is contained in:
parent
01618b55af
commit
3e97ee5d62
|
@ -2,11 +2,11 @@
|
|||
<form name="podcast_url_form">
|
||||
<?php echo $this->csrf ?>
|
||||
<label>
|
||||
Podcast URL
|
||||
<?php echo _("Podcast URL"); ?>
|
||||
<input type="text" name="url" />
|
||||
</label>
|
||||
<button class="btn btn-new right-floated" type="button" onclick="AIRTIME.podcast.addPodcast()">
|
||||
Add
|
||||
<?php echo _("Subscribe"); ?>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
|
@ -1276,6 +1276,7 @@ var AIRTIME = (function(AIRTIME) {
|
|||
var ajaxSourceURL = baseUrl+"rest/podcast";
|
||||
|
||||
var podcastToolbarButtons = AIRTIME.widgets.Table.getStandardToolbarButtons();
|
||||
podcastToolbarButtons[AIRTIME.widgets.Table.TOOLBAR_BUTTON_ROLES.NEW].title = $.i18n._('Add'); //"New" Podcast is misleading
|
||||
podcastToolbarButtons[AIRTIME.widgets.Table.TOOLBAR_BUTTON_ROLES.NEW].eventHandlers.click = function(e) {
|
||||
AIRTIME.podcast.createUrlDialog();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue