Skip to content

Commit

Permalink
translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Perry authored and Ross Perry committed Jan 8, 2025
1 parent ad4fa3d commit 2f619bc
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 15 deletions.
Binary file modified locale/en_US/LC_MESSAGES/django.mo
Binary file not shown.
12 changes: 12 additions & 0 deletions locale/en_US/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,12 @@ msgstr "Advanced Settings"
msgid "Alias"
msgstr "Alias"

msgid "All Canonical Fields"
msgstr "All Canonical Fields"

msgid "All Extra Data Fields"
msgstr "All Extra Data Fields"

msgid "An Audit Template organization token, user email and password are required"
msgstr "An Audit Template organization token, user email and password are required"

Expand Down Expand Up @@ -970,6 +976,12 @@ msgstr "Create a New Sub-Organization"
msgid "Create a Program to get started!"
msgstr "Create a Program to get started!"

msgid "Create a Property"
msgstr "Create a Property"

msgid "Create a Tax Lot"
msgstr "Create a Tax Lot"

msgid "Create a new rule"
msgstr "Create a new rule"

Expand Down
Binary file modified locale/es/LC_MESSAGES/django.mo
Binary file not shown.
14 changes: 13 additions & 1 deletion locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: lokalise.com\n"
"Project-Id-Version: SEED Platform\n"
"PO-Revision-Date: 2024-12-14 00:26\n"
"PO-Revision-Date: 2025-01-08 18:08\n"
"Last-Translator: lokalise.com\n"
"Language-Team: lokalise.com\n\n"
"Language: es\n"
Expand Down Expand Up @@ -461,6 +461,12 @@ msgstr "Configuración avanzada"
msgid "Alias"
msgstr "Alias"

msgid "All Canonical Fields"
msgstr "Todos los campos canónicos"

msgid "All Extra Data Fields"
msgstr "Todos los campos de datos adicionales"

#, fuzzy
msgid "An Audit Template organization token, user email and password are required"
msgstr "Se requiere un token de organización de Plantilla de Auditoría, un correo electrónico de usuario y una contraseña"
Expand Down Expand Up @@ -1245,6 +1251,12 @@ msgstr "Crear una nueva suborganización"
msgid "Create a Program to get started!"
msgstr "Cree un programa para empezar"

msgid "Create a Property"
msgstr "Crear una propiedad"

msgid "Create a Tax Lot"
msgstr "Crear un lote de impuestos"

#, fuzzy
msgid "Create a new rule"
msgstr "Crear una nueva regla"
Expand Down
Binary file modified locale/fr_CA/LC_MESSAGES/django.mo
Binary file not shown.
12 changes: 12 additions & 0 deletions locale/fr_CA/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,12 @@ msgstr "Réglages avancés"
msgid "Alias"
msgstr "Alias"

msgid "All Canonical Fields"
msgstr "Tous les champs canoniques"

msgid "All Extra Data Fields"
msgstr "Tous les champs de données supplémentaires"

msgid "An Audit Template organization token, user email and password are required"
msgstr "Un jeton d'organisation Audit Template, un e-mail d'utilisateur et un mot de passe sont requis"

Expand Down Expand Up @@ -980,6 +986,12 @@ msgstr "Créer une nouvelle sous-organisation"
msgid "Create a Program to get started!"
msgstr "Créez un programme pour commencer !"

msgid "Create a Property"
msgstr "Créer une propriété"

msgid "Create a Tax Lot"
msgstr "Créer un lot fiscal"

msgid "Create a new rule"
msgstr "Créer une nouvelle règle"

Expand Down
4 changes: 4 additions & 0 deletions seed/static/seed/locales/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@
"Admin": "Admin",
"Advanced Settings": "Advanced Settings",
"Alias": "Alias",
"All Canonical Fields": "All Canonical Fields",
"All Extra Data Fields": "All Extra Data Fields",
"An Audit Template organization token, user email and password are required": "An Audit Template organization token, user email and password are required",
"An error occurred while processing the file. Please ensure that your file meets the required specifications.": "An error occurred while processing the file. Please ensure that your file meets the required specifications.",
"Analyses": "Analyses",
Expand Down Expand Up @@ -313,6 +315,8 @@
"Create a New Project": "Create a New Project",
"Create a New Sub-Organization": "Create a New Sub-Organization",
"Create a Program to get started!": "Create a Program to get started!",
"Create a Property": "Create a Property",
"Create a Tax Lot": "Create a Tax Lot",
"Create a new rule": "Create a new rule",
"Create a new sub-organization": "Create a new sub-organization",
"Create a new...": "Create a new...",
Expand Down
4 changes: 4 additions & 0 deletions seed/static/seed/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@
"Admin": "Admin",
"Advanced Settings": "Configuración avanzada",
"Alias": "Alias",
"All Canonical Fields": "Todos los campos canónicos",
"All Extra Data Fields": "Todos los campos de datos adicionales",
"An Audit Template organization token, user email and password are required": "Se requiere un token de organización de Plantilla de Auditoría, un correo electrónico de usuario y una contraseña",
"An error occurred while processing the file. Please ensure that your file meets the required specifications.": "Se ha producido un error al procesar el archivo. Asegúrese de que su archivo cumple las especificaciones requeridas.",
"Analyses": "Análisis",
Expand Down Expand Up @@ -313,6 +315,8 @@
"Create a New Project": "Crear un nuevo proyecto",
"Create a New Sub-Organization": "Crear una nueva suborganización",
"Create a Program to get started!": "Cree un programa para empezar",
"Create a Property": "Crear una propiedad",
"Create a Tax Lot": "Crear un lote de impuestos",
"Create a new rule": "Crear una nueva regla",
"Create a new sub-organization": "Crear una nueva suborganización",
"Create a new...": "Crear un nuevo...",
Expand Down
4 changes: 4 additions & 0 deletions seed/static/seed/locales/fr_CA.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@
"Admin": "Admin",
"Advanced Settings": "Réglages avancés",
"Alias": "Alias",
"All Canonical Fields": "Tous les champs canoniques",
"All Extra Data Fields": "Tous les champs de données supplémentaires",
"An Audit Template organization token, user email and password are required": "Un jeton d'organisation Audit Template, un e-mail d'utilisateur et un mot de passe sont requis",
"An error occurred while processing the file. Please ensure that your file meets the required specifications.": "Une erreur s'est produite lors du traitement du fichier. Assurez-vous que votre fichier respecte les spécifications requises.",
"Analyses": "Analyses",
Expand Down Expand Up @@ -313,6 +315,8 @@
"Create a New Project": "Créer un nouveau projet",
"Create a New Sub-Organization": "Créer une nouvelle sous-organisation",
"Create a Program to get started!": "Créez un programme pour commencer !",
"Create a Property": "Créer une propriété",
"Create a Tax Lot": "Créer un lot fiscal",
"Create a new rule": "Créer une nouvelle règle",
"Create a new sub-organization": "Créer une nouvelle sous-organisation",
"Create a new...": "Créer un nouveau...",
Expand Down
28 changes: 14 additions & 14 deletions seed/static/seed/partials/inventory_create.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ <h1>{$:: (inventory_type === 'taxlots' ? 'Tax Lots' : 'Properties') | translate
<div class="section_header_container">
<div class="section_header has_no_padding fixed_height_short">
<div class="section_action_container left_40">
<h2><i class="fa-regular fa-building"></i><span>Create a {$ inventory_type === 'properties' ? 'Property' : 'Tax Lot'$}</span></h2>
<h2><i class="fa-regular fa-building"></i><span>{$ inventory_type === 'taxlots' ? 'Create a Tax Lot' : 'Create a Property' | translate $}</span></h2>
</div>
<div class="section_action_container right_40 section_action_btn pull-right">
<button class="btn btn-primary" ng-disabled="!valid || form_errors.length" ng-click="save_inventory()">Save {$ inventory_type == 'taxlots' ? 'TaxLot' : 'Property' $}</button>
<button class="btn btn-primary" ng-disabled="!valid || form_errors.length" ng-click="save_inventory()" translate>Save</button>
</div>
</div>
</div>
Expand Down Expand Up @@ -70,27 +70,27 @@ <h2><i class="fa-regular fa-building"></i><span>Create a {$ inventory_type === '
<select id="select-profile" class="form-control" ng-change="change_profile()" ng-options="profile as profile.name for profile in profiles" ng-model="profile"></select>
</div>
<div style="display: flex">
<button class="btn btn-default" style="margin: auto 0 0 20px" ng-click="set_columns('canonical')">All Canonical Fields</button>
<button class="btn btn-default" style="margin: auto 0 0 20px" ng-click="set_columns('extra')">All Extra Data Fields</button>
<button class="btn btn-default" style="margin: auto 0 0 20px" ng-click="set_columns('reset')">Reset</button>
<button class="btn btn-default" style="margin: auto 0 0 20px" ng-click="set_columns('canonical')" translate>All Canonical Fields</button>
<button class="btn btn-default" style="margin: auto 0 0 20px" ng-click="set_columns('extra')" translate>All Extra Data Fields</button>
<button class="btn btn-default" style="margin: auto 0 0 20px" ng-click="set_columns('reset')" translate>Reset</button>
</div>
</div>
<div class="table_list_container" style="border-top: 1px solid #e0e0e0">
<table class="table table-striped">
<thead>
<tr>
<th>Inventory Type</th>
<th>Column</th>
<th>Value</th>
<th>Matching Criteria</th>
<th>Extra Data</th>
<th>Data Type</th>
<th translate>Inventory Type</th>
<th translate>Column</th>
<th translate>Value</th>
<th translate>Matching Criteria</th>
<th translate>Extra Data</th>
<th translate>Data Type</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="column in form_columns track by $index" ng-class="{'danger': column.is_duplicate}">
<td>{$ column.table_name.slice(0, -5) $}</td>
<td>{$ column.table_name.slice(0, -5) | translate $}</td>
<!-- <td style="max-width:200px;">{$ column.displayName $}</td> -->
<td ng-attr-id="row-input-{$:: $index $}">
<input
Expand Down Expand Up @@ -120,7 +120,7 @@ <h2><i class="fa-regular fa-building"></i><span>Create a {$ inventory_type === '
</td>
<td style="text-align: center"><input type="checkbox" ng-model="column.is_matching_criteria" disabled /></td>
<td style="text-align: center"><input type="checkbox" ng-model="column.is_extra_data" disabled /></td>
<td style="width: 100px">{$ column.data_type $}</td>
<td style="width: 100px">{$ column.data_type | translate $}</td>
<td>
<button class="btn btn-danger" type="button" ng-click="remove_column($index, column)">
<i class="fa-solid fa-xmark"></i>
Expand All @@ -129,7 +129,7 @@ <h2><i class="fa-regular fa-building"></i><span>Create a {$ inventory_type === '
</tr>
</tbody>
</table>
<button class="btn btn-default" ng-click="add_column()">Add Column</button>
<button class="btn btn-default" ng-click="add_column()" translate>Add Column</button>
</div>
</div>
</div>

0 comments on commit 2f619bc

Please sign in to comment.