diff --git a/app/plugins/HistoricPetitionViewer/resources/locales/en_US/historic_petition_viewer.po b/app/plugins/HistoricPetitionViewer/resources/locales/en_US/historic_petition_viewer.po new file mode 100644 index 000000000..fb56d820b --- /dev/null +++ b/app/plugins/HistoricPetitionViewer/resources/locales/en_US/historic_petition_viewer.po @@ -0,0 +1,39 @@ +# COmanage Registry Localizations (historic_petition_viewer domain) +# +# Portions licensed to the University Corporation for Advanced Internet +# Development, Inc. ("UCAID") under one or more contributor license agreements. +# See the NOTICE file distributed with this work for additional information +# regarding copyright ownership. +# +# UCAID licenses this file to you under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# @link https://www.internet2.edu/comanage COmanage Project +# @package registry-plugins +# @since COmanage Registry v5.2.0 +# @license Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + + +msgid "attributes" +msgstr "Attributes" + +msgid "attributes.none" +msgstr "No historic attributes recorded for this petition." + +msgid "historic.petition" +msgstr "Historic Petition #{0}" + +msgid "metadata" +msgstr "Metadata" + +msgid "metadata.none" +msgstr "No historic metadata recorded for this petition." diff --git a/app/plugins/HistoricPetitionViewer/templates/cell/HistoricPetitionViewers/display.php b/app/plugins/HistoricPetitionViewer/templates/cell/HistoricPetitionViewers/display.php index 570801358..1469c63ba 100644 --- a/app/plugins/HistoricPetitionViewer/templates/cell/HistoricPetitionViewers/display.php +++ b/app/plugins/HistoricPetitionViewer/templates/cell/HistoricPetitionViewers/display.php @@ -25,21 +25,17 @@ return ucwords($label); }; -// Do not alter font coloring; keep defaults -// Each row: label 1/3, value 2/3; both left-aligned; 1em padding inside each cell. $renderLi = static function (string $label, $value) { if ($value === null || $value === '') return; $out = is_scalar($value) ? (string)$value : json_encode($value); ?> -