Afform - Better descriptive labels for text element
authorColeman Watts <coleman@civicrm.org>
Wed, 16 Mar 2022 15:25:12 +0000 (11:25 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 20 Mar 2022 02:02:59 +0000 (22:02 -0400)
ext/afform/admin/ang/afGuiEditor/elements/afGuiText-menu.html
ext/afform/admin/ang/afGuiEditor/elements/afGuiText.component.js

index 1ad85816e3be1129dfa35e206f0f5be11869ffa1..06170c5068c609231bb656aa2be4fab52280ed57 100644 (file)
@@ -1,6 +1,6 @@
 <li ng-click="$event.stopPropagation()">
   <div class="af-gui-field-select-in-dropdown">
-    <label>{{:: ts('Style:') }}</label>
+    <label>{{:: ts('Element:') }}</label>
     <select class="form-control" ng-model="$ctrl.node['#tag']" title="{{:: ts('Text style') }}">
       <option ng-repeat="(opt, label) in tags" value="{{ opt }}">{{ label }}</option>
     </select>
index f632c45976f1c327552fa07a648fcb26b7db973f..baa50d0408279572b05458b6962a878e92ae0027 100644 (file)
@@ -13,7 +13,7 @@
         ctrl = this;
 
       $scope.tags = {
-        p: ts('Normal Text'),
+        p: ts('Paragraph'),
         legend: ts('Fieldset Legend'),
         h1: ts('Heading 1'),
         h2: ts('Heading 2'),