Added yet more default accounts

This commit is contained in:
Rick Falkvinge
2016-05-09 18:41:55 +02:00
parent 1b06abf76c
commit adc3eaa4d5
3 changed files with 101 additions and 6 deletions
+65 -2
View File
@@ -150,6 +150,24 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Business or First Class.
/// </summary>
internal static string Cost_AirfareBusiness {
get {
return ResourceManager.GetString("Cost_AirfareBusiness", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Coach.
/// </summary>
internal static string Cost_AirfareCoach {
get {
return ResourceManager.GetString("Cost_AirfareCoach", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Allocated Funds.
/// </summary>
@@ -205,7 +223,7 @@ namespace Swarmops.Logic.Resources {
}
/// <summary>
/// Looks up a localized string similar to Conferences.
/// Looks up a localized string similar to Conferences (our own).
/// </summary>
internal static string Cost_Conferences {
get {
@@ -276,6 +294,51 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to 5 Star.
/// </summary>
internal static string Cost_LodgingFiveStar {
get {
return ResourceManager.GetString("Cost_LodgingFiveStar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 4 Star.
/// </summary>
internal static string Cost_LodgingFourStar {
get {
return ResourceManager.GetString("Cost_LodgingFourStar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hostel or budget equivalent.
/// </summary>
internal static string Cost_LodgingHostel {
get {
return ResourceManager.GetString("Cost_LodgingHostel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Shared lodging (AirBnB etc).
/// </summary>
internal static string Cost_LodgingShared {
get {
return ResourceManager.GetString("Cost_LodgingShared", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 3 Star.
/// </summary>
internal static string Cost_LodgingThreeStar {
get {
return ResourceManager.GetString("Cost_LodgingThreeStar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Marketing and Campaigns.
/// </summary>
@@ -304,7 +367,7 @@ namespace Swarmops.Logic.Resources {
}
/// <summary>
/// Looks up a localized string similar to Office Space &amp; Maintenance.
/// Looks up a localized string similar to Office Space, Maintenance.
/// </summary>
internal static string Cost_OfficeSpace {
get {
@@ -150,6 +150,12 @@
<value>Airfare, Airports, and Transit</value>
<comment>"Transit" refers to transit to/from airport.</comment>
</data>
<data name="Cost_AirfareBusiness" xml:space="preserve">
<value>Business or First Class</value>
</data>
<data name="Cost_AirfareCoach" xml:space="preserve">
<value>Coach</value>
</data>
<data name="Cost_AllocatedFunds" xml:space="preserve">
<value>Allocated Funds</value>
</data>
@@ -170,7 +176,8 @@
<comment>As in rounding to nearest small unit of currency</comment>
</data>
<data name="Cost_Conferences" xml:space="preserve">
<value>Conferences</value>
<value>Conferences (our own)</value>
<comment>This is for confs that the organization is _hosting_.</comment>
</data>
<data name="Cost_EventTickets" xml:space="preserve">
<value>Event Tickets</value>
@@ -196,6 +203,24 @@
<data name="Cost_LegalFees" xml:space="preserve">
<value>Legal fees</value>
</data>
<data name="Cost_LodgingFiveStar" xml:space="preserve">
<value>5 Star</value>
<comment>Five-star rating</comment>
</data>
<data name="Cost_LodgingFourStar" xml:space="preserve">
<value>4 Star</value>
<comment>Four-star rating</comment>
</data>
<data name="Cost_LodgingHostel" xml:space="preserve">
<value>Hostel or budget equivalent</value>
</data>
<data name="Cost_LodgingShared" xml:space="preserve">
<value>Shared lodging (AirBnB etc)</value>
</data>
<data name="Cost_LodgingThreeStar" xml:space="preserve">
<value>3 Star</value>
<comment>Three-star rating</comment>
</data>
<data name="Cost_MarketingCampaigns" xml:space="preserve">
<value>Marketing and Campaigns</value>
</data>
@@ -206,7 +231,7 @@
<value>Offices</value>
</data>
<data name="Cost_OfficeSpace" xml:space="preserve">
<value>Office Space &amp; Maintenance</value>
<value>Office Space, Maintenance</value>
</data>
<data name="Cost_PublicTransit" xml:space="preserve">
<value>Public Transit</value>
+9 -2
View File
@@ -506,10 +506,17 @@ namespace Swarmops.Logic.Structure
FinancialAccount travelMaster = FinancialAccount.Create (this, "[LOC]Cost_Travel", FinancialAccountType.Cost,
null);
FinancialAccount.Create(this, "[LOC]Cost_Airfare", FinancialAccountType.Cost, travelMaster);
FinancialAccount airfare = FinancialAccount.Create(this, "[LOC]Cost_Airfare", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_AirfareBusiness", FinancialAccountType.Cost, airfare);
FinancialAccount.Create(this, "[LOC]Cost_AirfareCoach", FinancialAccountType.Cost, airfare);
FinancialAccount.Create(this, "[LOC]Cost_TaxiTransport", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_PublicTransit", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_TravelLodging", FinancialAccountType.Cost, travelMaster);
FinancialAccount lodging = FinancialAccount.Create(this, "[LOC]Cost_TravelLodging", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_LodgingHostel", FinancialAccountType.Cost, lodging);
FinancialAccount.Create(this, "[LOC]Cost_LodgingShared", FinancialAccountType.Cost, lodging);
FinancialAccount.Create(this, "[LOC]Cost_LodgingThreeStar", FinancialAccountType.Cost, lodging);
FinancialAccount.Create(this, "[LOC]Cost_LodgingFourStar", FinancialAccountType.Cost, lodging);
FinancialAccount.Create(this, "[LOC]Cost_LodgingFiveStar", FinancialAccountType.Cost, lodging);
FinancialAccount.Create(this, "[LOC]Cost_TrainsFerries", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_TravelPerDiem", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_EventTickets", FinancialAccountType.Cost, travelMaster);