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

DCOS-43383: Translate /plugins component strings #3372

Merged
merged 87 commits into from
Nov 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
f0b4dce
feat(ConfigurationMapBooleanValue): handle marked and pretranslated s…
natmegs Oct 17, 2018
2c5d3b3
feat(DeclinedOffersTable): mark strings for translation
natmegs Oct 18, 2018
8912045
feat(DeploymentsModal): handle marking and pretranslating component s…
natmegs Oct 19, 2018
c24a351
feat(DeploymentStatusIndicator): mark component strings for translation
natmegs Oct 19, 2018
e4fcf8c
feat(FilterByService): translate component strings
natmegs Oct 19, 2018
fd4e39e
feat(MarathonTaskDetailsList): translate component strings
natmegs Oct 19, 2018
1d7e843
feat(PodDetail): translate component strings
natmegs Oct 19, 2018
67dc850
feat(RecentOffersSummary): translate component strings
natmegs Oct 19, 2018
c6fcf3f
feat(SearchLog): translate component strings
natmegs Oct 19, 2018
73603fd
feat(ServiceBreadcrumbs): translate component strings including plural
natmegs Oct 19, 2018
cb3e3c3
feat(ServiceItemNotFound): translate default message
natmegs Oct 19, 2018
97303ad
feat(ServiceList): translate plural tooltip content
natmegs Oct 19, 2018
b576b75
feat(ServiceStatusIcon): translate component strings
natmegs Oct 19, 2018
b27b906
feat(ServiceStatusProgressBar): translate pluralized tooltip content
natmegs Oct 20, 2018
413fe9e
feat(ServiceStatusWarningWithDebugInstruction): translate component s…
natmegs Oct 20, 2018
ca1a864
feat(VolumeTable): translate table headers
natmegs Oct 20, 2018
c19984e
feat(FuzzyTextDSLSection): pretranslate placeholder
natmegs Oct 20, 2018
6f473ef
feat(ContainerServiceFormAdvancedSection): translate component strings
natmegs Oct 20, 2018
82c452c
feat(GeneralServiceFormSection): pretranslate component strings
natmegs Oct 20, 2018
f552613
feat(MultiContainerNetworkingFormSection): translate component strings
natmegs Oct 20, 2018
569208b
feat(NetworkingFormSection): translate component strings)
natmegs Oct 20, 2018
3843d3e
feat(CreateServiceJsonOnly): pretranslate error message
natmegs Oct 20, 2018
4de9222
feat(CreateServiceModal): mark and pretranslate component strings
natmegs Oct 20, 2018
775478a
feat(CreateServiceModalForm): translate component strings
natmegs Oct 20, 2018
60e0b64
feat(KillPodInstanceModal): mark and pretranslate component strings
natmegs Oct 22, 2018
203af38
feat(KillTaskModal): mark and pretranslate component strings
natmegs Oct 22, 2018
4e1cb07
feat(ServiceActionDisableModal): mark and pretranslate components str…
natmegs Oct 22, 2018
9ec69c1
feat(ServiceDestroyModal): pretranslate component strings
natmegs Oct 22, 2018
e323409
feat(ServiceGroupFormModal): pretranslate component strings
natmegs Oct 22, 2018
7faa3d9
feat(ServiceRestartModal): mark and pretranslate component strings
natmegs Oct 22, 2018
37c5a17
feat(ServiceResumeModal): pretranslate button text
natmegs Oct 23, 2018
ccb0e75
feat(ServiceScaleFormModal): translate modal header text
natmegs Oct 23, 2018
fcb2e1a
feat(ServiceStopModal): pretranslate component strings
natmegs Oct 23, 2018
42be582
feat(PodConfigurationContainer): translate version header
natmegs Oct 23, 2018
cb476a9
feat(PodContainerTerminationTable): translate table headers
natmegs Oct 23, 2018
3e85710
feat(PodDebugContainer): translate component text
natmegs Oct 23, 2018
951a3d2
feat(PodDetail): mark table headers for translation
natmegs Oct 23, 2018
02bf2b5
feat(PodHeader): translate button text
natmegs Oct 23, 2018
d407fd6
feat(PodInstancesTable): translate tooltip content
natmegs Oct 23, 2018
c33ab57
feat(PodInstancesView): translate component strings
natmegs Oct 23, 2018
daa9ff0
feat(ServiceConfiguration): translate component strings
natmegs Oct 23, 2018
f1a7f4f
feat(ServiceConnectionEndpointList): translate component strings
natmegs Oct 23, 2018
d91be19
feat(ServiceConnectionEndpointList): translate component strings
natmegs Oct 23, 2018
172df3a
feat(ServiceNoEndpointsPanel): translate component text
natmegs Oct 23, 2018
fe38047
feat(ServicePodConnectionEndpointList): translate component text
natmegs Oct 23, 2018
6206421
feat(ServiceDebugContainer): translate component text
natmegs Oct 23, 2018
e8a9793
feat(TaskStatsTable): translate component text
natmegs Oct 23, 2018
2fa4a0b
feat(ServiceDetail): mark and translate component text
natmegs Oct 23, 2018
fe23a3f
feat(EmptyServiceTree): translate component text
natmegs Oct 23, 2018
6cf0576
feat(ServicesContainer): translate service item not found message
natmegs Oct 23, 2018
804710f
feat(ServicesTable): translate component text
natmegs Oct 23, 2018
ad49855
feat(ServiceTreeView): mark and translate component text
natmegs Oct 23, 2018
88284ae
feat(TasksView): mark, translate and pretranslate component strings
natmegs Oct 23, 2018
627778a
feat(PodVolumeContainer): translate component text
natmegs Oct 23, 2018
73a55a0
feat(PodVolumeDetail): translate component text
natmegs Oct 23, 2018
f16e020
feat(ServiceVolumeContainer): translate component text
natmegs Oct 23, 2018
8a7e123
feat(TaskVolumeContainer): translate component text
natmegs Oct 23, 2018
11c5d38
feat(VolumeDetail): translate component text
natmegs Oct 23, 2018
858eb5b
feat(ServiceTaskDetailPage): mark strings for translation
natmegs Oct 23, 2018
d91635b
feat(TaskDetail): translate component strings
natmegs Oct 23, 2018
cddd7df
feat(TaskFileViewer): translate tooltip content
natmegs Oct 23, 2018
fa1d62f
feat(PodContainerArtifactsConfigSection): mark and translate componen…
natmegs Oct 23, 2018
e71a572
feat(PodContainerConfigSection): translate component text
natmegs Oct 23, 2018
aa45ea3
feat(PodContainersConfigSection): translate component text
natmegs Oct 23, 2018
01f787d
feat(PodEnvironmentVariablesConfigSection): translate component strings
natmegs Oct 23, 2018
925603b
feat(PodGeneralConfigSection): translate component text
natmegs Oct 23, 2018
9461dbc
feat(PodHealthChecksConfigSection): translate component text
natmegs Oct 23, 2018
91a888c
feat(PodLabelsConfigSection): translate component text
natmegs Oct 23, 2018
722c7fe
feat(PodNetworkConfigSection): translate component text
natmegs Oct 23, 2018
c2fa0f9
feat(PodPlacementConstraintsConfigSection): translate component text
natmegs Oct 23, 2018
35b0a6a
feat(PodStorageConfigSection): translate component text
natmegs Oct 23, 2018
39707e3
feat(ServiceConfigBaseSectionDisplay): translate component text
natmegs Oct 23, 2018
d837475
feat(ServiceEnvironmentVariablesConfigSection): translate component s…
natmegs Oct 24, 2018
682487b
feat(ServiceGeneralConfigSection): translate component text
natmegs Oct 24, 2018
4cd86d8
feat(ServiceHealthChecksConfigSection): translate component text
natmegs Oct 24, 2018
9810012
feat(ServiceLabelsConfigSection): translate component text
natmegs Oct 24, 2018
929562b
feat(ServiceNetworkingConfigSection): translate component text
natmegs Oct 24, 2018
f1a2d0e
feat(ServicePlacementConstraintsConfigSection): translate component text
natmegs Oct 24, 2018
ed8dcf1
feat(ServiceStorageConfigSection): translate component text
natmegs Oct 24, 2018
090bebb
feat(Nodes): translate text content
natmegs Oct 24, 2018
536720c
feat(Jobs): translate component text
natmegs Oct 24, 2018
8ac0046
feat(Repositories): translate component text
natmegs Oct 24, 2018
9fd2f02
feat(AuthenticatedUserAccountDropdown): translate dropdown content
natmegs Oct 24, 2018
97168dd
chore(messages.json): update translation catalog
natmegs Oct 24, 2018
95a0fda
chore(react-intl): remove any deprecated references to react-intl
natmegs Oct 26, 2018
298f123
chore: wrap Network Name with Trans
nLight Oct 26, 2018
e2dcf8a
chore(messages.json): update translation message catalog
natmegs Nov 5, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ You will need a fully functional cluster to run your system tests.

## i18n

DCOS UI uses [React-Intl](https://github.com/yahoo/react-intl) to enable i18n, please look at the documentation. Currently this project is only supporting `en-us` but planning to support more languages/locales in the future.
DCOS UI uses [lingui](https://github.com/lingui/js-lingui) to enable i18n, please look at the documentation. Currently this project is only supporting `en-us` but planning to support more languages/locales in the future.
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️


### translations ids

Expand Down Expand Up @@ -524,10 +524,9 @@ A good example of translations:

### Translations strings

When formatting a string containing multiple pieces of logic and/or translation IDs you can follow the [documentation here](https://github.com/yahoo/react-intl/wiki/Components#string-formatting-components) where you can also work with plural strings
but if you are looking to compose a normal string with a plural string you can use the component [formattedPlural](https://github.com/yahoo/react-intl/wiki/Components#formattedplural).
When formatting a string containing multiple pieces of logic and/or translation IDs you can follow the [documentation here](https://lingui.js.org/tutorials/react.html#formatting). Iff you are looking to format a plural string you can use the [Plural](https://lingui.js.org/tutorials/react.html#plurals) macro.

Keep in mind that React-intl follows the React pattern where everything is a component that way making it easier to compose and reason about the application.
Keep in mind that lingui follows the React pattern where everything is a component that way making it easier to compose and reason about the application.

### New translation files

Expand Down
Loading