Skip to main content

Words

Struct Words 

Source
#[non_exhaustive]
pub struct Words {
Show 71 fields pub new: String, pub delete: String, pub save: String, pub save_and_close: String, pub save_and_new: String, pub cancel: String, pub previous: String, pub next: String, pub refresh: String, pub back: String, pub delete_question: String, pub delete_detail: String, pub discard_question: String, pub discard_detail: String, pub discard: String, pub new_record: String, pub variant: String, pub link: String, pub unlink: String, pub save_first: String, pub filter: String, pub clone: String, pub clone_unsaved: String, pub save_file: String, pub warning_question: String, pub warning_answer: String, pub conflict_question: String, pub conflict_detail: String, pub conflict_answer: String, pub list_editor_needs: String, pub no_resource: String, pub chart_count: String, pub reminders: String, pub working: String, pub stopping: String, pub snooze: String, pub dismiss: String, pub open: String, pub yes: String, pub no: String, pub access_denied: String, pub protected_value: String, pub sign_in: String, pub sign_out: String, pub sign_in_failed: String, pub user_name: String, pub password: String, pub current_password: String, pub new_password: String, pub repeat_password: String, pub sign_in_unavailable: String, pub passwords_differ: String, pub password_too_short: String, pub password_wrong_current: String, pub password_saved: String, pub save_password: String, pub change_password: String, pub set_password: String, pub must_change_password: String, pub first_user: String, pub create_user: String, pub model_editor: String, pub search_model: String, pub pick_model_node: String, pub apply: String, pub restore_model: String, pub record_gone: String, pub rules: RuleWords, pub money_prefix: String, pub thousands: char, pub decimal: char,
}
Expand description

The words the generated screens use.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§new: String

Creates a record.

§delete: String

Removes what is selected.

§save: String

Keeps the changes.

§save_and_close: String

Keeps the changes and leaves.

§save_and_new: String

Keeps the changes and starts another.

§cancel: String

Throws away the changes and leaves.

§previous: String

The record before.

§next: String

The record after.

§refresh: String

Reads again.

§back: String

Goes to the screen before.

§delete_question: String

The question before removing.

§delete_detail: String

What the removal does.

§discard_question: String

The question before losing changes.

§discard_detail: String

What losing changes does.

§discard: String

Agrees to lose them.

§new_record: String

A record being created.

§variant: String

The menu of the ways to see a list.

§link: String

Puts an existing record on a list inside a form.

§unlink: String

Takes a record off a list inside a form, without removing it.

§save_first: String

Where a list inside a form would be, while its record is not kept yet.

§filter: String

The menu of the filters ready on a list.

§clone: String

Makes a new record from the one selected.

§clone_unsaved: String

Why a record cannot be cloned while it has changes.

§save_file: String

Takes a file out, to wherever people say.

§warning_question: String

The question when rules only warn.

§warning_answer: String

Goes on in spite of what rules warn about.

§conflict_question: String

The question when someone else changed the same fields, where {0} is which ones.

§conflict_detail: String

What keeping one’s own changes does, where {0} is which fields.

§conflict_answer: String

Keeps one’s own changes over the other person’s.

§list_editor_needs: String

What a way of showing a list says when something it needs is missing.

§no_resource: String

A row of a timeline for records that point to no resource.

§chart_count: String

The series of a chart that counts records.

§reminders: String

Things to be reminded of.

§working: String

Background work that cannot say what it is doing.

§stopping: String

Background work asked to stop, until it does.

§snooze: String

Reminds again later.

§dismiss: String

Stops reminding.

§open: String

Opens what a reminder is about.

§yes: String

A field that is on.

§no: String

A field that is off.

§access_denied: String

What people are told when something is refused.

§protected_value: String

What shows in place of a field the person cannot read.

§sign_in: String

Enters the application.

§sign_out: String

Leaves the application.

§sign_in_failed: String

Says signing in did not work, without saying why.

§user_name: String

The name someone signs in with.

§password: String

Their password.

§current_password: String

The password they have now.

§new_password: String

The password they want.

§repeat_password: String

The same again.

§sign_in_unavailable: String

Signing in could not be tried.

§passwords_differ: String

The two are not the same.

§password_too_short: String

It is too short.

§password_wrong_current: String

The current one is not right.

§password_saved: String

It was changed.

§save_password: String

Keeps the new password.

§change_password: String

Changes one’s own password.

§set_password: String

Gives someone a password.

§must_change_password: String

Why they have to choose one now.

§first_user: String

What the first screen of a new installation says.

§create_user: String

Creates the first person.

§model_editor: String

The editor of the application’s model.

§search_model: String

Looks for a node of the model.

§pick_model_node: String

What shows before a node is picked.

§apply: String

Applies what was typed.

§restore_model: String

Throws away the person’s own changes to the model.

§record_gone: String

Why what is on a form cannot be kept any more.

§rules: RuleWords

What fails a rule.

§money_prefix: String

In front of money.

§thousands: char

Between thousands.

§decimal: char

Before decimals.

Implementations§

Source§

impl Words

Source

pub fn from_texts(texts: &Texts) -> Self

The texts of a catalog, in its language. What it does not have comes from English.

Source

pub fn pt_br() -> Self

In Brazilian Portuguese.

Trait Implementations§

Source§

impl Clone for Words

Source§

fn clone(&self) -> Words

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Words

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Words

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl Freeze for Words

§

impl RefUnwindSafe for Words

§

impl Send for Words

§

impl Sync for Words

§

impl Unpin for Words

§

impl UnsafeUnpin for Words

§

impl UnwindSafe for Words

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> Finish for T

§

fn finish(self)

Does nothing but move self, equivalent to drop.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more