Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 64440a9

Browse files
committed
Remove unused phrases and code
1 parent 8cbe07d commit 64440a9

File tree

5 files changed

+4
-47
lines changed

5 files changed

+4
-47
lines changed

js/languages/en-US.json

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77
"Recommended": "Recommended",
88
"Reload": "Reload",
99
"LoadIndex": "Go To Discover",
10-
"You": "You",
11-
"Skip": "Skip",
12-
"Done": "Done",
1310
"Status": "Status",
14-
"Navigation": "Navigation",
1511
"Cancel": "Cancel",
1612
"TryAgain": "Try Again",
1713
"ClosingOpenBazaar": "Close (Your page will go offline)",
@@ -23,7 +19,6 @@
2319
"Yes": "Yes",
2420
"No": "No",
2521
"of": "of",
26-
"Sell": "Sell",
2722
"New": "New",
2823
"Retry": "Retry",
2924
"HighlightToStyle": "Highlight text to style",
@@ -43,13 +38,7 @@
4338
"Digital": "Digital",
4439
"Service": "Service",
4540
"Visit": "View",
46-
"Item": "Item",
47-
"Items": "Items",
48-
"Stores": "Stores",
4941
"Follow": "Follow",
50-
"Feed": "Feed",
51-
"Order": "Order",
52-
"FeedPlaceholder": "A feed of updates from all of the pages you follow",
5342
"ViewListing": "View Listing",
5443
"Unfollow": "Unfollow",
5544
"ConfirmUnfollow": "Confirm Unfollow",
@@ -90,12 +79,10 @@
9079
"ShowUnlfilteredListings": "Show Random Listings",
9180
"SearchForItemsPlaceholder": "Type #games, #shoes or any #tag...",
9281
"SearchForPagesPlaceholder": "Search by name or keyword",
93-
"SearchFeedPlaceholder": "Type a keyword...",
9482
"SearchForFollowersPlaceholder": "Search for a name in your currently loaded followers.",
9583
"SearchForFollowersPlaceholderMore": "Search for a name in your currently loaded followers (scroll to load more).",
9684
"SearchForFollowingPlaceholder": "Search for a name in your currently loaded pages.",
9785
"SearchForFollowingPlaceholderMore": "Search for a name in your currently loaded pages (scroll to load more).",
98-
"SearchForUsersPlaceholder": "Type a name...",
9986
"SearchOnUserStorePlaceholder": "Type a title...",
10087
"EstDeliveryDomesticPlaceholder": "3-5 Business Days",
10188
"EstDeliveryInternationalPlaceholder": "7-15 Business Days",
@@ -113,7 +100,6 @@
113100
"ReturnPolicy": "Return Policy",
114101
"TermsAndConditions": "Terms and Conditions",
115102
"Photos": "Photos",
116-
"Added": "Added",
117103
"Categorization": "Categorization",
118104
"Expiration": "Expiration",
119105
"Search": "Search",
@@ -138,12 +124,9 @@
138124
"Files": "Files",
139125
"NewAddress": "New Address",
140126
"CurrentAddress": "Current Addresses",
141-
"Returns": "Returns",
142127
"ReturnsPolicy": "Returns Policy",
143-
"Ampersand": "&",
144128
"Tags": "Tags",
145129
"Keywords": "Keywords",
146-
"ShipsFrom": "Ships From",
147130
"ShipsFrom2": "Ships From %{country}",
148131
"ShipsTo": "Ships To",
149132
"ShipsTo2": "Ships To %{country}",
@@ -157,7 +140,6 @@
157140
"Customize": "Customize",
158141
"Save": "Save",
159142
"Change": "Change",
160-
"Changes": "Changes",
161143
"SaveChanges": "Save Changes",
162144
"YourName": "Your name",
163145
"UseTestnet": "Use Testnet",
@@ -176,18 +158,15 @@
176158
"ShipToCity": "City",
177159
"ShipToState": "State/Province/Region",
178160
"ShipToPostalCode": "Postal code",
179-
"PostalCode": "Postal code",
180161
"ShipToCountry": "Country",
181162
"EnableNotifications": "Enable Notifications",
182-
"EnableSSL": "Enable SSL",
183163
"SSLOn": "SSL on",
184164
"SSLOff": "SSL off",
185165
"SSLIsOn": "SSL is on",
186166
"SSLIsOff": "SSL is off",
187167
"LibbitcoinServerAddress": "Libbitcoin Server Address",
188168
"LibbitcoinOfflineWarning":"Contacting the Libbitcoin Server. Transactions may be delayed until the Libbitcoin server is connected.",
189169
"libbitcoinPlaceholder": "tcp://serveraddress:port or leave this field blank to use the default value (recommended)",
190-
"SMTPNotificationsWarning": "Turn email notifications on/off",
191170
"SMTPNotifications": "SMTP Notifications",
192171
"SMTPPassword": "SMTP Password",
193172
"SMTPUsername": "SMTP Username",
@@ -198,16 +177,12 @@
198177
"SMTPSenderExample": "[email protected]",
199178
"SMTPSender": "Sender Email Address",
200179
"TestSMTPButton": "Test SMTP Server",
201-
"TestSMTPButtonTooltip": "Test connection to the SMTP server",
202-
"ServerIPPort": "Server IP:Port",
203180
"All": "All",
204181
"Name": "Name",
205182
"Price": "Price",
206-
"Available": "Available",
207183
"Type": "Type",
208184
"Condition": "Condition",
209185
"NSFW": "18+ (Adult content)",
210-
"Select": "Select",
211186
"Social": "Social",
212187
"Theme": "Theme",
213188
"Listing": "Listing",
@@ -219,20 +194,15 @@
219194
"Language": "Language",
220195
"Reset": "Reset",
221196
"Local": "Local",
222-
"Domestic": "Domestic:",
223-
"Location": "Location",
224197
"International": "International",
225-
"Time": "Time",
226198
"Free": "Free",
227199
"FreeShipping": "Free Shipping",
228200
"Category": "Category",
229201
"ProcessingTime": "Processing Time",
230202
"SelectPhotos": "Select photos",
231-
"DragOrUploadPhotos": "Drag or upload photos",
232203
"ExpirationDate": "Expires On",
233204
"UploadCoverPhoto": "Upload a cover photo",
234205
"ShortDescription": "Short Description",
235-
"UpTo140Characters": "Up to 140 Characters",
236206
"PrimaryColor": "Primary Color",
237207
"SecondaryColor": "Secondary Color",
238208
"TextColor": "Text Color",

js/templates/home.html

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ <h1 class="fancy-heading fontSize20 vCentered js-discoverHeading"><%= polyglot.t
1919
</div>
2020

2121
<div class="bar barFlush navBar home-page-navigation height55">
22-
<!-- <a class="btn btn-bar btn-tab js-feedTab">
23-
<span class="ion-ios-paper fontSize11 marginRight2 textOpacity1"></span>
24-
<%= polyglot.t('Feed') %>
25-
</a> -->
2622
<a class="btn btn-bar btn-tab active js-productsTab">
2723
<span class="ion-ios-pricetag fontSize11 marginRight2 textOpacity1"></span>
2824
<%= polyglot.t('Listings') %>
@@ -99,12 +95,5 @@ <h1 class="fancy-heading fontSize20 vCentered js-discoverHeading"><%= polyglot.t
9995
</div>
10096
</div>
10197
<%= ob.backToTopTmpl() %>
102-
<div class="js-feed minHeight650 rowTop30 hide alignCenter fontSize14">
103-
<h1 class="fancy-heading width100 fontweight500"><%= polyglot.t('ComingSoon') %></h1>
104-
<div class="row20">
105-
<span class="fontSize16"><%= polyglot.t('FeedPlaceholder') %></span>
106-
</div>
107-
<img src="./imgs/feed-coming-soon.png" style="width: 497px;" />
108-
</div>
10998
<div class="navBar custCol-secondary" style="padding: 4px 0"></div>
11099
</div>

js/views/homeVw.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ module.exports = pageVw.extend({
1818

1919
events: {
2020
'click .js-productsTab': function(){this.setState("products");},
21-
'click .js-feedTab': function(){this.setState("feed");},
2221
'click .js-vendorsTab': function(){this.setState("vendors");},
2322
'click .js-homeCreateStore': 'createStore',
2423
'click .js-homeCreateListing': 'createListing',
@@ -168,8 +167,8 @@ module.exports = pageVw.extend({
168167
},
169168

170169
hideList: function(){
171-
this.$('.js-feed, .js-products, .js-vendors, .js-productsSearch').addClass('hide');
172-
this.$('.js-productsTab, .js-vendorsTab, .js-feedTab').removeClass('active');
170+
this.$('.js-products, .js-vendors, .js-productsSearch').addClass('hide');
171+
this.$('.js-productsTab, .js-vendorsTab').removeClass('active');
173172
},
174173

175174
resetLookingCount: function(){

js/views/settingsVw.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ module.exports = pageVw.extend({
210210
},
211211

212212
render: function(){
213-
console.log("render")
214213
var self = this;
215214
this.shownMods = []; //reset to blank
216215

js/views/userPageVw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ UserPageVw = pageVw.extend({
681681

682682
app.simpleMessageModal.open({
683683
title: window.polyglot.t('errorMessages.notFoundError'),
684-
message: window.polyglot.t('Items')
684+
message: window.polyglot.t('Listings')
685685
});
686686
},
687687
complete: function (xhr, textStatus) {
@@ -1060,7 +1060,7 @@ UserPageVw = pageVw.extend({
10601060

10611061
app.simpleMessageModal.open({
10621062
title: window.polyglot.t('errorMessages.notFoundError'),
1063-
message: window.polyglot.t('Item')
1063+
message: window.polyglot.t('Listing')
10641064
});
10651065
},
10661066
complete: function(xhr, textStatus) {

0 commit comments

Comments
 (0)