Skip to content

Commit

Permalink
Rcf021 (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsam authored Sep 6, 2024
2 parents eb2ead5 + 803c08c commit c560187
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion static/js/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ const ProfilePicMenu = ({len, url, name}) => {
<div className="interfaceLinks-header profile-menu">{name}</div>
<div className="profile-menu-middle">
<div><a className="interfaceLinks-row" id="my-profile-link" href="/my/profile">
<InterfaceText>Profile</InterfaceText>
<InterfaceText>header.profileMenu.profile</InterfaceText>
</a></div>
<div><a className="interfaceLinks-row" id="new-sheet-link" href="/sheets/new">
<InterfaceText>header.profileMenu.create_New_Sheet</InterfaceText>
Expand Down
4 changes: 2 additions & 2 deletions static/js/NavSidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ const JoinTheConversation = ({wide}) => {

return (
<Module wide={wide}>
{/* <div>
<div>
<ModuleTitle>side_nav.join_conversation</ModuleTitle>
<InterfaceText>topic.combine_source</InterfaceText>
</div>
Expand All @@ -524,7 +524,7 @@ const JoinTheConversation = ({wide}) => {
<img src="/static/icons/new-sheet-black.svg" alt="make a sheet icon" />
<InterfaceText>side_nav.make_sheet</InterfaceText>
</a>
</div> */}
</div>
</Module>
);
};
Expand Down
2 changes: 1 addition & 1 deletion static/js/s1/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3482,7 +3482,7 @@ sjs.showNewText = function () {
$(".modal, #overlay").hide();
$(".open, .verseControls").remove();
$("#viewButtons, #prev, #next, #breadcrumbs").hide();
$("#editButtons").show();
$("#editButton").show();
$("body").addClass("newText");
sjs._$commentaryBox.hide();
sjs._$basetext.hide();
Expand Down
1 change: 1 addition & 0 deletions static/js/sefaria/localizationLanguage/chinese.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@
"side_nav.download_text.text_without_tag": "无标签的文本",
"side_nav.download_text.merged_version": "合并版本",
"side_nav.join_conversation": "加入对话",
"side_nav.join_conversation.button.make_sheet": "",
"side_nav.join_conversation.descriptions": "通过笔记或评论与其他法友分享见解。",
"side_nav.explore_community": "探索社区",
"side_nav.who_to_follow": "关注谁",
Expand Down
1 change: 1 addition & 0 deletions static/js/sefaria/localizationLanguage/english.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@
"side_nav.download_text.text_without_tag":"Text (without Tags)",
"side_nav.download_text.merged_version":"Merged Version",
"side_nav.join_conversation": "Join the Conversation",
"side_nav.join_conversation.button.make_sheet": "Make a Sheet",
"side_nav.join_conversation.descriptions": "Combine sources from our library with your own comments, questions, images, and videos.",
"side_nav.explore_community": "Explore the Community",
"side_nav.who_to_follow": "Who to Follow",
Expand Down
1 change: 1 addition & 0 deletions static/js/sefaria/localizationLanguage/tibetan.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@
"side_nav.download_text.text_without_tag":"ཡིག་རྐྱང་།",
"side_nav.download_text.merged_version":"དཔེ་རྒྱུན་མཉམ་བསྒྲིགས་བྱས་པ།",
"side_nav.join_conversation": "ཁ་བརྡ་ནང་ཞུགས།",
"side_nav.join_conversation.button.make_sheet": "ཤོག་ངོས་ཤིག་བཟོས",
"side_nav.join_conversation.descriptions": "ཡིག་མཛོད་ནང་ལ་ཡོད་པའི་ལུང་ཚིག་གཞི་ལ་བཞག་ནས། ཁྱེད་རང་ཉིད་ཀྱི་བསམ་ཚུལ་དང་དྲི་བ། འདྲ་པར། བརྙན་ལ་སོགས་པ་བསྣན་ནས་མཉམ་སྡེབ་བྱེད་ཆོག།",
"side_nav.explore_community": "ཚོགས་སྡེ་དེ་སྔོགས།",
"side_nav.who_to_follow": "གཤམ་གྱི་ཟིན་བྲིས་པ་ཚོར་རྒྱུན་ལྟ་གྱིས།",
Expand Down
4 changes: 1 addition & 3 deletions static/js/sheets.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Sefaria from "./sefaria/sefaria";

sjs.flags = {
saving: false,
sorting: false,
Expand Down Expand Up @@ -1126,7 +1124,7 @@ $("#addInterface").on("click", "#connectionButton", function(e) {
if ("error" in data) {
$("#connectionsToAdd").text(data.error)
} else if (data.commentary.length == 0) {
$("#connectionsToAdd").text(_("sheet.no_connection_found"));
$("#connectionsToAdd").text(_("No connections known for this source."));
} else {
data.commentary = [].concat.apply([], data.commentary);

Expand Down

0 comments on commit c560187

Please sign in to comment.