Files
iNaturalistReactNative/tests/factories/LocalTaxon.js
Ken-ichi fbf93e40d1 Add pre-commit checks for unused i18n keys and used keys not in strings.ftl (#1343)
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
2024-04-02 12:17:57 -07:00

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
} ) );