onoma 0.5.0 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +609 -0
- data/config/locales/arb.yml +2 -1
- data/config/locales/cmn.yml +3 -1
- data/config/locales/deu.yml +2 -1
- data/config/locales/eng.yml +76 -2
- data/config/locales/fra.yml +82 -5
- data/config/locales/ita.yml +2 -1
- data/config/locales/jpn.yml +4 -1
- data/config/locales/por.yml +2 -1
- data/config/locales/spa.yml +2 -1
- data/db/reference.xml +85 -3
- data/lib/onoma.rb +2 -0
- data/lib/onoma/item.rb +32 -19
- data/lib/onoma/migration/actions/item_change.rb +5 -5
- data/lib/onoma/migration/actions/item_creation.rb +4 -5
- data/lib/onoma/migration/actions/nomenclature_change.rb +1 -0
- data/lib/onoma/migration/actions/nomenclature_creation.rb +8 -1
- data/lib/onoma/migration/actions/property_creation.rb +2 -1
- data/lib/onoma/migration/base.rb +1 -0
- data/lib/onoma/migrator/translation.rb +2 -1
- data/lib/onoma/nomenclature.rb +57 -24
- data/lib/onoma/nomenclature_set.rb +5 -5
- data/lib/onoma/property_nature.rb +1 -0
- data/lib/onoma/record/base.rb +4 -2
- data/lib/onoma/version.rb +1 -1
- data/onoma.gemspec +14 -12
- metadata +57 -299
- data/.gitignore +0 -13
- data/.gitlab-ci.yml +0 -14
- data/.travis.yml +0 -4
- data/CODE_OF_CONDUCT.md +0 -13
- data/Gemfile +0 -6
- data/LICENSE.txt +0 -21
- data/README.md +0 -53
- data/Rakefile +0 -92
- data/db/migrate/20150813022423_add_data.xml +0 -5740
- data/db/migrate/20150813224145_fix_zea.xml +0 -14
- data/db/migrate/20150813224155_fix_hordeum.xml +0 -175
- data/db/migrate/20150814104907_rename_charts_of_accounts.xml +0 -4
- data/db/migrate/20150817202608_rename_abaci.xml +0 -19
- data/db/migrate/20150818132801_add_vinifera_product_exchangers.xml +0 -4
- data/db/migrate/20150818152001_add_wine_bottles.xml +0 -13
- data/db/migrate/20150818232501_add_vinifera_sale_exchangers.xml +0 -4
- data/db/migrate/20150820212931_remove_abaci.xml +0 -19
- data/db/migrate/20150821082601_add_grain_variants.xml +0 -4
- data/db/migrate/20150821230800_rename_invalid_document_natures.xml +0 -12
- data/db/migrate/20150825180658_add_production_usages.xml +0 -5
- data/db/migrate/20150826091319_add_leguminous_crop.xml +0 -11
- data/db/migrate/20150826092813_add_cannabis_varieties.xml +0 -51
- data/db/migrate/20150826100013_add_thicket_varieties.xml +0 -9
- data/db/migrate/20150826103353_add_eis_plant.xml +0 -31
- data/db/migrate/20150902081701_add_garden_varieties.xml +0 -7
- data/db/migrate/20150905094701_add_milklic_individual_production_exchangers.xml +0 -4
- data/db/migrate/20150914095928_add_meteorological_analysis_nature.xml +0 -46
- data/db/migrate/20150916110501_add_grain_analysis.xml +0 -5
- data/db/migrate/20150916151652_fix_product_nature_variant_units.xml +0 -515
- data/db/migrate/20150919123840_fix_plant_varieties.xml +0 -36
- data/db/migrate/20150919223801_change_walnut_nature.xml +0 -6
- data/db/migrate/20150920212201_add_fruit_harvest.xml +0 -4
- data/db/migrate/20150921104001_add_fuel_consumption_indicator.xml +0 -7
- data/db/migrate/20150921110601_add_crumbs_exchangers.xml +0 -4
- data/db/migrate/20150921175601_add_units_liter_per_hour.xml +0 -4
- data/db/migrate/20151001154701_add_missing_variants.xml +0 -9
- data/db/migrate/20151019090110_add_json_exchange_natures.xml +0 -11
- data/db/migrate/20151021172901_add_missing_indicator_on_animals.xml +0 -12
- data/db/migrate/20151027095601_add_missing_issue_natures.xml +0 -6
- data/db/migrate/20151102110723_add_daily_nitrogen_production_indicator.xml +0 -4
- data/db/migrate/20151107122501_add_cap_statements_exchangers.xml +0 -4
- data/db/migrate/20151111212501_add_missing_cap_productions.xml +0 -15
- data/db/migrate/20151117192943_change_procedure_nomenclatures.xml +0 -159
- data/db/migrate/20151122101101_add_missing_tropical_cap_varieties.xml +0 -33
- data/db/migrate/20151125163801_add_missing_varieties.xml +0 -7
- data/db/migrate/20151209000401_add_missing_crop_sets.xml +0 -12
- data/db/migrate/20151209011801_add_missing_varieties.xml +0 -45
- data/db/migrate/20151209094701_add_oleaginous_missing_varieties.xml +0 -11
- data/db/migrate/20151209103601_add_proteaginous_missing_varieties.xml +0 -6
- data/db/migrate/20151210150144_add_daucus_carota_varieties.xml +0 -38
- data/db/migrate/20151210163440_add_phaseolus_varieties.xml +0 -11
- data/db/migrate/20151210164511_add_allium_porrum_varieties.xml +0 -13
- data/db/migrate/20151210170103_add_allium_cepa_varieties.xml +0 -6
- data/db/migrate/20151211114316_add_beta_varieties.xml +0 -4
- data/db/migrate/20151211115500_add_brassica_varieties.xml +0 -50
- data/db/migrate/20151211124757_add_allium_schoenoprasum_varieties.xml +0 -4
- data/db/migrate/20151211132045_add_cucurbita_varieties.xml +0 -13
- data/db/migrate/20151211143806_add_spinacia_oleracea_varieties.xml +0 -5
- data/db/migrate/20151211151402_add_lactuca_varieties.xml +0 -6
- data/db/migrate/20151211153218_add_zea_mays_varieties.xml +0 -46
- data/db/migrate/20151214084817_add_hordeum_varieties.xml +0 -5
- data/db/migrate/20151214085342_add_pastinaca_sativa_varieties.xml +0 -4
- data/db/migrate/20151214085721_add_pisum_sativum_varieties.xml +0 -8
- data/db/migrate/20151214090420_add_solanum_tuberosum_varieties.xml +0 -4
- data/db/migrate/20151214091020_add_raphanus_varieties.xml +0 -8
- data/db/migrate/20151214092727_add_glycine_max_varieties.xml +0 -4
- data/db/migrate/20151215132825_add_abilities.xml +0 -7
- data/db/migrate/20151215133320_add_equipment_variants.xml +0 -43
- data/db/migrate/20151215214901_add_openwheatermap_identifiers.xml +0 -5
- data/db/migrate/20151216095351_add_ridger_equipment_variants.xml +0 -4
- data/db/migrate/20151216100708_add_lifter_equipment_variants.xml +0 -4
- data/db/migrate/20151216160914_add_raphanus_sativus_varieties.xml +0 -4
- data/db/migrate/20151216182551_add_more_units.xml +0 -7
- data/db/migrate/20151218081701_add_crops_issue_natures.xml +0 -11
- data/db/migrate/20151222162657_add_varieties.xml +0 -18
- data/db/migrate/20151222180021_remove_population.xml +0 -402
- data/db/migrate/20151223164501_update_organic_fertilizer.xml +0 -4
- data/db/migrate/20151223171801_update_indicators.xml +0 -4
- data/db/migrate/20160104145418_add_matters.xml +0 -14
- data/db/migrate/20160104160843_change_product_nature_variants_drain.xml +0 -4
- data/db/migrate/20160105095120_add_plugin_cap_varieties.xml +0 -261
- data/db/migrate/20160106095232_add_orchard_plugin_cap_varieties.xml +0 -405
- data/db/migrate/20160108142009_add_product_nature_variants_nematicide.xml +0 -6
- data/db/migrate/20160113144856_update_prunus_avium_parent.xml +0 -32
- data/db/migrate/20160115090243_change_plant_varieties.xml +0 -7
- data/db/migrate/20160119115401_add_shipping_note_document.xml +0 -4
- data/db/migrate/20160128093149_fixes_invalid_parent.xml +0 -102
- data/db/migrate/20160128154202_add_product_natures_protective_canvas.xml +0 -6
- data/db/migrate/20160204115942_change_protective_net_nature.xml +0 -4
- data/db/migrate/20160204122030_change_cover_implanter_abilities.xml +0 -6
- data/db/migrate/20160206163031_simplifies_activity_families.xml +0 -135
- data/db/migrate/20160207142352_fix_spelling_mistakes_on_associate_accounts.xml +0 -7
- data/db/migrate/20160210124624_fix_invalid_abilities_on_product_natures.xml +0 -5
- data/db/migrate/20160224234901_add_seedling_sorting.xml +0 -4
- data/db/migrate/20160310145038_add_rhodes_grass.xml +0 -5
- data/db/migrate/20160315152217_remove_exchange_natures.xml +0 -4
- data/db/migrate/20160402125244_add_some_heavy_equipment.xml +0 -14
- data/db/migrate/20160408223901_change_zea_variety.xml +0 -14
- data/db/migrate/20160410082230_add_chemical_classifications.xml +0 -486
- data/db/migrate/20160425100840_add_product_nature_corn_topper.xml +0 -6
- data/db/migrate/20160427115742_add_production_systems.xml +0 -9
- data/db/migrate/20160428085808_add_rows_count_indicator.xml +0 -4
- data/db/migrate/20160503131928_add_equipment_indicators.xml +0 -34
- data/db/migrate/20160503155351_fix_taxes.xml +0 -15
- data/db/migrate/20160504143733_add_units.xml +0 -6
- data/db/migrate/20160509100749_change_item_corn_topper.xml +0 -4
- data/db/migrate/20160516075201_add_plant_analysis.xml +0 -4
- data/db/migrate/20160520144901_update_plant_analysis.xml +0 -5
- data/db/migrate/20160525073342_update_spreader_trailer_product_nature.xml +0 -4
- data/db/migrate/20160526075245_update_spreader_trailer_abilities.xml +0 -4
- data/db/migrate/20160526092246_update_product_natures_and_variants_for_vegetables.xml +0 -37
- data/db/migrate/20160527090330_update_product_natures_seed.xml +0 -5
- data/db/migrate/20160531071525_add_procedure_actions.xml +0 -6
- data/db/migrate/20160531094927_add_items_for_pollination_pocedure.xml +0 -9
- data/db/migrate/20160605122001_add_worker_register.xml +0 -4
- data/db/migrate/20160608075549_update_spatial_reference_systems.xml +0 -5437
- data/db/migrate/20160608202134_add_missing_procedure_actions.xml +0 -6
- data/db/migrate/20160613154204_add_product_nature_variants_hoe_weeder.xml +0 -6
- data/db/migrate/20160615121350_add_pivots_in_nomenclature.xml +0 -11
- data/db/migrate/20160615122805_add_daily_average_working_time_indicator_and_lifespan_indicators.xml +0 -6
- data/db/migrate/20160617142409_add_items_for_hay_bales.xml +0 -8
- data/db/migrate/20160622121241_add_procedure_action_conservation_plowing.xml +0 -4
- data/db/migrate/20160624073237_add_musca_varieties.xml +0 -5
- data/db/migrate/20160627095008_add_weeding_kit.xml +0 -5
- data/db/migrate/20160630075849_update_product_nature_additive.xml +0 -4
- data/db/migrate/20160630124401_fix_coop_variants.xml +0 -9
- data/db/migrate/20160719094049_add_new_procedure_actions.xml +0 -6
- data/db/migrate/20160719100836_add_issue_nature.xml +0 -4
- data/db/migrate/20160720144130_update_equipment_varieties.xml +0 -33
- data/db/migrate/20160721124220_update_product_natures_varieties.xml +0 -58
- data/db/migrate/20160725182008_fix_abilities_on_old_equipment.xml +0 -4
- data/db/migrate/20160726173309_rename_equipments_to_equipment.xml +0 -6
- data/db/migrate/20160727092830_update_malus_pumila_variety_name.xml +0 -4
- data/db/migrate/20160802123639_update_unit_name_for_equipment_product_nature_variants.xml +0 -39
- data/db/migrate/20160816083232_add_issue_natures.xml +0 -6
- data/db/migrate/20160819082951_Add_plant_varieties.xml +0 -10
- data/db/migrate/20160829072846_add_procedure_action.xml +0 -4
- data/db/migrate/20160830153251_add_new_varieties.xml +0 -6
- data/db/migrate/20160909225801_add_missing_stock_variation_accounts.xml +0 -17
- data/db/migrate/20160911091901_update_product_nature_categories.xml +0 -53
- data/db/migrate/20160912182501_fix_product_nature_categories.xml +0 -5
- data/db/migrate/20160914114043_add_tool_maintaining_support.xml +0 -7
- data/db/migrate/20160915143142_add_pest_related_indicators.xml +0 -5
- data/db/migrate/20160919210501_add_transportation_actions.xml +0 -4
- data/db/migrate/20160928113101_add_missing_general_accounts.xml +0 -108
- data/db/migrate/20160930091201_add_missing_tax_natures.xml +0 -17
- data/db/migrate/20161017090516_fix_product_nature_categories_stock_movement_account.xml +0 -5
- data/db/migrate/20161019133613_add_ednotif_eu_country_code.xml +0 -33
- data/db/migrate/20161019145441_add_ednotif_animal_indicators.xml +0 -22
- data/db/migrate/20161022103401_add_portuguese_chart_of_account.xml +0 -34
- data/db/migrate/20161024115013_add_ednotif_indicators_to_cow_product_natures.xml +0 -7
- data/db/migrate/20161030174001_add_missing_cap_2016_varieties.xml +0 -13
- data/db/migrate/20161103111303_add_plants_sorting_action.xml +0 -4
- data/db/migrate/20161202083820_add_new_plant_varieties.xml +0 -13
- data/db/migrate/20161212181852_add_procedure_categories.xml +0 -5
- data/db/migrate/20161214093347_add_procedure_actions.xml +0 -10
- data/db/migrate/20161219171601_add_missing_vat_accounts.xml +0 -4
- data/db/migrate/20161219231801_add_outgoing_payment_report.xml +0 -4
- data/db/migrate/20170104161824_add_indicators_for_plant_analysis.xml +0 -6
- data/db/migrate/20170201180806_set_animal_group_population_counting_to_unitary.xml +0 -23
- data/db/migrate/20170203132125_update_momenclature_for_animal_housing_mulching_procedure.xml +0 -7
- data/db/migrate/20170206125311_update_nomenclature_for_animal_housing_disinfection_procedure.xml +0 -5
- data/db/migrate/20170206163322_update_disinfectant_product_variant.xml +0 -4
- data/db/migrate/20170214125925_clean_cow_indicators.xml +0 -8
- data/db/migrate/20170216100144_add_algerian_vat.xml +0 -10
- data/db/migrate/20170219210901_add_fixed_asset_registry.xml +0 -4
- data/db/migrate/20170220211447_add_procedure_category.xml +0 -4
- data/db/migrate/20170220222412_add_procedure_action.xml +0 -4
- data/db/migrate/20170221102405_add_milking_robot_in_nomenclature.xml +0 -6
- data/db/migrate/20170222113119_add_animal_varieties.xml +0 -29
- data/db/migrate/20170306154901_add_missing_outstanding_account.xml +0 -4
- data/db/migrate/20170308232701_add_fr_pcga_profit_and_loss.xml +0 -4
- data/db/migrate/20170312112401_add_fr_pcga_balance_sheet.xml +0 -4
- data/db/migrate/20170312172301_add_fr_pcg82_balance_sheet.xml +0 -5
- data/db/migrate/20170320073301_add_journal_entry_sheet.xml +0 -8
- data/db/migrate/20170320144338_add_sundry_debtors_and_creditors_usage.xml +0 -4
- data/db/migrate/20170322223101_add_loan_registry.xml +0 -4
- data/db/migrate/20170324084701_add_fixed_asset_sheet.xml +0 -4
- data/db/migrate/20170328144501_add_pnt_loan_accounts.xml +0 -5
- data/db/migrate/20170328165900_update_foliar_spray_product_nature.xml +0 -4
- data/db/migrate/20170328170000_add_indicator.xml +0 -4
- data/db/migrate/20170328170100_update_product_nature_seedling.xml +0 -6
- data/db/migrate/20170328170200_add_indicators.xml +0 -4
- data/db/migrate/20170328170300_add_indicators2.xml +0 -4
- data/db/migrate/20170328170400_update_seedling_product_natures.xml +0 -4
- data/db/migrate/20170405135101_add_account_journal_entry_sheet.xml +0 -4
- data/db/migrate/20170407214236_add_portuguese_account_config.xml +0 -4
- data/db/migrate/20170524094443_add_urtica_variety.xml +0 -5
- data/db/migrate/20170614130921_add_varieties.xml +0 -117
- data/db/migrate/20170627075545_add_varieties2.xml +0 -37
- data/db/migrate/20170627081533_add_pending_deposit_payments_account_number_for_pt_accounting_system.xml +0 -4
- data/db/migrate/20170718131724_add_issue_natures.xml +0 -54
- data/db/migrate/20170803164344_add_procedure_nature_and_category.xml +0 -5
- data/db/migrate/20170904223101_add_cultivable_zone_registry.xml +0 -4
- data/db/migrate/20170914083358_add_new_product_nature_variants.xml +0 -14
- data/db/migrate/20170927144852_add_kiwi_varieties.xml +0 -7
- data/db/migrate/20171106085357_update_account_numbers.xml +0 -431
- data/db/migrate/20171212081801_add_fiscal_positions.xml +0 -12
- data/db/migrate/20180408190101_add_new_plant_variants.xml +0 -7
- data/db/migrate/20180409130101_add_common_crop.xml +0 -4
- data/db/migrate/20180418085027_add-hour-counter-indicator.xml +0 -9
- data/db/migrate/20180709134310_add_centralizing_field_to_accounts.xml +0 -22
- data/db/migrate/20180711093131_review_all_accounts_number_and_fallbacks.xml +0 -431
- data/db/migrate/20180806080646_edit_centralizing_field_accounts.xml +0 -17
- data/db/migrate/20180814184001_add_missing_categories.xml +0 -12
- data/db/migrate/20180907160001_edit_accounts_to_unlock_first_run.xml +0 -21
- data/db/migrate/20181004220301_add_journal_ledger.xml +0 -4
- data/db/migrate/20181205162401_add_intra_vat.xml +0 -6
- data/db/migrate/20181213153405_fix_accounting_systems.xml +0 -7
- data/db/migrate/20181217155149_fiscal_position_refers_to_accounting_system.xml +0 -10
- data/db/migrate/20181217173101_fiscal_position_reference_typo.xml +0 -4
- data/db/migrate/20190315154040_add_suspense_account.xml +0 -4
- data/db/migrate/20190326110849_add_asset_fixable_to_product_nature_categories.xml +0 -25
- data/db/migrate/20190326135443_change_product_nature_category_cultivable_zone_into_land.xml +0 -21
- data/db/migrate/20190329133808_change_land_fixed_assets_account_usage.xml +0 -7
- data/db/migrate/20190405120711_delete_land_sales_account_and_assign_land_parcels_sell_revenues_to_land.xml +0 -5
- data/db/migrate/20190412071057_add_new_fixed_assets_andn_depreciable_accounts.xml +0 -22
- data/db/migrate/20190509092804_add_account_exceptional_depreciations_imputations_expenses_for_fixed_assets.xml +0 -4
- data/db/migrate/20190514084753_add_approved_input_volume.xml +0 -9
- data/db/migrate/20190520072403_add_new_accounts.xml +0 -58
- data/db/migrate/20190521170601_add_missing_taxes.xml +0 -7
- data/db/migrate/20190611101014_change_deductible_vat_account.xml +0 -5
- data/db/migrate/20190620092151_fix_conflicts_in_new_accounts.xml +0 -6
- data/db/migrate/20190625152636_change_mixture_seed_product_nature_variant.xml +0 -4
- data/db/migrate/20190718130243_remove_services_expenses.xml +0 -5
- data/db/migrate/20190801142431_remove_accounts_from_pcg82.xml +0 -5
- data/db/migrate/20190807125202_add_nature_to_product_natures.xml +0 -326
- data/db/migrate/20190823091727_fix-cubic-meter-per-hectare-symbol.xml +0 -5
- data/db/migrate/20190909150402_add_staff_supply_stock_account.xml +0 -4
- data/db/migrate/20190913102036_add_caliber_indicator.xml +0 -4
- data/db/migrate/20190917161215_add_missing_mass_area_density_units.xml +0 -21
- data/db/migrate/20190917161216_update_quintal_symbol.xml +0 -4
- data/db/migrate/20190917161217_adds_more_info_to_units.xml +0 -133
- data/db/migrate/20190918074757_add_new_accounts.xml +0 -8
- data/db/migrate/20191001122750_add_accounts_fixed_assets_related.xml +0 -10
- data/db/migrate/20191016152118_add_missing_document_templates.xml +0 -6
- data/db/migrate/20191028175001_add_short_balance_sheet.xml +0 -4
- data/db/migrate/20191029131921_add_vine_equipments.xml +0 -117
- data/db/migrate/20191112132413_remove_roller_from_product_natures.xml +0 -5
- data/db/migrate/20191113134626_add_nature_to_new_product_natures.xml +0 -11
- data/db/migrate/20191125133327_add_missing_units_and_indicators.xml +0 -5
- data/db/migrate/20200107095554_add_signed_field_to_document_nature.xml +0 -9
- data/db/migrate/20200305160358_add_varieties_for_phytosanitary.xml +0 -11
- data/db/migrate/20200421123503_add_type_to_categories_and_variants.xml +0 -1136
- data/db/migrate/20200514092205_add_liter_per_hectoliter_unit.xml +0 -4
- data/db/migrate/20200722091859_triticale_derivative_of.xml +0 -5
- data/db/migrate/20200826000010_add_area_units.xml +0 -4
- data/db/migrate/20200826000020_change_trailer_indicators.xml +0 -5
- data/db/migrate/20200826000030_add_new_production_systems.xml +0 -6
- data/db/migrate/20200826000040_add_viti_abilities.xml +0 -6
- data/db/migrate/20200826000060_create_vine_farming_activity_famillies.xml +0 -4
- data/db/migrate/20200826000070_remove_certifications_and_vitis_varieties.xml +0 -55
- data/db/migrate/20200826000080_add_new_indicators.xml +0 -14
- data/db/migrate/20200826000100_add_viti_procedure_actions.xml +0 -19
- data/db/migrate/20200826000110_add_vine_puning_systems.xml +0 -9
- data/db/migrate/20200826000120_add_vine_procedure_categories.xml +0 -10
- data/db/migrate/20200826000130_update_viti_product_nauture_variant.xml +0 -10
data/config/locales/ita.yml
CHANGED
@@ -1389,7 +1389,7 @@ ita:
|
|
1389
1389
|
mz: "Mozambico"
|
1390
1390
|
nc: "Nuova Caledonia"
|
1391
1391
|
nl: "Olanda"
|
1392
|
-
|
1392
|
+
__no__: "Norvegia"
|
1393
1393
|
nz: "Nuova Zelanda"
|
1394
1394
|
pe: "Perù"
|
1395
1395
|
pf: "Polinesia francese"
|
@@ -4118,6 +4118,7 @@ ita:
|
|
4118
4118
|
allium_cepa_b010283: "Cipolla b010283"
|
4119
4119
|
allium_cepa_b010284: "Cipolla b010284"
|
4120
4120
|
allium_cepa_valenciana: "Cipolla Valenciana"
|
4121
|
+
allium_fistulosum: "Cipollotto"
|
4121
4122
|
allium_oleraceum: "aglio di campo"
|
4122
4123
|
allium_porrum_mégaton: "Leek Megaton"
|
4123
4124
|
allium_sativum: "aglio coltivato"
|
data/config/locales/jpn.yml
CHANGED
@@ -1481,7 +1481,7 @@ jpn:
|
|
1481
1481
|
ng: "ナイジェリア"
|
1482
1482
|
ni: "ニカラグア"
|
1483
1483
|
nl: "オランダ"
|
1484
|
-
|
1484
|
+
__no__: "ノルウェー"
|
1485
1485
|
np: "ネパール"
|
1486
1486
|
nr: "ナウル"
|
1487
1487
|
nu: "ニウエ"
|
@@ -4444,6 +4444,7 @@ jpn:
|
|
4444
4444
|
allium_cepa_b010283: "オニオンb010283"
|
4445
4445
|
allium_cepa_b010284: "オニオンb010284"
|
4446
4446
|
allium_cepa_valenciana: "オニオンバレンシア"
|
4447
|
+
allium_fistulosum: "ネギ"
|
4447
4448
|
allium_oleraceum: "フィールドのニンニク"
|
4448
4449
|
allium_porrum: "アリウムのporrum"
|
4449
4450
|
allium_porrum_belton: "ネギベルトン"
|
@@ -5081,6 +5082,7 @@ jpn:
|
|
5081
5082
|
dioscorea_trifida: "インドヤマイモ"
|
5082
5083
|
dioscorea_villosa: "自然薯"
|
5083
5084
|
dioscoreaceae: "ヤム科"
|
5085
|
+
diplotaxis_tenuifolia: "野生のルッコラ"
|
5084
5086
|
easement: "地役権"
|
5085
5087
|
egg: "卵"
|
5086
5088
|
elaeagnaceae: "グミ科"
|
@@ -5100,6 +5102,7 @@ jpn:
|
|
5100
5102
|
equus_caballus_shetland: "馬シェットランド"
|
5101
5103
|
equus_zebra: "シマウマ"
|
5102
5104
|
eruca: "エルカ"
|
5105
|
+
eruca_sativa: "栽培されたルッコラ"
|
5103
5106
|
eruca_vesicaria: "エルカvesicaria"
|
5104
5107
|
erysiphaceae: "ウドンコカビ科"
|
5105
5108
|
eucalyptus: "ユーカリ"
|
data/config/locales/por.yml
CHANGED
@@ -1415,7 +1415,7 @@ por:
|
|
1415
1415
|
ng: "Nigéria"
|
1416
1416
|
ni: "Nicarágua"
|
1417
1417
|
nl: "Países Baixos"
|
1418
|
-
|
1418
|
+
__no__: "Noruega"
|
1419
1419
|
nz: "Nova Zelândia"
|
1420
1420
|
om: "Omã"
|
1421
1421
|
pa: "Panamá"
|
@@ -4171,6 +4171,7 @@ por:
|
|
4171
4171
|
allium_cepa_b010283: "B010283 Onion"
|
4172
4172
|
allium_cepa_b010284: "B010284 Onion"
|
4173
4173
|
allium_cepa_valenciana: "Cebola Valenciana"
|
4174
|
+
allium_fistulosum: "Cebolinha"
|
4174
4175
|
allium_oleraceum: "Alho campo"
|
4175
4176
|
allium_porrum: "Porrum Allium"
|
4176
4177
|
allium_porrum_mégaton: "Leek Megaton"
|
data/config/locales/spa.yml
CHANGED
@@ -1475,7 +1475,7 @@ spa:
|
|
1475
1475
|
ng: "Nigeria"
|
1476
1476
|
ni: "Nicaragua"
|
1477
1477
|
nl: "Países Bajos"
|
1478
|
-
|
1478
|
+
__no__: "Noruega"
|
1479
1479
|
np: "Nepal"
|
1480
1480
|
nr: "Nauru"
|
1481
1481
|
nu: "Niue"
|
@@ -4371,6 +4371,7 @@ spa:
|
|
4371
4371
|
allium_cepa_b010283: "B010283 cebolla"
|
4372
4372
|
allium_cepa_b010284: "B010284 cebolla"
|
4373
4373
|
allium_cepa_valenciana: "Cebolla Valenciana"
|
4374
|
+
allium_fistulosum: "Cebolleta"
|
4374
4375
|
allium_oleraceum: "Ajo de campo"
|
4375
4376
|
allium_porrum: "Porrum allium"
|
4376
4377
|
allium_porrum_duraton: "Leek Duratón"
|
data/db/reference.xml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<?xml version="1.0"?>
|
2
|
-
<nomenclatures xmlns="http://www.ekylibre.org/XML/2013/nomenclatures" version="
|
2
|
+
<nomenclatures xmlns="http://www.ekylibre.org/XML/2013/nomenclatures" version="20210514104034">
|
3
3
|
<nomenclature name="abilities" translateable="true">
|
4
4
|
<properties>
|
5
5
|
<property name="parameters" type="choice_list" choices="variety, issue_nature"/>
|
@@ -766,6 +766,7 @@
|
|
766
766
|
<item name="silage_analysis" target_variety="silage" target_derivative_of="plant" items="dry_matter_rate, protein_concentration"/>
|
767
767
|
<item name="soil_analysis" target_variety="land_parcel" items="soil_nature, organic_matter_concentration, nitrogen_concentration, potential_hydrogen, cation_exchange_capacity, phosphate_concentration, potash_concentration, magnesium_concentration, boron_concentration, zinc_concentration, manganese_concentration, copper_concentration, iron_concentration"/>
|
768
768
|
<item name="unitary_cow_milk_analysis" target_variety="milk" target_derivative_of="bos" items="fat_matters_concentration, protein_matters_concentration, somatic_cell_concentration, milk_daily_production"/>
|
769
|
+
<item name="vine_harvesting_analysis" target_variety="grape" items="estimated_harvest_alcoholic_volumetric_concentration, estimated_pressed_harvest_alcoholic_volumetric_concentration, potential_hydrogen, temperature, assimilated_nitrogen_concentration, amino_nitrogen_concentration, ammoniacal_nitrogen_concentration, total_acid_concentration, malic_acid_concentration, sanitary_vine_harvesting_state, must_tasting"/>
|
769
770
|
<item name="water_analysis" target_variety="water" items="nitrogen_concentration, phosphate_concentration, potash_concentration, magnesium_concentration, boron_concentration, zinc_concentration, manganese_concentration, copper_concentration, iron_concentration"/>
|
770
771
|
</items>
|
771
772
|
</nomenclature>
|
@@ -1662,8 +1663,11 @@
|
|
1662
1663
|
</properties>
|
1663
1664
|
<items>
|
1664
1665
|
<item name="alfalfa" varieties="medicago"/>
|
1666
|
+
<item name="animals_idea" varieties="anatidae, numididae, gallus, meleagris, bos, capra, ovis, equus_asinus, equus_caballus, sus"/>
|
1665
1667
|
<item name="arboricultural" varieties="citrus, ceratonia_siliqua, prunus_cerasus, castanea, corylus, juglans, olea_europaea, prunus_persica, pistacia_vera, pyrus, prunus_domestica"/>
|
1668
|
+
<item name="arboricultural_idea" varieties="actinidia, anacardium_occidentale, mangifera, pistacia_vera, corylus, carica_papaya, diospyros_kaki, ceratonia_siliqua, castanea, juglans, persea_americana, ficus, morus, olea_europaea, malus_pumila, prunus_armeniaca, prunus_domestica, prunus_cerasus, prunus_avium, prunus_dulcis, prunus_persica, pyrus, citrus, fortunella"/>
|
1666
1669
|
<item name="aromatics_and_medicinals" varieties="allium_schoenoprasum, ajuga_reptans, anthriscus_cerefolium, arctium, anethum_graveolens, angelica, artemisia_dracunculus, bellis_perennis, carum_carvi, chamaemelum, centaurea_cyanus, coriandrum_sativum, cuminum, foeniculum, galium, hypericum, lavandula, leucanthemum, malva, melissa, mentha, ocimum_basilicum, origanum_majorana, petroselinum_crispum, plantago_psyllium, pimpinella_anisum, primula, rosmarinus, rumex, satureja, salvia, silybum_marianum, thymus, valeriana, veronica, viola_arvensis"/>
|
1670
|
+
<item name="aromatics_and_medicinals_idea" varieties="allium_schoenoprasum, anethum_graveolens, angelica, anthriscus_cerefolium, carum_carvi, coriandrum_sativum, cuminum, foeniculum, petroselinum_crispum, pimpinella_anisum, arctium, artemisia_dracunculus, bellis_perennis, centaurea_cyanus, chamaemelum, leucanthemum, silybum_marianum, ajuga_reptans, lavandula, melissa, mentha, ocimum_basilicum, origanum_majorana, rosmarinus, salvia, satureja, thymus, malva, plantago_psyllium, veronica, rumex, primula, galium, urtica, valeriana, viola_arvensis, hypericum"/>
|
1667
1671
|
<item name="autumn_crop" varieties="hordeum_hexastichum, poa, secale, triticosecale, triticum, avena, brassica_napus"/>
|
1668
1672
|
<item name="bean" varieties="phaseolus"/>
|
1669
1673
|
<item name="beet" varieties="beta"/>
|
@@ -1673,21 +1677,25 @@
|
|
1673
1677
|
<item name="corn" varieties="zea_mays"/>
|
1674
1678
|
<item name="corn_sorghum" varieties="zea_mays, sorghum"/>
|
1675
1679
|
<item name="crucifers" varieties="brassicaceae"/>
|
1680
|
+
<item name="field_industrial_fodder_crops_idea" varieties="beta_vulgaris_crassa, chenopodium_quinoa, guizotia_abyssinica, helianthus_annuus, boraginaceae, brassica_nigra, brassica_napus_annua, brassica_napus_napus, brassica_rapa_oleifera, camelina_sativa, raphanus_sativus_oleiformis, cannabaceae, arachis_hypogaea, cicer_arietinum, glycine_max, lathyrus_sativus, lens_culinaris, lotus_corniculatus, melilotus, lupinus, medicago, onobrychis, ornithopus_sativus, trifolium, trigonella_foenum_graecum, vicia, vigna_unguiculata, linum, papaver_somniferum, avena, bromus, dactylis, festuca, hordeum, lolium, oryza, panicum, phalaris, phleum, poa_trivialis, secale, setaria, sorghum, triticosecale, triticum, zea, fagopyrum, nicotiana"/>
|
1676
1681
|
<item name="flax" varieties="linum"/>
|
1677
1682
|
<item name="gardening_vegetables" varieties="allium, cynara, asparagus, solanum_melongena, beta_vulgaris, daucus_carota, apium_graveolens, cichorium_endivia, brassica_oleracea, cucumis, cucurbita, spinacia, fragaria, phaseolus, lactuca, valerianella_locusta"/>
|
1678
1683
|
<item name="grass" varieties="poaceae, medicago, trifolium"/>
|
1679
1684
|
<item name="grass_leguminous" varieties="poaceae, fabaceae"/>
|
1680
1685
|
<item name="hemp" varieties="cannabis"/>
|
1686
|
+
<item name="industrial_vegetables_idea" varieties="beta_vulgaris_altissima"/>
|
1681
1687
|
<item name="leguminosae" varieties="fabaceae"/>
|
1682
1688
|
<item name="leguminous" varieties="arachis_hypogaea, cicer_arietinum, lathyrus_sativus, lens_culinaris, lotus_corniculatus, medicago_lupulina, trigonella_foenum_graecum, vigna_unguiculata"/>
|
1683
1689
|
<item name="meadow" varieties="borago, bromus, dactylis, festuca, phleum, phacelia, poa_trivialis, lepidium_sativum, lolium"/>
|
1684
1690
|
<item name="nightshade" varieties="solanum"/>
|
1685
1691
|
<item name="oleaginous" varieties="brassica_napus, brassica_nigra, brassica_rapa, camelina_sativa, glycine_max, guizotia_abyssinica, helianthus, linum_usitatissimum, papaver_somniferum"/>
|
1692
|
+
<item name="others_trees_idea" varieties="arecaceae, alnus, betula, carpinus, hevea, cercis_siliquastrum, gleditsia, laburnum_anagyroides, robinia, fagus, quercus, tilia, eucalyptus, fraxinus_excelsior, acer, koelreuteria, argania_spinosa"/>
|
1686
1693
|
<item name="peas" varieties="pisum"/>
|
1687
1694
|
<item name="proteaginous" varieties="fabaceae, lupinus, medicago, melilotus, onobrychis, ornithopus_sativus, pisum_sativum, trifolium, vicia_cracca, vicia_faba, vicia_sativa"/>
|
1688
1695
|
<item name="rape" varieties="brassica"/>
|
1689
1696
|
<item name="rapeseed" varieties="brassica_napus"/>
|
1690
1697
|
<item name="secale_phacelia" varieties="secale, phacelia"/>
|
1698
|
+
<item name="sheltered_gardening_idea" varieties="beta_vulgaris_cicla, beta_vulgaris_vulgaris, spinacia, allium_ampeloprasum, allium_ascalonicum, allium_cepa, allium_oleraceum, allium_porrum, allium_sativum, allium_scorodoprasum, allium_tricoccum, allium_triquetrum, allium_ursinum, allium_victorialis, allium_vineale, apium_graveolens, daucus_carota, pastinaca_sativa, asparagus, cichorium_endivia, cichorium_intybus, cynara, helianthus_tuberosus, lactuca, tragopogon, brassica_oleracea, brassica_napus_rapifera, brassica_rapa_pekinensis, brassica_rapa_rapa, crambe_maritima, eruca_vesicaria, lepidium_sativum, nasturtium_officinale, pringlea_antiscorbutica, raphanus_sativus_daïkon, raphanus_sativus_expo, raphanus_sativus_flamboyant2, raphanus_sativus_fluo, raphanus_sativus_niger, ipomoea_batatas, citrullus_lanatus, cucumis, cucurbita, phaseolus, pisum_sativum, ribes, fragaria, rubus_idaeus, capsicum, solanum_melongena, solanum_tuberosum, solanum_lycopersicum, valerianella_locusta"/>
|
1691
1699
|
<item name="sorghum" varieties="sorghum"/>
|
1692
1700
|
<item name="spring_crop" varieties="hordeum_distichum, zea, helianthus, cannabis, nicotiana, linum"/>
|
1693
1701
|
<item name="spring_straw_cereal" varieties="hordeum_distichum"/>
|
@@ -1696,6 +1704,7 @@
|
|
1696
1704
|
<item name="tropicals" varieties="ananas_comosus, musa, coffea, saccharum, curcuma, vanilla, chrysopogon, cananga_odorata"/>
|
1697
1705
|
<item name="vegetables" varieties="allium_sativum, allium_cepa, allium_porrum, apium_graveolens, beta_vulgaris, brassica_oleracea, brassica_rapa, capsicum, cichorium, citrullus_lanatus, cucumis_melo, cynara_scolymus, daucus_carota, persea_americana, pisum, phaseolus, raphanus_sativus, solanum_lycopersicum, solanum_melongena, solanum_tuberosum"/>
|
1698
1706
|
<item name="vetch" varieties="vicia"/>
|
1707
|
+
<item name="vineyard_idea" varieties="vitis"/>
|
1699
1708
|
<item name="wheat" varieties="triticum"/>
|
1700
1709
|
<item name="winter_straw_cereal" varieties="hordeum_hexastichum, poa, secale, triticosecale, triticum, avena"/>
|
1701
1710
|
</items>
|
@@ -1991,8 +2000,10 @@
|
|
1991
2000
|
<item name="manure_management_plan_sheet" category="land_parcel_management"/>
|
1992
2001
|
<item name="outgoing_deliveries_journal" category="exploitation"/>
|
1993
2002
|
<item name="outgoing_delivery_docket" category="exploitation"/>
|
1994
|
-
<item name="
|
2003
|
+
<item name="outgoing_payment_list__check_letter" category="exploitation"/>
|
2004
|
+
<item name="outgoing_payment_list__standard" category="exploitation"/>
|
1995
2005
|
<item name="pending_vat_register" category="accountancy"/>
|
2006
|
+
<item name="pfi_land_parcel_register" category="land_parcel_management"/>
|
1996
2007
|
<item name="phytosanitary_certification" category="land_parcel_management"/>
|
1997
2008
|
<item name="phytosanitary_register" category="land_parcel_management"/>
|
1998
2009
|
<item name="prescription" category="health"/>
|
@@ -2016,6 +2027,7 @@
|
|
2016
2027
|
<item name="vine_phytosanitary_register" category="land_parcel_management"/>
|
2017
2028
|
<item name="wine_bottling_register" category="wine_making"/>
|
2018
2029
|
<item name="wine_detention_register" category="wine_making"/>
|
2030
|
+
<item name="wine_incoming_harvest_register" category="wine_making"/>
|
2019
2031
|
<item name="wine_manipulation_register" category="wine_making"/>
|
2020
2032
|
<item name="worker_register" category="management"/>
|
2021
2033
|
</items>
|
@@ -2152,10 +2164,13 @@
|
|
2152
2164
|
</properties>
|
2153
2165
|
<items>
|
2154
2166
|
<item name="aluminium_concentration" datatype="measure" unit="parts_per_million"/>
|
2167
|
+
<item name="amino_nitrogen_concentration" datatype="measure" unit="milligram_per_liter"/>
|
2168
|
+
<item name="ammoniacal_nitrogen_concentration" datatype="measure" unit="milligram_per_liter"/>
|
2155
2169
|
<item name="animal_life_state" datatype="choice" choices="animal_life_states"/>
|
2156
2170
|
<item name="application_width" datatype="measure" unit="meter" gathering="proportional_to_population"/>
|
2157
2171
|
<item name="approved_input_dose" datatype="measure" unit="kilogram_per_hectare"/>
|
2158
2172
|
<item name="approved_input_volume" datatype="measure" unit="liter_per_hectare"/>
|
2173
|
+
<item name="assimilated_nitrogen_concentration" datatype="measure" unit="milligram_per_liter"/>
|
2159
2174
|
<item name="atmospheric_pressure" datatype="measure" unit="hectopascal" sampling_temporal_mode="instant"/>
|
2160
2175
|
<item name="available_water_capacity_per_area" datatype="measure" unit="liter_per_square_meter"/>
|
2161
2176
|
<item name="average_atmospheric_pressure" datatype="measure" unit="hectopascal" sampling_temporal_mode="period"/>
|
@@ -2185,6 +2200,7 @@
|
|
2185
2200
|
<item name="country_code" datatype="string"/>
|
2186
2201
|
<item name="cpb_filiation_status" datatype="boolean"/>
|
2187
2202
|
<item name="cumulated_rainfall" datatype="measure" unit="millimeter" sampling_temporal_mode="period"/>
|
2203
|
+
<item name="cut_vine" datatype="integer"/>
|
2188
2204
|
<item name="daily_average_working_time" datatype="measure" unit="hour"/>
|
2189
2205
|
<item name="daily_nitrogen_production" datatype="measure" unit="kilogram"/>
|
2190
2206
|
<item name="daily_pest_count" datatype="integer"/>
|
@@ -2198,6 +2214,8 @@
|
|
2198
2214
|
<item name="energy" datatype="measure" unit="kilowatt_hour"/>
|
2199
2215
|
<item name="entry_date" datatype="string"/>
|
2200
2216
|
<item name="entry_reason" datatype="string"/>
|
2217
|
+
<item name="estimated_harvest_alcoholic_volumetric_concentration" datatype="measure" unit="volume_percent"/>
|
2218
|
+
<item name="estimated_pressed_harvest_alcoholic_volumetric_concentration" datatype="measure" unit="volume_percent"/>
|
2201
2219
|
<item name="exit_date" datatype="string"/>
|
2202
2220
|
<item name="exit_reason" datatype="string"/>
|
2203
2221
|
<item name="fat_matter_concentration_index" datatype="measure" unit="unity"/>
|
@@ -2236,6 +2254,7 @@
|
|
2236
2254
|
<item name="lipolysis" datatype="measure" unit="thousand_per_hectogram"/>
|
2237
2255
|
<item name="livestock_unit" datatype="decimal" gathering="proportional_to_population"/>
|
2238
2256
|
<item name="magnesium_concentration" datatype="measure" unit="mass_percent"/>
|
2257
|
+
<item name="malic_acid_concentration" datatype="measure" unit="gram_per_liter"/>
|
2239
2258
|
<item name="mammalia_birth_condition" datatype="choice" choices="mammalia_birth_conditions"/>
|
2240
2259
|
<item name="mammalia_birth_count" datatype="integer"/>
|
2241
2260
|
<item name="mammalia_reproduction_event_abortion" datatype="boolean"/>
|
@@ -2272,6 +2291,7 @@
|
|
2272
2291
|
<item name="mother_identification_number" datatype="string"/>
|
2273
2292
|
<item name="mother_race_code" datatype="string"/>
|
2274
2293
|
<item name="motor_power" datatype="measure" unit="french_horsepower"/>
|
2294
|
+
<item name="must_tasting" datatype="string"/>
|
2275
2295
|
<item name="net_length" datatype="measure" unit="meter" gathering="proportional_to_population"/>
|
2276
2296
|
<item name="net_mass" datatype="measure" unit="kilogram" gathering="proportional_to_population"/>
|
2277
2297
|
<item name="net_surface_area" datatype="measure" unit="square_meter" gathering="proportional_to_population"/>
|
@@ -2310,6 +2330,7 @@
|
|
2310
2330
|
<item name="rows_count" datatype="integer"/>
|
2311
2331
|
<item name="rows_interval" datatype="measure" unit="meter"/>
|
2312
2332
|
<item name="rows_orientation" datatype="measure" unit="degree"/>
|
2333
|
+
<item name="sanitary_vine_harvesting_state" datatype="string"/>
|
2313
2334
|
<item name="seedling_area_density" datatype="measure" unit="unity_per_square_meter"/>
|
2314
2335
|
<item name="seedling_count" datatype="measure" unit="thousand"/>
|
2315
2336
|
<item name="sex" datatype="choice" choices="sexes"/>
|
@@ -2334,6 +2355,7 @@
|
|
2334
2355
|
<item name="theoretical_working_speed" datatype="measure" unit="hectare_per_hour"/>
|
2335
2356
|
<item name="thousand_grains_mass" datatype="measure" unit="gram"/>
|
2336
2357
|
<item name="tiller_count" datatype="integer"/>
|
2358
|
+
<item name="total_acid_concentration" datatype="measure" unit="gram_per_liter"/>
|
2337
2359
|
<item name="total_bacteria_concentration" datatype="measure" unit="thousand_per_milliliter"/>
|
2338
2360
|
<item name="unique_synthesis_index" datatype="measure" unit="unity"/>
|
2339
2361
|
<item name="untreated_zone_length" datatype="measure" unit="meter"/>
|
@@ -2837,6 +2859,9 @@
|
|
2837
2859
|
<item name="solarization"/>
|
2838
2860
|
<item name="sowing"/>
|
2839
2861
|
<item name="sowing_burying"/>
|
2862
|
+
<item name="stake_count"/>
|
2863
|
+
<item name="stake_distribution"/>
|
2864
|
+
<item name="stake_driving"/>
|
2840
2865
|
<item name="sterilization"/>
|
2841
2866
|
<item name="straw_bunching"/>
|
2842
2867
|
<item name="sulfur_addition"/>
|
@@ -2899,8 +2924,10 @@
|
|
2899
2924
|
<item name="plants_transformation" activity_family="processing"/>
|
2900
2925
|
<item name="soil_working" activity_family="plant_farming"/>
|
2901
2926
|
<item name="textile_transformation" activity_family="processing"/>
|
2927
|
+
<item name="trellising" activity_family="vine_farming"/>
|
2902
2928
|
<item name="troubleshooting" activity_family="tool_maintaining"/>
|
2903
2929
|
<item name="vine_fertilizing" activity_family="vine_farming"/>
|
2930
|
+
<item name="vine_irrigating" activity_family="vine_farming"/>
|
2904
2931
|
<item name="vine_land_maintenance" activity_family="vine_farming"/>
|
2905
2932
|
<item name="vine_planting" activity_family="vine_farming"/>
|
2906
2933
|
<item name="vine_protection" activity_family="vine_farming"/>
|
@@ -3543,6 +3570,7 @@
|
|
3543
3570
|
<item name="gas_engine" nature="gas_engine" frozen_indicators_values="" unit_name="equipment" type="equipment"/>
|
3544
3571
|
<item name="gasoline" nature="fuel" frozen_indicators_values="energy: 9.85kilowatt_hour, net_volume: 1liter, net_mass: 0.8kilogram" unit_name="liter" type="article"/>
|
3545
3572
|
<item name="generic_animal_medicine" nature="animal_medicine" frozen_indicators_values="net_mass: 1000g, net_volume: 1000ml, meat_withdrawal_period: 1day, milk_withdrawal_period: 1day" type="article"/>
|
3573
|
+
<item name="geolocation_box" nature="connected_object" type="equipment"/>
|
3546
3574
|
<item name="goat_herd" nature="goat_herd" derivative_of="capra" frozen_indicators_values="" unit_name="band" type="animal"/>
|
3547
3575
|
<item name="goat_milk" nature="milk" derivative_of="capra" frozen_indicators_values="net_volume: 1.00liter, net_mass: 1.031kilogram" unit_name="liter" type="article"/>
|
3548
3576
|
<item name="gooseberry_crop" nature="fruit_crop" variety="ribes" frozen_indicators_values="net_surface_area: 1.00hectare" unit_name="plant" type="crop"/>
|
@@ -4053,6 +4081,7 @@
|
|
4053
4081
|
<item name="computer" category="electronic_equipment" variety="equipment" population_counting="integer" variable_indicators="" nature="equipment"/>
|
4054
4082
|
<item name="computer_device" category="small_electronic_equipment" variety="equipment" population_counting="integer" variable_indicators="" nature="equipment"/>
|
4055
4083
|
<item name="congress" category="congress" variety="service" population_counting="decimal" variable_indicators="" nature="fee_and_service"/>
|
4084
|
+
<item name="connected_object" category="equipment" variety="connected_object" population_counting="unitary" abilities="" nature="equipment"/>
|
4056
4085
|
<item name="construction_material_in_own_outstanding_installation" category="construction_materials_in_own_outstanding_installation" variety="raw_matter" population_counting="decimal" variable_indicators="" frozen_indicators="net_volume, net_mass" nature="article"/>
|
4057
4086
|
<item name="consumer_goods_office_item" category="consumer_goods_office_item" variety="service" population_counting="integer" variable_indicators="" nature="fee_and_service"/>
|
4058
4087
|
<item name="cooperative_participation" category="cooperative_participation" variety="service" population_counting="decimal" variable_indicators="" nature="fee_and_service"/>
|
@@ -4311,7 +4340,7 @@
|
|
4311
4340
|
<item name="vegetable_crop" category="crop" variety="plant" population_counting="decimal" abilities="consume(water), consume(preparation), produce(vegetable)" variable_indicators="fresh_mass, plant_life_state, plant_reproduction_state, plants_count, shape, tiller_count" frozen_indicators="net_surface_area" derivatives="vegetable" nature="crop"/>
|
4312
4341
|
<item name="vegetals_making_services" category="vegetals_making_services" variety="service" population_counting="decimal" variable_indicators="" nature="fee_and_service"/>
|
4313
4342
|
<item name="vial" category="animal_reproduction" variety="vial" derivative_of="animal" population_counting="integer" abilities="inseminate(animal)" variable_indicators="economical_milk_index, sex, unique_synthesis_index" nature="article"/>
|
4314
|
-
<item name="vine_crop" category="crop" variety="vitis" population_counting="decimal" abilities="consume(water), consume(preparation), produce(fruit), produce(straw)" variable_indicators="certification, certification_label, complanted_vine_stock, dead_vine_stock, layered_vine_stock, missing_vine_stock, plants_count, plants_interval, plant_life_state, vine_stock_bud_charge, rows_interval, shape, vine_pruning_system" frozen_indicators="net_surface_area" derivatives="fruit, straw" nature="crop"/>
|
4343
|
+
<item name="vine_crop" category="crop" variety="vitis" population_counting="decimal" abilities="consume(water), consume(preparation), produce(fruit), produce(straw)" variable_indicators="certification, certification_label, complanted_vine_stock, dead_vine_stock, layered_vine_stock, missing_vine_stock, plants_count, plants_interval, plant_life_state, vine_stock_bud_charge, rows_interval, shape, vine_pruning_system, cut_vine" frozen_indicators="net_surface_area" derivatives="fruit, straw" nature="crop"/>
|
4315
4344
|
<item name="vine_lifter" category="equipment" variety="equipment" population_counting="unitary" abilities="remove(vitis)" nature="equipment"/>
|
4316
4345
|
<item name="vine_shoot_extractor" category="equipment" variety="equipment" population_counting="unitary" frozen_indicators="rows_count" abilities="remove(matter)" nature="equipment"/>
|
4317
4346
|
<item name="walnut" category="fruit" variety="walnut" derivative_of="juglans" population_counting="decimal" variable_indicators="impurity_concentration, water_content_rate" frozen_indicators="net_mass" nature="article"/>
|
@@ -10195,6 +10224,7 @@
|
|
10195
10224
|
<item name="unity_per_kilogram" dimension="mass_density" symbol="./kg" base_unit="unity" base_dimension="none" repartition_unit="kilogram" repartition_dimension="mass"/>
|
10196
10225
|
<item name="unity_per_liter" dimension="concentration" symbol="./l" d="0.001" base_unit="unity" base_dimension="none" repartition_unit="liter" repartition_dimension="volume"/>
|
10197
10226
|
<item name="unity_per_square_meter" dimension="surface_area_density" symbol="./m²" base_unit="unity" base_dimension="none" repartition_unit="square_meter" repartition_dimension="surface_area"/>
|
10227
|
+
<item name="volume_percent" dimension="none" symbol="%vol." d="100.0" base_unit="volume_percent" base_dimension="none"/>
|
10198
10228
|
<item name="watt" dimension="power" symbol="W" base_unit="watt" base_dimension="power"/>
|
10199
10229
|
<item name="watt_per_square_meter" dimension="heat_flux_density" symbol="W/m²" base_unit="watt" base_dimension="power" repartition_unit="square_meter" repartition_dimension="surface_area"/>
|
10200
10230
|
</items>
|
@@ -10241,6 +10271,7 @@
|
|
10241
10271
|
<item name="allium_cepa_b010283" parent="allium_cepa" itis_tsn="42720"/>
|
10242
10272
|
<item name="allium_cepa_b010284" parent="allium_cepa" itis_tsn="42720"/>
|
10243
10273
|
<item name="allium_cepa_valenciana" parent="allium_cepa" itis_tsn="42720"/>
|
10274
|
+
<item name="allium_fistulosum" parent="allium" itis_tsn="185463"/>
|
10244
10275
|
<item name="allium_oleraceum" parent="allium" itis_tsn="42689"/>
|
10245
10276
|
<item name="allium_porrum" parent="allium" itis_tsn="42659"/>
|
10246
10277
|
<item name="allium_porrum_belton" parent="allium_porrum" itis_tsn="42659"/>
|
@@ -10601,7 +10632,9 @@
|
|
10601
10632
|
<item name="capra_hircus_corse" parent="capra_hircus"/>
|
10602
10633
|
<item name="capra_hircus_creole" parent="capra_hircus"/>
|
10603
10634
|
<item name="capra_hircus_des_fosses" parent="capra_hircus"/>
|
10635
|
+
<item name="capra_hircus_lorraine" parent="capra_hircus"/>
|
10604
10636
|
<item name="capra_hircus_massif_central" parent="capra_hircus"/>
|
10637
|
+
<item name="capra_hircus_pei" parent="capra_hircus"/>
|
10605
10638
|
<item name="capra_hircus_poitevine" parent="capra_hircus"/>
|
10606
10639
|
<item name="capra_hircus_provencale" parent="capra_hircus"/>
|
10607
10640
|
<item name="capra_hircus_pyreneenne" parent="capra_hircus"/>
|
@@ -10710,6 +10743,7 @@
|
|
10710
10743
|
<item name="coffea_stenophylla" parent="coffea" itis_tsn="506062"/>
|
10711
10744
|
<item name="compost" parent="excrement"/>
|
10712
10745
|
<item name="concentrated_rectified_must" parent="preparation" derivative_of="fruit"/>
|
10746
|
+
<item name="connected_object" parent="equipment"/>
|
10713
10747
|
<item name="convolvulaceae" parent="plant" itis_tsn="30648"/>
|
10714
10748
|
<item name="coriandrum" parent="apiaceae" itis_tsn="29621"/>
|
10715
10749
|
<item name="coriandrum_sativum" parent="coriandrum" itis_tsn="29622"/>
|
@@ -10911,6 +10945,7 @@
|
|
10911
10945
|
<item name="dioscoreaceae" parent="plant" itis_tsn="43365"/>
|
10912
10946
|
<item name="diospyros" parent="ebenaceae" itis_tsn="23853"/>
|
10913
10947
|
<item name="diospyros_kaki" parent="diospyros" itis_tsn="896176"/>
|
10948
|
+
<item name="diplotaxis_tenuifolia" parent="eruca" itis_tsn="502098"/>
|
10914
10949
|
<item name="easement" parent="zone"/>
|
10915
10950
|
<item name="ebenaceae" parent="plant" itis_tsn="23852"/>
|
10916
10951
|
<item name="egg" parent="raw_matter" derivative_of="aves"/>
|
@@ -10925,15 +10960,38 @@
|
|
10925
10960
|
<item name="equipment_part" parent="matter"/>
|
10926
10961
|
<item name="equus" parent="equidae"/>
|
10927
10962
|
<item name="equus_asinus" parent="equus" itis_tsn="180690"/>
|
10963
|
+
<item name="equus_asinus_black_berry" parent="equus_asinus"/>
|
10964
|
+
<item name="equus_asinus_bourbonnais" parent="equus_asinus"/>
|
10965
|
+
<item name="equus_asinus_cotentin" parent="equus_asinus"/>
|
10966
|
+
<item name="equus_asinus_normand" parent="equus_asinus"/>
|
10967
|
+
<item name="equus_asinus_poitou" parent="equus_asinus"/>
|
10968
|
+
<item name="equus_asinus_provence" parent="equus_asinus"/>
|
10969
|
+
<item name="equus_asinus_pyrenees" parent="equus_asinus"/>
|
10928
10970
|
<item name="equus_caballus" parent="equus" itis_tsn="180691"/>
|
10929
10971
|
<item name="equus_caballus_arabe" parent="equus_caballus"/>
|
10972
|
+
<item name="equus_caballus_ardennais" parent="equus_caballus"/>
|
10973
|
+
<item name="equus_caballus_auvergne" parent="equus_caballus"/>
|
10974
|
+
<item name="equus_caballus_auxois" parent="equus_caballus"/>
|
10975
|
+
<item name="equus_caballus_boulonnais" parent="equus_caballus"/>
|
10976
|
+
<item name="equus_caballus_breton" parent="equus_caballus"/>
|
10930
10977
|
<item name="equus_caballus_camargue" parent="equus_caballus"/>
|
10978
|
+
<item name="equus_caballus_castillonnais" parent="equus_caballus"/>
|
10979
|
+
<item name="equus_caballus_cob_normand" parent="equus_caballus"/>
|
10980
|
+
<item name="equus_caballus_comtois" parent="equus_caballus"/>
|
10981
|
+
<item name="equus_caballus_corse" parent="equus_caballus"/>
|
10931
10982
|
<item name="equus_caballus_irish_cob" parent="equus_caballus"/>
|
10983
|
+
<item name="equus_caballus_landais" parent="equus_caballus"/>
|
10984
|
+
<item name="equus_caballus_merens" parent="equus_caballus"/>
|
10985
|
+
<item name="equus_caballus_north_trait" parent="equus_caballus"/>
|
10986
|
+
<item name="equus_caballus_percheron" parent="equus_caballus"/>
|
10987
|
+
<item name="equus_caballus_poitevin_mulassier" parent="equus_caballus"/>
|
10988
|
+
<item name="equus_caballus_pottok" parent="equus_caballus"/>
|
10932
10989
|
<item name="equus_caballus_pur_sang" parent="equus_caballus"/>
|
10933
10990
|
<item name="equus_caballus_shetland" parent="equus_caballus"/>
|
10934
10991
|
<item name="equus_zebra" parent="equus" itis_tsn="202401"/>
|
10935
10992
|
<item name="eremocitrus" parent="rutaceae" itis_tsn="500744"/>
|
10936
10993
|
<item name="eruca" parent="brassicaceae" itis_tsn="23123"/>
|
10994
|
+
<item name="eruca_sativa" parent="eruca" itis_tsn="23124"/>
|
10937
10995
|
<item name="eruca_vesicaria" parent="eruca" itis_tsn="502429"/>
|
10938
10996
|
<item name="erysiphaceae" parent="fungus" itis_tsn="194121"/>
|
10939
10997
|
<item name="eucalyptus" parent="myrtaceae" itis_tsn="27187"/>
|
@@ -11664,6 +11722,29 @@
|
|
11664
11722
|
<item name="ostreidae" parent="bivalvia" itis_tsn="79866"/>
|
11665
11723
|
<item name="ovis" parent="bovidae" itis_tsn="180709"/>
|
11666
11724
|
<item name="ovis_aries" parent="ovis" itis_tsn="552475"/>
|
11725
|
+
<item name="ovis_avranchin" parent="ovis"/>
|
11726
|
+
<item name="ovis_baregeoise" parent="ovis"/>
|
11727
|
+
<item name="ovis_belle_ile" parent="ovis"/>
|
11728
|
+
<item name="ovis_berrichon_indre" parent="ovis"/>
|
11729
|
+
<item name="ovis_black_montain" parent="ovis"/>
|
11730
|
+
<item name="ovis_blue_maine" parent="ovis"/>
|
11731
|
+
<item name="ovis_boulonnais" parent="ovis"/>
|
11732
|
+
<item name="ovis_brigasque" parent="ovis"/>
|
11733
|
+
<item name="ovis_britain_landes" parent="ovis"/>
|
11734
|
+
<item name="ovis_castillonnaise" parent="ovis"/>
|
11735
|
+
<item name="ovis_caussenarde_garrigues" parent="ovis"/>
|
11736
|
+
<item name="ovis_cotentin" parent="ovis"/>
|
11737
|
+
<item name="ovis_hague_roussin" parent="ovis"/>
|
11738
|
+
<item name="ovis_landaise" parent="ovis"/>
|
11739
|
+
<item name="ovis_lourdaise" parent="ovis"/>
|
11740
|
+
<item name="ovis_martinik" parent="ovis"/>
|
11741
|
+
<item name="ovis_merinos_precoce" parent="ovis"/>
|
11742
|
+
<item name="ovis_merinos_rambouillet" parent="ovis"/>
|
11743
|
+
<item name="ovis_ouessant" parent="ovis"/>
|
11744
|
+
<item name="ovis_raiole" parent="ovis"/>
|
11745
|
+
<item name="ovis_red_roussillon" parent="ovis"/>
|
11746
|
+
<item name="ovis_solognote" parent="ovis"/>
|
11747
|
+
<item name="ovis_southdown_french" parent="ovis"/>
|
11667
11748
|
<item name="packaged_matter" parent="preparation"/>
|
11668
11749
|
<item name="palaquium" parent="sapotaceae" itis_tsn="500654"/>
|
11669
11750
|
<item name="palaquium_gutta" parent="palaquium" itis_tsn="505957"/>
|
@@ -12011,6 +12092,7 @@
|
|
12011
12092
|
<item name="raspberry" parent="fruit" derivative_of="rubus"/>
|
12012
12093
|
<item name="raw_matter" parent="preparation"/>
|
12013
12094
|
<item name="rhagoletis_completa" parent="insecta"/>
|
12095
|
+
<item name="rheum_rhaponticum" parent="polygonaceae" itis_tsn="21319"/>
|
12014
12096
|
<item name="ribes" parent="grossulariaceae" itis_tsn="24448"/>
|
12015
12097
|
<item name="ribes_nigrum" parent="ribes" itis_tsn="24488"/>
|
12016
12098
|
<item name="ribes_nigrum_andega" parent="ribes_nigrum" itis_tsn="0"/>
|
data/lib/onoma.rb
CHANGED
@@ -62,6 +62,7 @@ module Onoma
|
|
62
62
|
# Returns version of DB
|
63
63
|
def reference_version
|
64
64
|
return 0 unless reference_path.exist?
|
65
|
+
|
65
66
|
reference_document.root['version'].to_i
|
66
67
|
end
|
67
68
|
|
@@ -116,6 +117,7 @@ module Onoma
|
|
116
117
|
elsif args.size == 1
|
117
118
|
return nomenclature.find(args.shift) if nomenclature
|
118
119
|
end
|
120
|
+
|
119
121
|
nil
|
120
122
|
end
|
121
123
|
|
data/lib/onoma/item.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# rubocop:disable Style/MissingRespondToMissing
|
1
2
|
require 'set'
|
2
3
|
|
3
4
|
module Onoma
|
@@ -48,6 +49,7 @@ module Onoma
|
|
48
49
|
if item.parents.any? { |p| self == p } || self == item
|
49
50
|
raise 'Circular dependency. Item can be parent of itself.'
|
50
51
|
end
|
52
|
+
|
51
53
|
@parent = item
|
52
54
|
@parent_name = @parent.name.to_s
|
53
55
|
end
|
@@ -78,10 +80,12 @@ module Onoma
|
|
78
80
|
|
79
81
|
def parent
|
80
82
|
return @parent if @parent
|
83
|
+
|
81
84
|
@parent = find_parent
|
82
85
|
@parent.add_child(self) if @parent
|
83
86
|
@parent
|
84
87
|
end
|
88
|
+
|
85
89
|
alias fetch_parent parent
|
86
90
|
|
87
91
|
def find_parent
|
@@ -93,9 +97,11 @@ module Onoma
|
|
93
97
|
a = self_and_parents.reverse
|
94
98
|
b = other_item.self_and_parents.reverse
|
95
99
|
return nil if a.first != b.first
|
100
|
+
|
96
101
|
common_lineage = 0
|
97
102
|
a.size.times do |index|
|
98
103
|
break if a[index].nil? || b[index].nil? || a[index] != b[index]
|
104
|
+
|
99
105
|
common_lineage += 1
|
100
106
|
end
|
101
107
|
a.size + b.size - 2 * common_lineage
|
@@ -103,6 +109,7 @@ module Onoma
|
|
103
109
|
|
104
110
|
def original_nomenclature_name
|
105
111
|
return parent.name.to_sym unless root?
|
112
|
+
|
106
113
|
nil
|
107
114
|
end
|
108
115
|
|
@@ -118,16 +125,14 @@ module Onoma
|
|
118
125
|
list
|
119
126
|
end
|
120
127
|
end
|
128
|
+
elsif options[:recursively].is_a?(FalseClass)
|
129
|
+
nomenclature.list.select do |item|
|
130
|
+
@left < item.left && item.right < @right && item.depth == @depth + 1
|
131
|
+
end
|
121
132
|
else
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
end
|
126
|
-
else
|
127
|
-
# @children ||=
|
128
|
-
nomenclature.list.select do |item|
|
129
|
-
@left < item.left && item.right < @right
|
130
|
-
end
|
133
|
+
# @children ||=
|
134
|
+
nomenclature.list.select do |item|
|
135
|
+
@left < item.left && item.right < @right
|
131
136
|
end
|
132
137
|
end
|
133
138
|
end
|
@@ -152,6 +157,7 @@ module Onoma
|
|
152
157
|
def rise(&block)
|
153
158
|
result = yield(self)
|
154
159
|
return result if result
|
160
|
+
|
155
161
|
parent ? parent.rise(&block) : nil
|
156
162
|
end
|
157
163
|
|
@@ -196,6 +202,7 @@ module Onoma
|
|
196
202
|
end
|
197
203
|
I18n.t(root, options.merge(default: [*defaults.map(&:to_sym), "items.#{Onoma.escape_key(name)}".to_sym, "enumerize.#{Onoma.escape_key(nomenclature.name)}.#{Onoma.escape_key(name)}".to_sym, "labels.#{Onoma.escape_key(name)}".to_sym, name.humanize]))
|
198
204
|
end
|
205
|
+
|
199
206
|
alias humanize human_name
|
200
207
|
alias localize human_name
|
201
208
|
alias l localize
|
@@ -266,6 +273,7 @@ module Onoma
|
|
266
273
|
# Returns property value
|
267
274
|
def property(name)
|
268
275
|
return @name.to_sym if name == :name
|
276
|
+
|
269
277
|
property = @nomenclature.properties[name]
|
270
278
|
value = @attributes[name]
|
271
279
|
if property
|
@@ -291,11 +299,12 @@ module Onoma
|
|
291
299
|
unless target_nomenclature
|
292
300
|
raise "Cannot find nomenclature: for #{property(name).inspect}"
|
293
301
|
end
|
302
|
+
|
294
303
|
return target_nomenclature.list.collect do |i|
|
295
304
|
[i.human_name, i.name]
|
296
305
|
end
|
297
306
|
else
|
298
|
-
raise StandardError
|
307
|
+
raise StandardError.new('Cannot call selection for a non-list property')
|
299
308
|
end
|
300
309
|
end
|
301
310
|
|
@@ -307,11 +316,13 @@ module Onoma
|
|
307
316
|
# Returns property descriptor
|
308
317
|
def method_missing(method_name, *args)
|
309
318
|
return property(method_name) if has_property?(method_name)
|
319
|
+
|
310
320
|
super
|
311
321
|
end
|
312
322
|
|
313
323
|
def set(name, value)
|
314
324
|
raise "Invalid property: #{name.inspect}" if %i[name parent].include?(name.to_sym)
|
325
|
+
|
315
326
|
# # TODO: check format
|
316
327
|
# if property = nomenclature.properties[name]
|
317
328
|
# value ||= [] if property.list?
|
@@ -325,16 +336,18 @@ module Onoma
|
|
325
336
|
|
326
337
|
private
|
327
338
|
|
328
|
-
|
329
|
-
|
330
|
-
|
339
|
+
def cast_property(name, value)
|
340
|
+
@nomenclature.cast_property(name, value)
|
341
|
+
end
|
331
342
|
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
343
|
+
def item_for_comparison(other)
|
344
|
+
item = nomenclature[other.is_a?(Item) ? other.name : other]
|
345
|
+
unless item
|
346
|
+
raise StandardError.new("Invalid operand to compare: #{other.inspect} not in #{nomenclature.name}")
|
347
|
+
end
|
348
|
+
|
349
|
+
item
|
336
350
|
end
|
337
|
-
item
|
338
|
-
end
|
339
351
|
end
|
340
352
|
end
|
353
|
+
# rubocop:enable Style/MissingRespondToMissing
|