mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-06-22 22:49:01 -04:00
FYI, this also essentially outlaws variables in translation keys because a key that is only used with interpolated strings will never appear as "used". Also starts using a convention of adding info to i18n keys that do not relate to the text after double dashes, e.g. `Unknown--taxon = Unknown` for a string that is specifically meant to describe a missing taxon but only needs to have the word "Unknown". * Changed several accessibilityHints to 3rd person * Made several accessibilityLabels shorter and more verb-oriented * Removed many unused i18n keys * Refactored variables in i18n keys * Removed some unused code from the old Settings
12 lines
294 B
JavaScript
12 lines
294 B
JavaScript
import { define } from "factoria";
|
|
|
|
export default define( "LocalTaxon", faker => ( {
|
|
_synced_at: faker.date.past( ),
|
|
id: faker.number.int( ),
|
|
is_active: true,
|
|
name: faker.person.fullName( ),
|
|
preferred_common_name: faker.person.fullName( ),
|
|
rank: "species",
|
|
rank_level: 10
|
|
} ) );
|