invalidProjects=`${projectNames.slice(0,-1).join(', ')}, and ${projectNames.pop()}`;
}elseif(projectNames.length>1){
invalidProjects=projectNames.join(' and ');
if(rest.length>0){
invalidProjects=sprintf(
s__('Dashboard|%{firstProject}, %{rest}, and %{secondProject}'),
translationValues,
);
}elseif(secondProject){
invalidProjects=sprintf(
s__('Dashboard|%{firstProject} and %{secondProject}'),
translationValues,
);
}else{
[invalidProjects]=projectNames;
invalidProjects=firstProject;
}
createFlash(
sprintf(
s__(
'OperationsDashboard|Unable to add %{invalidProjects}. The Operations Dashboard is available for public projects, and private projects in groups with a Gold plan.',
'Dashboard|Unable to add %{invalidProjects}. This dashboard is available for public projects, and private projects in groups with a Gold plan.',
msgid "Dashboard|%{firstProject} and %{secondProject}"
msgstr ""
msgid "Dashboard|%{firstProject}, %{rest}, and %{secondProject}"
msgstr ""
msgid "Dashboard|Unable to add %{invalidProjects}. This dashboard is available for public projects, and private projects in groups with a Gold plan."
msgstr ""
msgid "Data is still calculating..."
msgstr ""
...
...
@@ -8310,9 +8319,6 @@ msgstr ""
msgid "OperationsDashboard|The operations dashboard provides a summary of each project's operational health, including pipeline and alert statuses."
msgstr ""
msgid "OperationsDashboard|Unable to add %{invalidProjects}. The Operations Dashboard is available for public projects, and private projects in groups with a Gold plan."
msgstr ""
msgid "Optional"
msgstr ""
...
...
@@ -10996,7 +11002,7 @@ msgstr ""
msgid "Something went wrong, unable to add %{project} to dashboard"
msgstr ""
msgid "Something went wrong, unable to get operations projects"
msgid "Something went wrong, unable to get projects"
msgstr ""
msgid "Something went wrong, unable to remove project"