]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix wording
authorJulius Härtl <jus@bitgrid.net>
Tue, 26 Nov 2019 14:24:04 +0000 (15:24 +0100)
committerJulius Härtl <jus@bitgrid.net>
Tue, 26 Nov 2019 21:00:03 +0000 (22:00 +0100)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/workflowengine/src/components/Operation.vue
apps/workflowengine/src/components/Workflow.vue

index 5f5fa2ef6d64c346e95593f25214816ffb6b7333..b05465c79605901f4bcf4ba0be0678c1e9fa36be 100644 (file)
@@ -5,7 +5,7 @@
                        <h3>{{ operation.name }}</h3>
                        <small>{{ operation.description }}</small>
                        <button v-if="colored">
-                               {{ t('workflowengine', 'Create a new rule') }}
+                               {{ t('workflowengine', 'Add new flow') }}
                        </button>
                </div>
                <div class="actions__item_options">
index fa352ced9fa23b2f10b2d33063cbaabbcd19c443..e3a50ae198fd4178c3572fe4fdd0ac1213b1a195 100644 (file)
@@ -1,10 +1,10 @@
 <template>
        <div id="workflowengine">
                <div class="section">
-                       <h2>{{ t('workflowengine', 'Available actions') }}</h2>
+                       <h2>{{ t('workflowengine', 'Available flows') }}</h2>
 
                        <p v-if="scope === 0" class="settings-hint">
-                               <a href="https://nextcloud.com/developer/">{{ t('workflowengine', 'For details on how to write your own actions, checkout the development documentation') }}</a>
+                               <a href="https://nextcloud.com/developer/">{{ t('workflowengine', 'For details on how to write your own flow, check out the development documentation.') }}</a>
                        </p>
 
                        <transition-group name="slide" tag="div" class="actions">
@@ -16,7 +16,7 @@
                                <a :key="'add'" :href="appstoreUrl" class="actions__item colored more">
                                        <div class="icon icon-add" />
                                        <div class="actions__item__description">
-                                               <h3>{{ t('workflowengine', 'More actions') }}</h3>
+                                               <h3>{{ t('workflowengine', 'More flows') }}</h3>
                                                <small>{{ t('workflowengine', 'Browse the app store') }}</small>
                                        </div>
                                </a>
                                </button>
                        </div>
 
-                       <h2 class="configured-flows">
+                       <h2 v-if="scope === 0" class="configured-flows">
                                {{ t('workflowengine', 'Configured flows') }}
                        </h2>
+                       <h2 v-else class="configured-flows">
+                               {{ t('workflowengine', 'Your flows') }}
+                       </h2>
                </div>
 
                <transition-group v-if="rules.length > 0" name="slide">
@@ -98,7 +101,7 @@ export default {
                max-width: 100vw;
 
                h2.configured-flows {
-                       margin-top: 30px;
+                       margin-top: 50px;
                        margin-bottom: 0;
                }
        }