strings

package
v0.0.0-...-bfc391e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Archived             = gotext.Get("archived")
	ArchivedUpper        = strings.ToUpper(Archived)
	Id                   = gotext.Get("id")
	IdUpper              = strings.ToUpper(Id)
	Name                 = gotext.Get("name")
	NameUpper            = strings.ToUpper(Name)
	Path                 = gotext.Get("path")
	PathUpper            = strings.ToUpper(Path)
	Status               = gotext.Get("status")
	StatusUpper          = strings.ToUpper(Status)
	Backlog              = gotext.Get("backlog")
	BacklogUpper         = strings.ToUpper(Backlog)
	ToDo                 = gotext.Get("to do")
	ToDoUpper            = strings.ToUpper(ToDo)
	InProgress           = gotext.Get("in progress")
	InProgressUpper      = strings.ToUpper(InProgress)
	InDevelopment        = gotext.Get("in development")
	InDevelopmentUpper   = strings.ToUpper(InDevelopment)
	InCodeReview         = gotext.Get("in code review")
	InCodeReviewUpper    = strings.ToUpper(InCodeReview)
	ReadyForTesting      = gotext.Get("ready for testing")
	ReadyForTestingUpper = strings.ToUpper(ReadyForTesting)
	QATesting            = gotext.Get("qa testing")
	QATestingUpper       = strings.ToUpper(QATesting)
	UATesting            = gotext.Get("ua testing")
	UATestingUpper       = strings.ToUpper(UATesting)
	ReadyForRelease      = gotext.Get("ready for release")
	ReadyForReleaseUpper = strings.ToUpper(ReadyForRelease)
	Released             = gotext.Get("released")
	ReleasedUpper        = strings.ToUpper(Released)
	Done                 = gotext.Get("done")
	DoneUpper            = strings.ToUpper(Done)
	Closed               = gotext.Get("closed")
	ClosedUpper          = strings.ToUpper(Closed)

	InvalidUpper = strings.ToUpper(invalid)
)

Words

View Source
var (
	ArchiveBoardDescription                    = gotext.Get("Archive a board")
	ArchiveDescription                         = gotext.Get("Archive a workspace, board, or task")
	ArchiveWorkspaceDescription                = gotext.Get("Archive a workspace")
	BajiraApplicationDescription               = gotext.Get("A bug tracker, issue tracker, and project management tool")
	BoardCreated                               = gotext.Get("Board created")
	BoardDeleted                               = gotext.Get("Board deleted")
	BoardArchived                              = gotext.Get("Board archived")
	BoardUnarchived                            = gotext.Get("Board unarchived")
	BoardIdDescription                         = gotext.Get("Id for the board")
	BoardNameDescription                       = gotext.Get("Name of the board")
	CreateBoardDescription                     = gotext.Get("Create a new board")
	CreateDescription                          = gotext.Get("Create a workspace, board, or task")
	CreateWorkspaceDescription                 = gotext.Get("Create a new workspace")
	DeleteBoardDescription                     = gotext.Get("Delete a board")
	DeleteDescription                          = gotext.Get("Delete a workspace, board, task, or subtask")
	DeleteWorkspaceDescription                 = gotext.Get("Delete a workspace")
	ListAllBoardsDescription                   = gotext.Get("List all boards")
	ListAllWorkspacesAndBoardsDescription      = gotext.Get("List all workspaces and boards")
	ListAllWorkspacesDescription               = gotext.Get("List all workspaces")
	ListArchivedBoardsDescription              = gotext.Get("List archived boards")
	ListArchivedWorkspacesAndBoardsDescription = gotext.Get("List archived workspaces and boards")
	ListArchivedWorkspacesDescription          = gotext.Get("List archived workspaces")
	ListBoardsDescription                      = gotext.Get("List boards")
	ListDescription                            = gotext.Get("List workspaces, boards, or tasks")
	ListWorkspaceDescription                   = gotext.Get("List workspaces")
	NewBoardIdDescription                      = gotext.Get("New id for the board")
	NewBoardNameDescription                    = gotext.Get("New name for the board")
	NewWorkspaceIdDescription                  = gotext.Get("New id for the workspace")
	NewWorkspaceNameDescription                = gotext.Get("New name for the workspace")
	SelectAWorkspace                           = gotext.Get("Select a workspace")
	UnarchiveBoardDescription                  = gotext.Get("Unarchive a board")
	UnarchiveDescription                       = gotext.Get("Unarchive a workspace, board, or task")
	UnarchiveWorkspaceDescription              = gotext.Get("Unarchive a workspace")
	UpdateBoardDescription                     = gotext.Get("Update a board")
	UpdateDescription                          = gotext.Get("Update a workspace, board, or task")
	UpdateWorkspaceDescription                 = gotext.Get("Update a workspace")
	WorkspaceArchived                          = gotext.Get("Workspace archived")
	WorkspaceCreated                           = gotext.Get("Workspace created")
	WorkspaceDeleted                           = gotext.Get("Workspace deleted")
	WorkspaceIdDescription                     = gotext.Get("Id for the workspace")
	WorkspaceNameDescription                   = gotext.Get("Name of the workspace")
	WorkspaceUnarchived                        = gotext.Get("Workspace unarchived")
)

Messages and Descriptions

Functions

func Capitalize

func Capitalize(lang language.Tag, str string) string

func FormatBool

func FormatBool(b bool, upper bool) string

FormatBool formats a boolean value to localized "true"/"false" and optionally converts to uppercase.

func FormatBoolCapitalized

func FormatBoolCapitalized(b bool, yesNo bool) string

FormatBoolCustom formats a boolean value either as localized "true"/"false" or "yes"/"no", capitalizing the result.

func FormatBoolYN

func FormatBoolYN(b bool, upper bool) string

FormatBoolYN formats a boolean value to localized "yes"/"no" and optionally converts to uppercase.

func SanitizeString

func SanitizeString(str string) string

func StringIsEmpty

func StringIsEmpty(str string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL