crowdin

package
v0.0.0-...-9566d49 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BadSymbols = []rune{'\\', '/', ':', '*', '?', '"', '<', '>', '|'}

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(key string) *Client

func (*Client) AddFile

func (client *Client) AddFile(projectID string, localPath string, cloudFileName string) error

func (*Client) Download

func (client *Client) Download(destDir string, projectID string, skipUntranslatedStrings bool, skipUntranslatedFiles bool, exportApprovedOnly bool) ([]string, error)

func (*Client) FindFileId

func (client *Client) FindFileId(projectID string, fileName string) (string, error)

func (*Client) FindProjectIdByName

func (client *Client) FindProjectIdByName(name string) (string, error)

func (*Client) UpdateFile

func (client *Client) UpdateFile(projectID string, localPath string, cloudFileName string, fileID string) error

Jump to

Keyboard shortcuts

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