,'cat'
,oils_i18n_gettext(
'webstaff.cat.label.left_label.left_margin'
- ,'Item Print Label - Left Margin for Left Label'
+ ,'Item Print Label - Left Margin for Spine Label'
,'coust'
,'label'
)
,oils_i18n_gettext(
'webstaff.cat.label.left_label.left_margin'
- ,'Set the default left margin for the leftmost item print Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'Set the default left margin for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
,'coust'
,'description'
)
,'cat'
,oils_i18n_gettext(
'webstaff.cat.label.right_label.left_margin'
- ,'Item Print Label - Left Margin for Right Label'
+ ,'Item Print Label - Left Margin for Pocket Label'
,'coust'
,'label'
)
,oils_i18n_gettext(
'webstaff.cat.label.right_label.left_margin'
- ,'Set the default left margin for the rightmost item print label (or in other words, the desired space between the two labels). Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'Set the default left margin for the item print Pocket Label (or in other words, the desired space between the two labels). Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
,'coust'
,'description'
)
,'cat'
,oils_i18n_gettext(
'webstaff.cat.label.left_label.height'
- ,'Item Print Label - Height for Left Label'
+ ,'Item Print Label - Height for Spine Label'
,'coust'
,'label'
)
,oils_i18n_gettext(
'webstaff.cat.label.left_label.height'
- ,'Set the default height for the leftmost item print label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'Set the default height for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
,'coust'
,'description'
)
,'cat'
,oils_i18n_gettext(
'webstaff.cat.label.left_label.width'
- ,'Item Print Label - Width for Left Label'
+ ,'Item Print Label - Width for Spine Label'
,'coust'
,'label'
)
,oils_i18n_gettext(
'webstaff.cat.label.left_label.width'
- ,'Set the default width for the leftmost item print label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'Set the default width for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
,'coust'
,'description'
)
,'cat'
,oils_i18n_gettext(
'webstaff.cat.label.right_label.height'
- ,'Item Print Label - Height for Right Label'
+ ,'Item Print Label - Height for Pocket Label'
,'coust'
,'label'
)
,oils_i18n_gettext(
'webstaff.cat.label.right_label.height'
- ,'Set the default height for the rightmost item print label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'Set the default height for the item print Pocket Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
,'coust'
,'description'
)
,'cat'
,oils_i18n_gettext(
'webstaff.cat.label.right_label.width'
- ,'Item Print Label - Width for Right Label'
+ ,'Item Print Label - Width for Pocket Label'
,'coust'
,'label'
)
,oils_i18n_gettext(
'webstaff.cat.label.right_label.width'
- ,'Set the default width for the rightmost item print label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'Set the default width for the item print Pocket Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
,'coust'
,'description'
)
--- /dev/null
+BEGIN;
+
+--SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.left_margin'
+ ,'Item Print Label - Left Margin for Spine Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.left_margin'
+ ,'Set the default left margin for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.left_label.left_margin';
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.left_margin'
+ ,'Item Print Label - Left Margin for Pocket Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.left_margin'
+ ,'Set the default left margin for the item print Pocket Label (or in other words, the desired space between the two labels). Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.right_label.left_margin';
+
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.height'
+ ,'Item Print Label - Height for Spine Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.height'
+ ,'Set the default height for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.left_label.height';
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.width'
+ ,'Item Print Label - Width for Spine Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.left_label.width'
+ ,'Set the default width for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.left_label.width';
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.height'
+ ,'Item Print Label - Height for Pocket Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.height'
+ ,'Set the default height for the item print Pocket Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.right_label.height';
+
+UPDATE config.org_unit_setting_type
+SET label = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.width'
+ ,'Item Print Label - Width for Pocket Label'
+ ,'coust'
+ ,'label'
+ ),
+ description = oils_i18n_gettext(
+ 'webstaff.cat.label.right_label.width'
+ ,'Set the default width for the item print Pocket Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
+ ,'coust'
+ ,'description'
+ )
+WHERE NAME = 'webstaff.cat.label.right_label.width';
+
+COMMIT;
<div class="eg-print-label-section">
<p><label>[% l('Gap Between Columns') %]</label>
<eg-help-popover help-text="[% l('Gap between each label set (spine/pocket combo) or, when using only one type of label, between each
-label. Use label 2 left margin to identify how much space to provide between labels within one set. Must be in format "0.25in", "2.5cm", "1.5in", etc. (units of measurement must be valid CSS)') %]"></p>
+label. Use pocket label left margin to identify how much space to provide between labels within one set. Must be in format "0.25in", "2.5cm", "1.5in", etc. (units of measurement must be valid CSS)') %]"></p>
<p><input type="text" ng-model="preview_scope.toolbox_settings.page.label.gap.size" ng-min="0" eg-print-label-valid-css required /></p>
</div>
<div class="eg-print-label-section" ng-if="preview_scope.toolbox_settings.page.dimensions.rows > 1 || preview_scope.toolbox_settings.page.dimensions.columns > 1">
<li ng-repeat="i in preview_scope.toolbox_settings.page.label.set.size | columnRowRange">
<label>[% l('Column') %] {{i + 1}}</label>
<select id="eg_print_label_column_spec_{{i}}" ng-model="preview_scope.toolbox_settings.page.column_class[i]" ng-change="redraw_label_table()">
- <option value="spine">[% l('Label 1') %]</option>
- <option value="pocket">[% l('Label 2') %]</option>
+ <option value="spine">[% l('Spine Label') %]</option>
+ <option value="pocket">[% l('Pocket Label') %]</option>
</select>
</li>
</ul>
-->
<style>
/* The .spine here defines a CSS "class", which in this case, is used by our
- left label */
+ spine label */
.spine {
/* this pulls from the "Item Print Label Font Family" setting, but will
default to 'normal' */
font-weight: {{settings['webstaff.cat.label.font.weight'] || 'normal'}};
- /* this pulls from the "Item Print Label - Height for Left Label"
+ /* this pulls from the "Item Print Label - Height for Spine Label"
setting, but will default to '1.25in' */
height: {{settings['webstaff.cat.label.left_label.height'] || '1.25in'}};
min-height: {{settings['webstaff.cat.label.left_label.height'] || '1.25in'}};
max-height: {{settings['webstaff.cat.label.left_label.height'] || '1.25in'}};
- /* this pulls from the "Item Print Label - Width for Left Label"
+ /* this pulls from the "Item Print Label - Width for Spine Label"
setting, but will default to '1in' */
width: {{settings['webstaff.cat.label.left_label.width'] || '1in'}};
min-width: {{settings['webstaff.cat.label.left_label.width'] || '1in'}};
max-width: {{settings['webstaff.cat.label.left_label.width'] || '1in'}};
- /* this pulls from the "Item Print Label - Left Margin for Left Label"
+ /* this pulls from the "Item Print Label - Left Margin for Spine Label"
setting, but will default to '0in' */
margin-left: {{settings['webstaff.cat.label.left_label.left_margin'] || '0in'}};
}
- /* This CSS class is used by our right label */
+ /* This CSS class is used by our pocket label */
.pocket {
/* this pulls from the "Item Print Label Font Family" setting, but will
default to 'normal' */
font-weight: {{settings['webstaff.cat.label.font.weight'] || 'normal'}};
- /* this pulls from the "Item Print Label - Height for Left Label"
+ /* this pulls from the "Item Print Label - Height for Spine Label"
setting, but will default to '1.25in' */
height: {{settings['webstaff.cat.label.right_label.height'] || '1.25in'}};
min-height: {{settings['webstaff.cat.label.right_label.height'] || '1.25in'}};
max-height: {{settings['webstaff.cat.label.right_label.height'] || '1.25in'}};
- /* this pulls from the "Item Print Label - Width for Left Label"
+ /* this pulls from the "Item Print Label - Width for Spine Label"
setting, but will default to '2.625in' */
width: {{settings['webstaff.cat.label.right_label.width'] || '2.625in'}};
min-width: {{settings['webstaff.cat.label.right_label.width'] || '2.625in'}};
max-width: {{settings['webstaff.cat.label.right_label.width'] || '2.625in'}};
- /* this pulls from the "Item Print Label - Left Margin for Left Label"
+ /* this pulls from the "Item Print Label - Left Margin for Pocket Label"
setting, but will default to '0in' */
margin-left: {{settings['webstaff.cat.label.right_label.left_margin'] || '0in'}};