Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor updates to i18n strings for clarity and consistency #2705

Merged
merged 4 commits into from
Feb 7, 2024

Conversation

alanorth
Copy link
Contributor

@alanorth alanorth commented Dec 8, 2023

Description

Minor updates to i18n strings for clarity and consistency. For example:

  • "mydspace.status.mydspaceWaitingController": "Waiting for controller" — what is a "controller"?

After some discussion on Slack we decided that "reviewer" is more clear than "controller".

As well as some others:

  • "mydspace.results.no-uri": "No Uri" — URI is an acronym and should be capitalized
  • "mydspace.search-form.placeholder": "Search in mydspace..." — lower case mysdspace
  • "mydspace.title": "MyDSpace" — camel case MyDSpace
  • "nav.user-profile-menu-and-logout": "User profile menu and Log Out" — why is "Log Out" capitalized?
  • Standardize email instead of e-mail because there were 61 occurrences of the former and only seven of the latter, and e-mail seems antiquated

Instructions for Reviewers

Build the application and check if the user interface has updated strings. Most importantly, check the status filter in the workflow to make sure the new "Waiting for reviewer" strings and labels work correctly.

List of changes in this PR:

  • Update i18n strings

Checklist

  • My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
  • My PR passes ESLint validation using yarn lint
  • My PR doesn't introduce circular dependencies (verified via yarn check-circ-deps)
  • My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
  • My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
  • If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
  • If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
  • If my PR fixes an issue ticket, I've linked them together.

Reviewer is a less obscure term for what this actually is in most
cases.
We should be capitalizing acronyms and project-specific nouns like
MyDSpace consistently in our interface.
Fix some random capitalizations and strange wording.
@alanorth alanorth added i18n / l10n Internationalisation and localisation, related to message catalogs 1 APPROVAL pull request only requires a single approval to merge port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release labels Dec 8, 2023
alanorth added a commit to ilri/dspace-angular that referenced this pull request Dec 8, 2023
- change "controller" to "reviewer"
- capitalize acronyms and project-specific nouns like
  MyDSpace consistently in our interface.
- fix some random capitalizations and strange wording.

Temporary until upstream patch is merged.

See: DSpace#2705
alanorth added a commit to ilri/dspace-angular that referenced this pull request Jan 12, 2024
- change "controller" to "reviewer"
- capitalize acronyms and project-specific nouns like
  MyDSpace consistently in our interface.
- fix some random capitalizations and strange wording.

Temporary until upstream patch is merged.

See: DSpace#2705
alanorth added a commit to ilri/dspace-angular that referenced this pull request Jan 23, 2024
- change "controller" to "reviewer"
- capitalize acronyms and project-specific nouns like
  MyDSpace consistently in our interface.
- fix some random capitalizations and strange wording.

Temporary until upstream patch is merged.

See: DSpace#2705
alanorth added a commit to ilri/dspace-angular that referenced this pull request Jan 26, 2024
- change "controller" to "reviewer"
- capitalize acronyms and project-specific nouns like
  MyDSpace consistently in our interface.
- fix some random capitalizations and strange wording.

Temporary until upstream patch is merged.

See: DSpace#2705
alanorth added a commit to ilri/dspace-angular that referenced this pull request Feb 4, 2024
- change "controller" to "reviewer"
- capitalize acronyms and project-specific nouns like
  MyDSpace consistently in our interface.
- fix some random capitalizations and strange wording.

Temporary until upstream patch is merged.

See: DSpace#2705
alanorth added a commit to ilri/dspace-angular that referenced this pull request Feb 6, 2024
- change "controller" to "reviewer"
- capitalize acronyms and project-specific nouns like
  MyDSpace consistently in our interface.
- fix some random capitalizations and strange wording.

Temporary until upstream patch is merged.

See: DSpace#2705
Copy link
Member

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks @alanorth ! Minor, but important, cleanup to english grammar/descriptions. Tested this locally and it works. Merging immediately & auto-porting to 7.6.x

@tdonohue tdonohue added this to the 8.0 milestone Feb 7, 2024
@tdonohue tdonohue merged commit 44e84f8 into DSpace:main Feb 7, 2024
13 checks passed
@dspace-bot
Copy link
Contributor

Successfully created backport PR for dspace-7_x:

@tdonohue tdonohue removed the port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release label Feb 7, 2024
@alanorth alanorth deleted the i18n-fixes branch February 7, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 APPROVAL pull request only requires a single approval to merge i18n / l10n Internationalisation and localisation, related to message catalogs
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

4 participants