Skip to content

Commit

Permalink
app-check fixes; NC17 oc.dialog adjustment;
Browse files Browse the repository at this point in the history
  • Loading branch information
Rello committed Aug 17, 2019
1 parent f3a292c commit 724ce8b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
14 changes: 7 additions & 7 deletions appinfo/info.xml
Expand Up @@ -22,6 +22,9 @@ See [README](https://github.com/rello/audioplayer/blob/master/README.md) file fo
<licence>agpl</licence>
<author>Marcel Scherello</author>
<namespace>audioplayer</namespace>
<types>
<filesystem/>
</types>
<documentation>
<user>https://github.com/rello/audioplayer/wiki#user-documentation</user>
<admin>https://github.com/rello/audioplayer/wiki#admin-documentation</admin>
Expand All @@ -38,22 +41,19 @@ See [README](https://github.com/rello/audioplayer/blob/master/README.md) file fo
<nextcloud min-version="14" max-version="17"/>
<owncloud min-version="9" max-version="10"/>
</dependencies>
<types>
<filesystem/>
</types>
<repair-steps>
<post-migration>
<step>OCA\audioplayer\Migration\Migration</step>
</post-migration>
</repair-steps>
<dashboard>
<widget>OCA\audioplayer\Widgets\AudioplayerWidget</widget>
</dashboard>
<settings>
<admin-section>OCA\audioplayer\Settings\AdminSection</admin-section>
<personal>OCA\audioplayer\Settings\Personal</personal>
<personal-section>OCA\audioplayer\Settings\PersonalSection</personal-section>
<admin-section>OCA\audioplayer\Settings\AdminSection</admin-section>
</settings>
<dashboard>
<widget>OCA\audioplayer\Widgets\AudioplayerWidget</widget>
</dashboard>
<settings-sections>
<personal>OCA\audioplayer\Settings\PersonalSectionOC</personal>
<admin>OCA\audioplayer\Settings\AdminSectionOC</admin>
Expand Down
4 changes: 1 addition & 3 deletions js/settings/settings.js
Expand Up @@ -25,11 +25,9 @@ OCA.Audioplayer.Settings = {
percentage: 0,

openResetDialog: function () {
OC.dialogs.message(
OC.dialogs.confirm(
t('audioplayer', 'Are you sure?') + ' ' + t('audioplayer', 'All library entries will be deleted!'),
t('audioplayer', 'Reset library'),
'notice',
OCdialogs.YES_NO_BUTTONS,
function (e) {
if (e === true) {
OCA.Audioplayer.Settings.resetLibrary();
Expand Down
4 changes: 2 additions & 2 deletions l10n/de_DE.json
Expand Up @@ -29,7 +29,7 @@
"Sorting Playlist success! Playlist reloaded!": "Sortierung der Wiedergabeliste erfolgreich! Wiedergabeliste neu geladen!",
"Various Artists": "Verschiedene Interpreten",
"Various": "Verschiedene",
"Repeat playlist": " Wiedergabeliste wiederholen",
"Repeat playlist": "Wiedergabeliste wiederholen",
"Shuffle playlist": "Zufällige Wiedergabe",
"Playlists": "Wiedergabelisten",
"Smart Playlists": "Intelligente Wiedergabelisten",
Expand Down Expand Up @@ -66,7 +66,7 @@
"Formats supported by the browser": "Vom Browser unterstützte Formate",
"Formats not supported by the browser": "Vom Browser nicht unterstützte Formate",
"Please reset and rescan library to make use of new features.": "Bitte Bibliothek zurücksetzen und erneut scannen, um neue Funktionen nutzen zu können.",
"Do you like this app?": "Gefällt Dir die App?",
"Do you like this app?": "Gefällt Dir die App?"
},
"pluralForm": ""
}
2 changes: 1 addition & 1 deletion templates/part.navigation.php
Expand Up @@ -10,7 +10,7 @@
*/
?>
<div id="view-toggle" class="icon-toggle-<?php p($_['audioplayer_view']); ?>"
style="padding: 15px 40px; background-position: 15px; cursor: pointer; min-height: 50px;"><?php $_['audioplayer_view'] == 'pictures' ? p($l->t('Album Covers')) : p($l->t('List View')); ?>
style="padding: 15px 40px; background-position: 15px; cursor: pointer; min-height: 50px;"><?php $_['audioplayer_view'] === 'pictures' ? p($l->t('Album Covers')) : p($l->t('List View')); ?>
</div>
<div id="category_area">
<select id="category_selector">
Expand Down

0 comments on commit 724ce8b

Please sign in to comment.