Skip to content

Commit

Permalink
Merge pull request #136 from w3c/clean-translation-keys
Browse files Browse the repository at this point in the history
Remove unused translation keys
  • Loading branch information
iadawn authored Jan 11, 2024
2 parents cd3a7df + 94ba335 commit 8680a6d
Show file tree
Hide file tree
Showing 26 changed files with 3 additions and 156 deletions.
1 change: 0 additions & 1 deletion src/components/form/WebTechnologiesInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
const { translate } = getContext('app');
$: TECHNOLOGIES_LABEL = $translate('PAGES.EXPLORE.HD_RELIEDUP_TECH');
$: TECHNOLOGIES_HELPTEXT = $translate('PAGES.EXPLORE.INF_RELIEDUP_TECH');
$: TECHNOLOGY_HELPTEXT = $translate('PAGES.EXPLORE.PLH_TECH');
$: TECHNOLOGY_NAME_LABEL = $translate('PAGES.EXPLORE.LABEL_TECH');
$: TECHNOLOGY_URL_LABEL = $translate('PAGES.EXPLORE.LABEL_TECH_SPEC');
$: BTN_ADD_TECH = $translate('PAGES.EXPLORE.BTN_ADD_TECH');
Expand Down
1 change: 0 additions & 1 deletion src/components/pages/Evaluation/AuditSamplePage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
$: TRANSLATED = {
PAGE_TITLE: $translate('PAGES.AUDIT.TITLE'),
INTRODUCTION: $translate('PAGES.AUDIT.INTRO'),
INTRODUCTION_NOTE: $translate('PAGES.AUDIT.INTRO_NOTE'),
RESOURCE_LINK_NAME: $translate('PAGES.AUDIT.RESOURCE_LINK_NAME')
};
Expand Down
4 changes: 0 additions & 4 deletions src/components/ui/Auditor/AuditorSamples.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,7 @@
$: TRANSLATED = {
SAMPLE_SELECT_HEADING: $translate('PAGES.AUDIT.HD_SAMPLE_SELECT'),
SAMPLE_SELECT_INFO: $translate('PAGES.AUDIT.INF_AUDIT_SAMPLE'),
SAMPLE_SELECT_LABEL_SELECT_ALL: $translate('PAGES.AUDIT.SELECT_ALL'),
SAMPLE_SELECT_BUTTON_COMPLETE_SELECTED: $translate('PAGES.AUDIT.BTN_COMPLETE_SELECTED'),
SAMPLE_SELECT_BUTTON_UNCOMPLETE_SELECTED: $translate('PAGES.AUDIT.BTN_UNCOMPLETE_SELECTED'),
SAMPLE_SELECT_BUTTON_OPEN_SELECTED: $translate('PAGES.AUDIT.BTN_OPEN_SELECTED'),
SAMPLE_SELECT_TESTED: $translate('PAGES.AUDIT.TESTED'),
SAMPLE_SELECT_NO_SAMPLE: $translate('PAGES.AUDIT.NO_SAMPLE')
};
Expand Down
21 changes: 0 additions & 21 deletions src/locales/en/PAGES/AUDIT.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,18 @@
{
"ASSERTION_RESULT_DESCRIPTION_LABEL": "Observations",
"ASSERTION_RESULT_DESCRIPTION_PLACEHOLDER": "Observations made during evaluation",
"BTN_COLLAPSE_PAGES": "Hide web pages to enter individual results",
"BTN_COMPLETE_SELECTED": "Set selected to complete",
"BTN_EXPAND_PAGES": "Show web pages to enter individual results",
"BTN_OPEN_SELECTED": "Open selected pages",
"BTN_SHOW_TEXT": "Show criterion text",
"BTN_UNCOMPLETE_SELECTED": "Set selected to incomplete",
"CLICK_TO_DELETE": "Click to delete",
"FILTER_LEVEL_LEGEND": "Show conformance level",
"FILTER_NEW_IN_WCAG21": "Added in WCAG 2.1",
"FILTER_VERSION_LEGEND": "Show version",
"FILTER": "Show",
"HD_CRITERIA": "Success Criteria to Evaluate",
"HD_SAMPLE_SELECT": "Add results for pages",
"HOW_TO": "How to meet",
"INF_AUDIT_CRITERIA": "This section lists the WCAG 2 success criteria. Use the filter to show or hide success criteria of different levels (A, AA and AAA). You can select results as: 'Not checked', 'Passed', 'Failed', 'Not present', and 'Cannot tell'; and you can provide details, comments, or other observations made during evaluation in the accompanying text box.",
"INF_AUDIT_SAMPLE": "This section lists the web pages you selected in the previous step. The web pages that are checked in this section are listed when 'Show web pages to enter individual results' is activated in the 'Success Criteria to Evaluate' section. You can show an individual web page that you are evaluating, or show several web pages at the same time. <br> The chainlink icon opens the web page in a separate browser window.",
"INTRO": "Record the outcome from evaluating the web pages selected in the previous step. Compare the results between the structured page and randomly selected pages, and if needed, adjust the selected sample in the previous step.",
"INTRO_NOTE": "<strong>Note:</strong> For each WCAG 2 success criteria, you can enter 'Results for the entire sample' and you can enter results for individual web pages. You can choose to enter either or both. To enter individual results, select the web page(s) under 'Sample to Evaluate' (in the left column); then under the specific success criteria, select 'Show web pages to enter individual results '",
"IMPORT_DATA_INTRO": "Add data from other (automated) tests",
"RESOURCE_LINK_NAME": "Step 4: Audit the Selected Sample",
"LABEL_OUTCOME": "Outcome",
"LABEL_PAGE_HANDLE": "Short page name",
"NO_PAGE_SELECTED": "No pages selected under Sample to Evaluate",
"NO_SAMPLE": "No sample available.",
"NOTE": "Note",
"PRINCIPLE": "Principle",
"RESULTS_FOR": "Results for",
"SAMPLE_FINDINGS": "Entire sample",
"SELECT_ALL": "Select all",
"TESTED": "Tested",
"TITLE": "Step 4: Audit the Selected Sample",
"UNDERSTAND": "Understanding",
"UNTESTED": "{{critCount}} untested",
"VIEW_IN_REPORT": "View in report",
"LABEL_VERSION": "WCAG version",
"LABEL_LEVEL": "Conformance level",
Expand Down
4 changes: 0 additions & 4 deletions src/locales/en/PAGES/EXPLORE.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@
"INF_RELIEDUP_TECH": "Identify the web technologies [relied upon according to WCAG 2](https://www.w3.org/TR/WCAG21/#dfn-relied-upon) to provide the website. For more information, see [WCAG-EM Step 2.d: Identify Web Technologies Relied Upon](https://www.w3.org/TR/WCAG-EM/#step2d).",
"LABEL_TECH": "Web Technology",
"LABEL_TECH_SPEC": "Specification Address (URL)",
"PLH_TECH": "E.g. HTML5, CSS, DOM",
"PLH_TECH_SPEC": "Address (URL) or description for the web technology specification",
"BTN_REMOVE_TECH": "Remove technology",
"BTN_ADD_TECH": "Add web technology",
"HD_NOTE_TAKING": "Optional Exploration Notes",
"INF_NOTE_TAKING": "This section lets you record information during your website exploration. These notes are provided in the next step, to help you select a sample of web pages for evaluation. **These notes are not included in the final report.** They are saved when you save the file, and available when you later reload the file",
"LABEL_ESSENT_FUNC": "Essential functionality of the website",
"INF_ESSENT_FUNC": "You can use this field to take notes about essential functionality of the website. Examples of essential functionality include:<br> ‘selecting and purchasing a product from the shop area of the website’<br> ‘completing and submitting a form provided on the website’<br> ‘registering for an account on the website’<br> For more information, see [WCAG-EM Step 2.b: Identify Essential Functionality of the Website](https://www.w3.org/TR/WCAG-EM/#step2b).",
"LABEL_VARIETY_PAGE_TYPES": "Variety of web page types",
"INF_VARIETY_PAGE_TYPES": "You can use this field to take notes about the types (as opposed to instances) of web pages that you find on the web site. This includes notes about different styles, layouts, structures, and functionality provided on the website. For more information, see [WCAG-EM Step 2.c: Identify the Variety of Web Page Types](https://www.w3.org/TR/WCAG-EM/#step2c).<br> **Note**: ‘Web pages’ include different ‘web page states’; see definition of [web page states](https://www.w3.org/TR/WCAG-EM/#states).",
"LABEL_OTHER": "Others...",
"ADD_TECH": "Add"
}
4 changes: 0 additions & 4 deletions src/locales/en/PAGES/SAMPLE.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@
"LABEL_PAGE": "Address (URL) or description",
"NO_PAGES_DEFINED": "No pages defined for this list",
"ITEM": "Web page",
"PLH_TITLE": "Identifier for the web page",
"PLH_PAGE_URL": "Address (URL) or description of how to get there",
"BTN_ADD_PAGE": "Add web page",
"BTN_REMOVE_PAGE": "Remove page",
"STRUCTURED_PAGE": "Structured page",
"RANDOM_PAGE": "Random page",
"SAMPLE_PAGE": "Sample page",
"DELETE_CONFIRM": "Are you sure you would like to delete this sample page?"
}
2 changes: 0 additions & 2 deletions src/locales/en/PAGES/SCOPE.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"INF_SITE_SCOPE_LI0": "'All web content of the public website of Example Org. located at `http://www.example.org`'",
"INF_SITE_SCOPE_LI1": "'All web content of the online shop of Example Org. located at `http://www.example.org/shop/`'",
"INF_SITE_SCOPE_LI2": "'All web content of the mobile version of the public website of Example Org. located at `http://m.example.org`'",
"INF_SITE_SCOPE_1": "WCAG-EM Step 1.a: Define the Scope of the Website",
"LABEL_WCAG_VERSION": "WCAG Version",
"INFO_WCAG_VERSION": "Select the WCAG version to use. Version 2.2 (default), 2.1 or 2.0",
"WCAG22": "WCAG 2.2",
Expand All @@ -24,6 +23,5 @@
"INF_EXTRA_REQUIREMENTS_LI0": "'The report will include a list of all errors identified by the evaluator, rather than examples only'",
"INF_EXTRA_REQUIREMENTS_LI1": "'The report will include a description of the problem and repair suggestions for any errors listed'",
"INF_EXTRA_REQUIREMENTS_LI2": "'The evaluation will cover all web pages and web content of the website, rather than a selected sample only'",
"INF_EXTRA_REQUIREMENTS_1": "WCAG-EM Step 1.d: Define Additional Evaluation Requirements",
"DATA_LOSS_WARNING": "This change removes one or more evaluated criteria from the report. Your observations for these criteria will be deleted. Are you sure you want to continue?"
}
5 changes: 0 additions & 5 deletions src/locales/en/UI/COMMON.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"BROWSER_NOT_SUPPORTED": "The web browser you are using does not support some functionality, such as saving and loading reports. You can continue to use the Report Tool with limited functionality. Update or use a different web browser to make use of all functionality of this report tool.",
"WARNING_BEFORE_UNLOAD": "The data you entered is not automatically saved. It will be lost if you close this web browser window. Use the 'Save' link (Ctrl + S or ⌘ S) that is at the top of all pages to save your data in a file locally on your computer, and reload it later to continue working on it.",
"MORE_INFO": "For more information, see <a href={{url}}>{{name}}</a>.",
"HIDE_MESSAGE": "Hide message",
"ERROR": {
Expand All @@ -10,9 +8,6 @@
"NO": "No",
"NEXT": "Next {label}",
"PREVIOUS": "Previous {label}",
"CLICK_EXPAND": "Click to show section",
"CLICK_COLLAPSE": "Click to hide section",
"TO_TOP": "Back to top",
"ACTIVE": "Active",
"BUTTON": {
"ADD": "Add {subject}",
Expand Down
8 changes: 0 additions & 8 deletions src/locales/en/UI/ERROR.json

This file was deleted.

3 changes: 0 additions & 3 deletions src/locales/en/UI/IMPORT.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"TITLE": "Import a WCAG EARL report",
"INTRO": "If you have used another application to generate a WCAG EARL-report that falls into the scope of this evaluation, you may be able to import these and add them to the evaluation audit result. The file itself should be: JSON-LD parseable, consist of objects in EARL format and evaluation tests should be related to WCAG.",
"LABEL_SELECT_FILE": "Select a JSON-LD file",
"IMPORT": {
"HEADING": "Imported result {IMPORT_DATE, date, ::yyyy/MM/dd} by {AUTHOR}",
"TEST_PREFIX": "Test"
Expand Down
10 changes: 0 additions & 10 deletions src/locales/en/UI/MENUBAR.json

This file was deleted.

10 changes: 1 addition & 9 deletions src/locales/en/UI/NAV.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,14 @@
"MENU": "Menu",
"MENU_IMPORT": "Import data",
"MENU_IMPORT_HINT": "EARL as JSON-LD",
"MENU_IMPORT_TITLE": "Start EARL report import wizzard",
"MENU_NEW": "Start New Report",
"MENU_OPEN": "Open Report",
"MENU_SAVE": "Save Report",
"MENU_SAVE_TITLE": "Ctrl + S or ⌘ S",
"MENU_RESOURCES": "Key Resources",
"MENU_LANGUAGE": "Language",
"WZRD_LABEL": "Evaluation steps",
"WZRD_START": "Overview",
"WZRD_SCOPE": "1. Define Scope",
"WZRD_EXPLORE": "2. Explore Website",
"WZRD_SAMPLE": "3. Select Sample",
"WZRD_AUDIT": "4. Audit Sample",
"WZRD_REPORT": "5. Report Findings",
"WZRD_ACTIVE": "Active",
"WZRD_VIEWREPORT": "View Report",
"STEP": "step",
"STEP_START": "Start",
Expand All @@ -29,6 +22,5 @@
"VIEWREPORT": "View Report",
"CLEARREPORT": "Clear Report",
"NOT_STARTED": "No report started.",
"CLEARWARNING": "This will clear the current evaluation and start a new one. Are you sure that is what you would like to do?",
"BTN_BACK_TO_EVAL": "Back"
"CLEARWARNING": "This will clear the current evaluation and start a new one. Are you sure that is what you would like to do?"
}
7 changes: 0 additions & 7 deletions src/locales/en/UI/OPEN.json

This file was deleted.

1 change: 0 additions & 1 deletion src/locales/en/UI/REPORT.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"LABEL_RELIEDUP_TECH": "Relied Upon Technologies",
"LABEL_NOT_PROVIDED": "Not provided",
"HD_SCORE": "Overview of audit results",
"RESULTS_OF": "Results of",
"PRINCIPLE": "Principle",
"TOTAL_SCORE": "Total",
"HD_CRITERIA_REPORT": "Detailed Audit Results",
Expand Down
6 changes: 0 additions & 6 deletions src/locales/en/UI/SAVE.json

This file was deleted.

21 changes: 0 additions & 21 deletions src/locales/nl/PAGES/AUDIT.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,18 @@
{
"ASSERTION_RESULT_DESCRIPTION_LABEL": "Bevindingen",
"ASSERTION_RESULT_DESCRIPTION_PLACEHOLDER": "Bevindingen uit de evaluatie",
"BTN_COLLAPSE_PAGES": "Invoer voor per-pagina-resultaten verbergen",
"BTN_COMPLETE_SELECTED": "Markeer selectie als voltooid",
"BTN_EXPAND_PAGES": "Invoer voor per-pagina-resultaten weergeven",
"BTN_OPEN_SELECTED": "Open geselecteerde pagina's",
"BTN_SHOW_TEXT": "criteriumtekst weergeven",
"BTN_UNCOMPLETE_SELECTED": "Markeer selectie als onvoltooid",
"CLICK_TO_DELETE": "Klik om te verwijderen",
"FILTER_LEVEL_LEGEND": "Toon conformiteitsniveau",
"FILTER_NEW_IN_WCAG21": "Added in WCAG 2.1",
"FILTER_VERSION_LEGEND": "Toon versie",
"FILTER": "Toon",
"HD_CRITERIA": "Succescriteria om te evalueren",
"HD_SAMPLE_SELECT": "Voeg bevindingen toe over",
"HOW_TO": "Hoe te voldoen",
"INF_AUDIT_CRITERIA": "In dit onderdeel vindt u de WCAG 2.0 succescriteria. Gebruik de filter om succescriteria van niveaus (A, AA en AAA) te tonen of verbergen. Kies 'Voldoende', 'Onvoldoende', 'Niet van toepassing', en 'Onbekend' als resultaat. U kunt bevindingen en andere opmerkingen uit de evaluatie in het tekstveld invullen.",
"INF_AUDIT_SAMPLE": "In dit onderdeel vindt u de webpagina's uit de vorige stap. De webpagina's die in dit onderdeel geselecteerd worden zullen onder 'Invoer voor per-pagina-resultaten weergeven' worden weergegeven wanneer deze uitgeklapt is in het onderdeel 'Succescriteria om te evalueren'. U kunt per pagina, of meerdere webpagina's tegelijk weergeven. Met het linkicoon kunt u pagina's in een nieuw venster openen.",
"INTRO": "Beschrijf de resultaten uit de evaluatie van de webpagina's geselecteerd in de vorige stap. Vergelijk de resultaten tussen de geordende pagina's en de willekeurig gekozen pagina's, en waar nodig pas de geselecteerde sample in de vorige stap aan.",
"IMPORT_DATA_INTRO": "Voeg data toe uit andere (automatische) tests",
"INTRO_NOTE": "<strong>Opmerking:</strong> Voor elk WCAG 2.0 succescriterium, kunt u resultaten voor de volledige sample invullen, evenals resultaten voor specifieke pagina's. Om individuele resultaten in te vullen, selecteer pagina's onder 'Te evalueren sample' (in de linker kolom); vervolgens onder de succescriteria, kies 'Invoer voor per-pagina-resultaten weergeven'",
"RESOURCE_LINK_NAME": "Stap 4: Toets de sample",
"LABEL_OUTCOME": "Uitkomst",
"LABEL_PAGE_HANDLE": "Korte paginatitel",
"NO_PAGE_SELECTED": "Geen pagina geselecteerd onder 'Te evalueren sample'",
"NO_SAMPLE": "Geen sample beschikbaar.",
"NOTE": "Opmerking",
"PRINCIPLE": "Principe",
"RESULTS_FOR": "Uitkomst voor",
"SAMPLE_FINDINGS": "Hele sample",
"SELECT_ALL": "Alles selecteren",
"TESTED": "Getest",
"TITLE": "Stap 4: Toets de sample",
"UNDERSTAND": "Toelichting",
"UNTESTED": "{{critCount}} niet getest",
"VIEW_IN_REPORT": "In rapport",
"LABEL_VERSION": "Versie van WCAG",
"LABEL_LEVEL": "Conformanceniveau",
Expand Down
4 changes: 0 additions & 4 deletions src/locales/nl/PAGES/EXPLORE.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@
"INF_RELIEDUP_TECH": "Bepaal op welke webtechnologieën de website steund [volgens WCAG 2.0](https://www.w3.org/TR/WCAG21/#dfn-relied-upon). Voor meer informatie, zie [WCAG-EM Stap 2.d: Identificeer technologieën waarop gesteund wordt](https://www.w3.org/TR/WCAG-EM/#step2d).",
"LABEL_TECH": "Webtechnologie",
"LABEL_TECH_SPEC": "Specificatie adres (URL)",
"PLH_TECH": "Bv. HTML5, CSS, DOM",
"PLH_TECH_SPEC": "Locatie (URL) of instructie naar de specificatie",
"BTN_REMOVE_TECH": "Webtechnologie verwijderen",
"BTN_ADD_TECH": "Webtechnologie toevoegen",
"HD_NOTE_TAKING": "Eventuele aantekeningen uit verkenning",
"INF_NOTE_TAKING": "In dit onderdeel kunt u aantekeningen zetten die u maakt bij het verkennen van de website. Deze aantekeningen kunt u in de volgende stap gebruiken om webpagina's voor de sample te selecteren voor de evaluatie. **Deze notities komen niet in het eindrapport.** Wel worden ze bewaard wanneer u het onderzoek opslaat en het bestand later opent.",
"LABEL_ESSENT_FUNC": "Functionaliteiten essentieel voor de website",
"INF_ESSENT_FUNC": "Gebruik dit veld om essentiële functionaliteiten van de website te noteren. Voorbeelden van essentiële functionaliteiten zijn: <br> ‘Selecteer en bestel een product uit de webwinkel van de website’<br> ‘Afronden en versturen van een formulier op de website’<br>‘Een account op de website registreren’<br> Meer informatie vindt u in [WCAG-EM Stap 2.b: Identificeer essentiële functionaliteiten van de website](https://www.w3.org/TR/WCAG-EM/#step2b)",
"LABEL_VARIETY_PAGE_TYPES": "Diverse paginatypes",
"INF_VARIETY_PAGE_TYPES": "Gebruik dit veld om bij te houden welke diverse typen webpagina's u op de website heeft gevonden. Het gaat hier bijvoorbeeld om verschillende (opmaak)stijlen, layouts, indelingen en functionaliteiten op de website. Meer informatie vindt u in [WCAG-EM Stap 2.c: Identificeer diverse paginatypes](https://www.w3.org/TR/WCAG-EM/#step2c).<br> **Merk op**: Een ‘webpagina’ kan in verschillende 'webpagina-toestanden' bestaan; zie de definitie [webpagina-toestanden](https://www.w3.org/TR/WCAG-EM/#states).",
"LABEL_OTHER": "Anders...",
"ADD_TECH": "Toevoegen"
}
4 changes: 0 additions & 4 deletions src/locales/nl/PAGES/SAMPLE.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@
"LABEL_PAGE": "Locatie (URL) of instructie",
"NO_PAGES_DEFINED": "Er is geen pagina in deze lijst",
"ITEM": "Webpagina",
"PLH_TITLE": "Identificerende naam voor de webpagina",
"PLH_PAGE_URL": "Locatie (URL) of instructie van het te volgen pad",
"BTN_ADD_PAGE": "Pagina toevoegen",
"BTN_REMOVE_PAGE": "Pagina verwijderen",
"STRUCTURED_PAGE": "Geordende pagina",
"RANDOM_PAGE": "Willekeurige pagina",
"SAMPLE_PAGE": "Samplepagina",
"DELETE_CONFIRM": "Weet je zeker dat je deze samplepagina wilt verwijderen?"
}
Loading

0 comments on commit 8680a6d

Please sign in to comment.