Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/frontend/course/common/consts.ts
Views: 687
/*1* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45import { defineMessage } from "react-intl";67import { CSS } from "@cocalc/frontend/app-framework";89export const SEARCH_STYLE: CSS = { marginBottom: "0px" } as const;1011// this could get translated somehow...12export const DUE_DATE_FILENAME = "DUE_DATE.txt";1314export const STEP_NAMES = [15"Assign",16"Collect",17"Peer Assign",18"Peer Collect",19"Return",20] as const;2122export type Steps = (typeof STEP_NAMES)[number];2324export const STEPS_INTL = defineMessage({25id: "course.student-assignment-info.steps",26// string as select match does not work, this is the index in the STEPS array27defaultMessage: `{step, select,280 {Assign}291 {Collect}302 {Peer Assign}313 {Peer Collect}324 {Return}33other {Unknown}34}`,35description:36"Label on a button, indicating the operation on files for a student in an online course.",37});3839export const STEPS_INTL_ACTIVE = defineMessage({40id: "course.student-assignment-info.steps.active",41defaultMessage: `{step, select,420 {Assigning}431 {Collecting}442 {Peer Assigning}453 {Peer Collecting}464 {Returning}47other {Unknown}48}`,49description:50"Label on a button, indicating the active operation on files for a student in an online course.",51});525354