mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-09-12 19:58:21 +02:00
feat: add i18n support for team management UI and role table header (#3702)
# Description of Changes - Replaced hardcoded strings in `team-details.html` and `teams.html` with internationalized message tags (e.g., `team.members`, `team.role`, etc.) - Introduced new message keys for team management across multiple `messages_*.properties` files - Added `text-overflow` styling to a shared CSS file (`modern-tables.css`) for reuse across admin pages - Removed the unused `adminUserSettings.roles` translation key and replaced it with the singular `adminUserSettings.role` where necessary These changes improve internationalization coverage in the team management views and prevent layout issues in tight table columns through shared styling. @Frooodle merge after #3701 --- ## Checklist ### General - [x] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [x] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [x] I have performed a self-review of my own code - [x] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [x] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details.
This commit is contained in:
@@ -212,6 +212,7 @@ color=لون
|
||||
sponsor=راعٍ
|
||||
info=معلومات
|
||||
pro=محترف
|
||||
proFeatures=Pro Features
|
||||
page=صفحة
|
||||
pages=صفحات
|
||||
loading=جارٍ التحميل...
|
||||
@@ -359,7 +360,6 @@ adminUserSettings.deleteUser=حذف المستخدم
|
||||
adminUserSettings.confirmDeleteUser=هل يجب حذف المستخدم؟
|
||||
adminUserSettings.confirmChangeUserStatus=هل يجب تعطيل/تمكين المستخدم؟
|
||||
adminUserSettings.usernameInfo=يمكن أن يحتوي اسم المستخدم فقط على أحرف وأرقام والرموز الخاصة التالية @._+- أو يجب أن يكون عنوان بريد إلكتروني صالح.
|
||||
adminUserSettings.roles=الأدوار
|
||||
adminUserSettings.role=الدور
|
||||
adminUserSettings.actions=الإجراءات
|
||||
adminUserSettings.apiUser=مستخدم API محدود
|
||||
@@ -389,6 +389,7 @@ adminUserSettings.teamName=Team Name
|
||||
adminUserSettings.teamExists=Team already exists
|
||||
adminUserSettings.teamCreated=Team created successfully
|
||||
adminUserSettings.teamChanged=User's team was updated
|
||||
adminUserSettings.teamHidden=Hidden
|
||||
adminUserSettings.totalMembers=Total Members
|
||||
adminUserSettings.confirmDeleteTeam=Are you sure you want to delete this team?
|
||||
|
||||
@@ -410,6 +411,16 @@ team.back=Back to Teams
|
||||
team.internal=Internal Team
|
||||
team.internalTeamNotAccessible=The Internal team is a system team and cannot be accessed
|
||||
team.cannotMoveInternalUsers=Users in the Internal team cannot be moved to other teams
|
||||
team.hidden=Hidden
|
||||
team.name=Team Name
|
||||
team.totalMembers=Total Members
|
||||
team.members=Members
|
||||
team.username=Username
|
||||
team.role=Role
|
||||
team.status=Status
|
||||
team.enabled=Enabled
|
||||
team.disabled=Disabled
|
||||
team.noMembers=This team has no members yet.
|
||||
|
||||
|
||||
|
||||
@@ -1702,5 +1713,3 @@ editTableOfContents.desc.1=This tool allows you to add or edit the table of cont
|
||||
editTableOfContents.desc.2=You can create a hierarchical structure by adding child bookmarks to parent bookmarks.
|
||||
editTableOfContents.desc.3=Each bookmark requires a title and target page number.
|
||||
editTableOfContents.submit=Apply Table of Contents
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user