mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 14:24:43 -07:00
Picasa is no longer supported, but Google now has Google Photos. Although it's not working, just rename the filenames from Picasa to Google Photos.
This commit is contained in:
parent
48a197b942
commit
a9fd3b66b5
38 changed files with 829 additions and 836 deletions
|
@ -43,7 +43,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotDropboxPlugin", "G
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotFlickrPlugin", "GreenshotFlickrPlugin\GreenshotFlickrPlugin.csproj", "{7EC72A5A-D73A-4B4B-9CA1-2216C7D92D5E}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotFlickrPlugin", "GreenshotFlickrPlugin\GreenshotFlickrPlugin.csproj", "{7EC72A5A-D73A-4B4B-9CA1-2216C7D92D5E}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotPicasaPlugin", "GreenshotPicasaPlugin\GreenshotPicasaPlugin.csproj", "{1893A2E4-A78A-4713-A8E7-E70058DABEE0}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotGooglePhotosPlugin", "GreenshotGooglePhotosPlugin\GreenshotGooglePhotosPlugin.csproj", "{1893A2E4-A78A-4713-A8E7-E70058DABEE0}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotOfficePlugin", "GreenshotOfficePlugin\GreenshotOfficePlugin.csproj", "{92599C09-FF29-4ABD-B6E6-C48ECD781BAB}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotOfficePlugin", "GreenshotOfficePlugin\GreenshotOfficePlugin.csproj", "{92599C09-FF29-4ABD-B6E6-C48ECD781BAB}"
|
||||||
EndProject
|
EndProject
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* A Picasa Plugin for Greenshot
|
* A GooglePhotos Plugin for Greenshot
|
||||||
* Copyright (C) 2011 Francis Noel
|
* Copyright (C) 2011 Francis Noel
|
||||||
*
|
*
|
||||||
* For more information see: http://getgreenshot.org/
|
* For more information see: http://getgreenshot.org/
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
using GreenshotPlugin.Controls;
|
using GreenshotPlugin.Controls;
|
||||||
|
|
||||||
namespace GreenshotPicasaPlugin.Forms {
|
namespace GreenshotGooglePhotosPlugin.Forms {
|
||||||
public class PicasaForm : GreenshotForm {
|
public class GooglePhotosForm : GreenshotForm {
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* A Picasa Plugin for Greenshot
|
* A GooglePhotos Plugin for Greenshot
|
||||||
* Copyright (C) 2011 Francis Noel
|
* Copyright (C) 2011 Francis Noel
|
||||||
*
|
*
|
||||||
* For more information see: http://getgreenshot.org/
|
* For more information see: http://getgreenshot.org/
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
namespace GreenshotPicasaPlugin.Forms {
|
namespace GreenshotGooglePhotosPlugin.Forms {
|
||||||
partial class SettingsForm {
|
partial class SettingsForm {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Designer variable used to keep track of non-visual components.
|
/// Designer variable used to keep track of non-visual components.
|
||||||
|
@ -84,13 +84,13 @@ namespace GreenshotPicasaPlugin.Forms {
|
||||||
this.combobox_uploadimageformat.Location = new System.Drawing.Point(197, 12);
|
this.combobox_uploadimageformat.Location = new System.Drawing.Point(197, 12);
|
||||||
this.combobox_uploadimageformat.Name = "combobox_uploadimageformat";
|
this.combobox_uploadimageformat.Name = "combobox_uploadimageformat";
|
||||||
this.combobox_uploadimageformat.PropertyName = "UploadFormat";
|
this.combobox_uploadimageformat.PropertyName = "UploadFormat";
|
||||||
this.combobox_uploadimageformat.SectionName = "Picasa";
|
this.combobox_uploadimageformat.SectionName = "GooglePhotos";
|
||||||
this.combobox_uploadimageformat.Size = new System.Drawing.Size(225, 21);
|
this.combobox_uploadimageformat.Size = new System.Drawing.Size(225, 21);
|
||||||
this.combobox_uploadimageformat.TabIndex = 1;
|
this.combobox_uploadimageformat.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// label_upload_format
|
// label_upload_format
|
||||||
//
|
//
|
||||||
this.label_upload_format.LanguageKey = "picasa.label_upload_format";
|
this.label_upload_format.LanguageKey = "googlephotos.label_upload_format";
|
||||||
this.label_upload_format.Location = new System.Drawing.Point(10, 18);
|
this.label_upload_format.Location = new System.Drawing.Point(10, 18);
|
||||||
this.label_upload_format.Name = "label_upload_format";
|
this.label_upload_format.Name = "label_upload_format";
|
||||||
this.label_upload_format.Size = new System.Drawing.Size(181, 33);
|
this.label_upload_format.Size = new System.Drawing.Size(181, 33);
|
||||||
|
@ -99,7 +99,7 @@ namespace GreenshotPicasaPlugin.Forms {
|
||||||
// label_AfterUpload
|
// label_AfterUpload
|
||||||
//
|
//
|
||||||
this.label_AfterUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.label_AfterUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
this.label_AfterUpload.LanguageKey = "picasa.label_AfterUpload";
|
this.label_AfterUpload.LanguageKey = "googlephotos.label_AfterUpload";
|
||||||
this.label_AfterUpload.Location = new System.Drawing.Point(10, 51);
|
this.label_AfterUpload.Location = new System.Drawing.Point(10, 51);
|
||||||
this.label_AfterUpload.Name = "label_AfterUpload";
|
this.label_AfterUpload.Name = "label_AfterUpload";
|
||||||
this.label_AfterUpload.Size = new System.Drawing.Size(181, 29);
|
this.label_AfterUpload.Size = new System.Drawing.Size(181, 29);
|
||||||
|
@ -108,11 +108,11 @@ namespace GreenshotPicasaPlugin.Forms {
|
||||||
// checkboxAfterUploadLinkToClipBoard
|
// checkboxAfterUploadLinkToClipBoard
|
||||||
//
|
//
|
||||||
this.checkboxAfterUploadLinkToClipBoard.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.checkboxAfterUploadLinkToClipBoard.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
this.checkboxAfterUploadLinkToClipBoard.LanguageKey = "picasa.label_AfterUploadLinkToClipBoard";
|
this.checkboxAfterUploadLinkToClipBoard.LanguageKey = "googlephotos.label_AfterUploadLinkToClipBoard";
|
||||||
this.checkboxAfterUploadLinkToClipBoard.Location = new System.Drawing.Point(197, 50);
|
this.checkboxAfterUploadLinkToClipBoard.Location = new System.Drawing.Point(197, 50);
|
||||||
this.checkboxAfterUploadLinkToClipBoard.Name = "checkboxAfterUploadLinkToClipBoard";
|
this.checkboxAfterUploadLinkToClipBoard.Name = "checkboxAfterUploadLinkToClipBoard";
|
||||||
this.checkboxAfterUploadLinkToClipBoard.PropertyName = "AfterUploadLinkToClipBoard";
|
this.checkboxAfterUploadLinkToClipBoard.PropertyName = "AfterUploadLinkToClipBoard";
|
||||||
this.checkboxAfterUploadLinkToClipBoard.SectionName = "Picasa";
|
this.checkboxAfterUploadLinkToClipBoard.SectionName = "GooglePhotos";
|
||||||
this.checkboxAfterUploadLinkToClipBoard.Size = new System.Drawing.Size(104, 17);
|
this.checkboxAfterUploadLinkToClipBoard.Size = new System.Drawing.Size(104, 17);
|
||||||
this.checkboxAfterUploadLinkToClipBoard.TabIndex = 2;
|
this.checkboxAfterUploadLinkToClipBoard.TabIndex = 2;
|
||||||
this.checkboxAfterUploadLinkToClipBoard.UseVisualStyleBackColor = true;
|
this.checkboxAfterUploadLinkToClipBoard.UseVisualStyleBackColor = true;
|
||||||
|
@ -129,7 +129,7 @@ namespace GreenshotPicasaPlugin.Forms {
|
||||||
this.Controls.Add(this.buttonCancel);
|
this.Controls.Add(this.buttonCancel);
|
||||||
this.Controls.Add(this.buttonOK);
|
this.Controls.Add(this.buttonOK);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
this.LanguageKey = "picasa.settings_title";
|
this.LanguageKey = "googlephotos.settings_title";
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
this.Name = "SettingsForm";
|
this.Name = "SettingsForm";
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* A Picasa Plugin for Greenshot
|
* A GooglePhotos Plugin for Greenshot
|
||||||
* Copyright (C) 2011 Francis Noel
|
* Copyright (C) 2011 Francis Noel
|
||||||
*
|
*
|
||||||
* For more information see: http://getgreenshot.org/
|
* For more information see: http://getgreenshot.org/
|
||||||
|
@ -18,11 +18,11 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace GreenshotPicasaPlugin.Forms {
|
namespace GreenshotGooglePhotosPlugin.Forms {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of PasswordRequestForm.
|
/// Description of PasswordRequestForm.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class SettingsForm : PicasaForm {
|
public partial class SettingsForm : GooglePhotosForm {
|
||||||
|
|
||||||
public SettingsForm()
|
public SettingsForm()
|
||||||
{
|
{
|
BIN
GreenshotGooglePhotosPlugin/GooglePhotos.png
Normal file
BIN
GreenshotGooglePhotosPlugin/GooglePhotos.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* A Picasa Plugin for Greenshot
|
* A GooglePhotos Plugin for Greenshot
|
||||||
* Copyright (C) 2011 Francis Noel
|
* Copyright (C) 2011 Francis Noel
|
||||||
*
|
*
|
||||||
* For more information see: http://getgreenshot.org/
|
* For more information see: http://getgreenshot.org/
|
||||||
|
@ -20,42 +20,42 @@
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using GreenshotPlugin.Core;
|
using GreenshotPlugin.Core;
|
||||||
using System;
|
using System;
|
||||||
using GreenshotPicasaPlugin.Forms;
|
using GreenshotGooglePhotosPlugin.Forms;
|
||||||
using GreenshotPlugin.IniFile;
|
using GreenshotPlugin.IniFile;
|
||||||
|
|
||||||
namespace GreenshotPicasaPlugin {
|
namespace GreenshotGooglePhotosPlugin {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of PicasaConfiguration.
|
/// Description of GooglePhotosConfiguration.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[IniSection("Picasa", Description = "Greenshot Picasa Plugin configuration")]
|
[IniSection("GooglePhotos", Description = "Greenshot GooglePhotos Plugin configuration")]
|
||||||
public class PicasaConfiguration : IniSection {
|
public class GooglePhotosConfiguration : IniSection {
|
||||||
[IniProperty("UploadFormat", Description="What file type to use for uploading", DefaultValue="png")]
|
[IniProperty("UploadFormat", Description="What file type to use for uploading", DefaultValue="png")]
|
||||||
public OutputFormat UploadFormat { get; set; }
|
public OutputFormat UploadFormat { get; set; }
|
||||||
|
|
||||||
[IniProperty("UploadJpegQuality", Description="JPEG file save quality in %.", DefaultValue="80")]
|
[IniProperty("UploadJpegQuality", Description="JPEG file save quality in %.", DefaultValue="80")]
|
||||||
public int UploadJpegQuality { get; set; }
|
public int UploadJpegQuality { get; set; }
|
||||||
|
|
||||||
[IniProperty("AfterUploadLinkToClipBoard", Description = "After upload send Picasa link to clipboard.", DefaultValue = "true")]
|
[IniProperty("AfterUploadLinkToClipBoard", Description = "After upload send GooglePhotos link to clipboard.", DefaultValue = "true")]
|
||||||
public bool AfterUploadLinkToClipBoard { get; set; }
|
public bool AfterUploadLinkToClipBoard { get; set; }
|
||||||
[IniProperty("AddFilename", Description = "Is the filename passed on to Picasa", DefaultValue = "False")]
|
[IniProperty("AddFilename", Description = "Is the filename passed on to GooglePhotos", DefaultValue = "False")]
|
||||||
public bool AddFilename {
|
public bool AddFilename {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
}
|
}
|
||||||
|
|
||||||
[IniProperty("UploadUser", Description = "The Picasa user to upload to", DefaultValue = "default")]
|
[IniProperty("UploadUser", Description = "The GooglePhotos user to upload to", DefaultValue = "default")]
|
||||||
public string UploadUser {
|
public string UploadUser {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
}
|
}
|
||||||
|
|
||||||
[IniProperty("UploadAlbum", Description = "The Picasa album to upload to", DefaultValue = "default")]
|
[IniProperty("UploadAlbum", Description = "The GooglePhotos album to upload to", DefaultValue = "default")]
|
||||||
public string UploadAlbum {
|
public string UploadAlbum {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
}
|
}
|
||||||
|
|
||||||
[IniProperty("RefreshToken", Description = "Picasa authorization refresh Token", Encrypted = true)]
|
[IniProperty("RefreshToken", Description = "GooglePhotos authorization refresh Token", Encrypted = true)]
|
||||||
public string RefreshToken {
|
public string RefreshToken {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* A Picasa Plugin for Greenshot
|
* A GooglePhotos Plugin for Greenshot
|
||||||
* Copyright (C) 2011 Francis Noel
|
* Copyright (C) 2011 Francis Noel
|
||||||
*
|
*
|
||||||
* For more information see: http://getgreenshot.org/
|
* For more information see: http://getgreenshot.org/
|
||||||
|
@ -22,21 +22,21 @@ using System.Drawing;
|
||||||
using GreenshotPlugin.Core;
|
using GreenshotPlugin.Core;
|
||||||
using GreenshotPlugin.Interfaces;
|
using GreenshotPlugin.Interfaces;
|
||||||
|
|
||||||
namespace GreenshotPicasaPlugin {
|
namespace GreenshotGooglePhotosPlugin {
|
||||||
public class PicasaDestination : AbstractDestination {
|
public class GooglePhotosDestination : AbstractDestination {
|
||||||
private readonly PicasaPlugin _plugin;
|
private readonly GooglePhotosPlugin _plugin;
|
||||||
public PicasaDestination(PicasaPlugin plugin) {
|
public GooglePhotosDestination(GooglePhotosPlugin plugin) {
|
||||||
_plugin = plugin;
|
_plugin = plugin;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string Designation => "Picasa";
|
public override string Designation => "GooglePhotos";
|
||||||
|
|
||||||
public override string Description => Language.GetString("picasa", LangKey.upload_menu_item);
|
public override string Description => Language.GetString("googlephotos", LangKey.upload_menu_item);
|
||||||
|
|
||||||
public override Image DisplayIcon {
|
public override Image DisplayIcon {
|
||||||
get {
|
get {
|
||||||
ComponentResourceManager resources = new ComponentResourceManager(typeof(PicasaPlugin));
|
ComponentResourceManager resources = new ComponentResourceManager(typeof(GooglePhotosPlugin));
|
||||||
return (Image)resources.GetObject("Picasa");
|
return (Image)resources.GetObject("GooglePhotos");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* A Picasa Plugin for Greenshot
|
* A GooglePhotos Plugin for Greenshot
|
||||||
* Copyright (C) 2011 Francis Noel
|
* Copyright (C) 2011 Francis Noel
|
||||||
*
|
*
|
||||||
* For more information see: http://getgreenshot.org/
|
* For more information see: http://getgreenshot.org/
|
||||||
|
@ -28,14 +28,14 @@ using GreenshotPlugin.IniFile;
|
||||||
using GreenshotPlugin.Interfaces;
|
using GreenshotPlugin.Interfaces;
|
||||||
using GreenshotPlugin.Interfaces.Plugin;
|
using GreenshotPlugin.Interfaces.Plugin;
|
||||||
|
|
||||||
namespace GreenshotPicasaPlugin {
|
namespace GreenshotGooglePhotosPlugin {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is the Picasa base code
|
/// This is the GooglePhotos base code
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Plugin("Picasa", true)]
|
[Plugin("GooglePhotos", true)]
|
||||||
public class PicasaPlugin : IGreenshotPlugin {
|
public class GooglePhotosPlugin : IGreenshotPlugin {
|
||||||
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(PicasaPlugin));
|
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(GooglePhotosPlugin));
|
||||||
private static PicasaConfiguration _config;
|
private static GooglePhotosConfiguration _config;
|
||||||
private ComponentResourceManager _resources;
|
private ComponentResourceManager _resources;
|
||||||
private ToolStripMenuItem _itemPlugInRoot;
|
private ToolStripMenuItem _itemPlugInRoot;
|
||||||
|
|
||||||
|
@ -44,29 +44,28 @@ namespace GreenshotPicasaPlugin {
|
||||||
GC.SuppressFinalize(this);
|
GC.SuppressFinalize(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void Dispose(bool disposing) {
|
private void Dispose(bool disposing)
|
||||||
if (disposing) {
|
{
|
||||||
if (_itemPlugInRoot != null) {
|
if (!disposing) return;
|
||||||
|
if (_itemPlugInRoot == null) return;
|
||||||
_itemPlugInRoot.Dispose();
|
_itemPlugInRoot.Dispose();
|
||||||
_itemPlugInRoot = null;
|
_itemPlugInRoot = null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Implementation of the IGreenshotPlugin.Initialize
|
/// Implementation of the IGreenshotPlugin.Initialize
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool Initialize() {
|
public bool Initialize() {
|
||||||
SimpleServiceProvider.Current.AddService<IDestination>(new PicasaDestination(this));
|
SimpleServiceProvider.Current.AddService<IDestination>(new GooglePhotosDestination(this));
|
||||||
|
|
||||||
// Get configuration
|
// Get configuration
|
||||||
_config = IniConfig.GetIniSection<PicasaConfiguration>();
|
_config = IniConfig.GetIniSection<GooglePhotosConfiguration>();
|
||||||
_resources = new ComponentResourceManager(typeof(PicasaPlugin));
|
_resources = new ComponentResourceManager(typeof(GooglePhotosPlugin));
|
||||||
|
|
||||||
_itemPlugInRoot = new ToolStripMenuItem
|
_itemPlugInRoot = new ToolStripMenuItem
|
||||||
{
|
{
|
||||||
Text = Language.GetString("picasa", LangKey.Configure),
|
Text = Language.GetString("googlephotos", LangKey.Configure),
|
||||||
Image = (Image) _resources.GetObject("Picasa")
|
Image = (Image) _resources.GetObject("GooglePhotos")
|
||||||
};
|
};
|
||||||
_itemPlugInRoot.Click += ConfigMenuClick;
|
_itemPlugInRoot.Click += ConfigMenuClick;
|
||||||
PluginUtils.AddToContextMenu(_itemPlugInRoot);
|
PluginUtils.AddToContextMenu(_itemPlugInRoot);
|
||||||
|
@ -76,12 +75,12 @@ namespace GreenshotPicasaPlugin {
|
||||||
|
|
||||||
public void OnLanguageChanged(object sender, EventArgs e) {
|
public void OnLanguageChanged(object sender, EventArgs e) {
|
||||||
if (_itemPlugInRoot != null) {
|
if (_itemPlugInRoot != null) {
|
||||||
_itemPlugInRoot.Text = Language.GetString("picasa", LangKey.Configure);
|
_itemPlugInRoot.Text = Language.GetString("googlephotos", LangKey.Configure);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Shutdown() {
|
public void Shutdown() {
|
||||||
Log.Debug("Picasa Plugin shutdown.");
|
Log.Debug("GooglePhotos Plugin shutdown.");
|
||||||
Language.LanguageChanged -= OnLanguageChanged;
|
Language.LanguageChanged -= OnLanguageChanged;
|
||||||
//host.OnImageEditorOpen -= new OnImageEditorOpenHandler(ImageEditorOpened);
|
//host.OnImageEditorOpen -= new OnImageEditorOpenHandler(ImageEditorOpened);
|
||||||
}
|
}
|
||||||
|
@ -101,11 +100,11 @@ namespace GreenshotPicasaPlugin {
|
||||||
SurfaceOutputSettings outputSettings = new SurfaceOutputSettings(_config.UploadFormat, _config.UploadJpegQuality);
|
SurfaceOutputSettings outputSettings = new SurfaceOutputSettings(_config.UploadFormat, _config.UploadJpegQuality);
|
||||||
try {
|
try {
|
||||||
string url = null;
|
string url = null;
|
||||||
new PleaseWaitForm().ShowAndWait("Picasa", Language.GetString("picasa", LangKey.communication_wait),
|
new PleaseWaitForm().ShowAndWait("GooglePhotos", Language.GetString("googlephotos", LangKey.communication_wait),
|
||||||
delegate
|
delegate
|
||||||
{
|
{
|
||||||
string filename = Path.GetFileName(FilenameHelper.GetFilename(_config.UploadFormat, captureDetails));
|
string filename = Path.GetFileName(FilenameHelper.GetFilename(_config.UploadFormat, captureDetails));
|
||||||
url = PicasaUtils.UploadToPicasa(surfaceToUpload, outputSettings, captureDetails.Title, filename);
|
url = GooglePhotosUtils.UploadToGooglePhotos(surfaceToUpload, outputSettings, captureDetails.Title, filename);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
uploadUrl = url;
|
uploadUrl = url;
|
||||||
|
@ -116,7 +115,7 @@ namespace GreenshotPicasaPlugin {
|
||||||
return true;
|
return true;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.Error("Error uploading.", e);
|
Log.Error("Error uploading.", e);
|
||||||
MessageBox.Show(Language.GetString("picasa", LangKey.upload_failure) + " " + e.Message);
|
MessageBox.Show(Language.GetString("googlephotos", LangKey.upload_failure) + " " + e.Message);
|
||||||
}
|
}
|
||||||
uploadUrl = null;
|
uploadUrl = null;
|
||||||
return false;
|
return false;
|
|
@ -118,7 +118,7 @@
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
<data name="Picasa" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="GooglePhotos" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>picasa.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>GooglePhotos.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* A Picasa Plugin for Greenshot
|
* A GooglePhotos Plugin for Greenshot
|
||||||
* Copyright (C) 2011 Francis Noel
|
* Copyright (C) 2011 Francis Noel
|
||||||
*
|
*
|
||||||
* For more information see: http://getgreenshot.org/
|
* For more information see: http://getgreenshot.org/
|
||||||
|
@ -26,36 +26,36 @@ using GreenshotPlugin.IniFile;
|
||||||
using GreenshotPlugin.Interfaces;
|
using GreenshotPlugin.Interfaces;
|
||||||
using GreenshotPlugin.Interfaces.Plugin;
|
using GreenshotPlugin.Interfaces.Plugin;
|
||||||
|
|
||||||
namespace GreenshotPicasaPlugin {
|
namespace GreenshotGooglePhotosPlugin {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of PicasaUtils.
|
/// Description of GooglePhotosUtils.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class PicasaUtils {
|
public static class GooglePhotosUtils {
|
||||||
private const string PicasaScope = "https://picasaweb.google.com/data/";
|
private const string GooglePhotosScope = "https://picasaweb.google.com/data/";
|
||||||
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(PicasaUtils));
|
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(GooglePhotosUtils));
|
||||||
private static readonly PicasaConfiguration Config = IniConfig.GetIniSection<PicasaConfiguration>();
|
private static readonly GooglePhotosConfiguration Config = IniConfig.GetIniSection<GooglePhotosConfiguration>();
|
||||||
private const string AuthUrl = "https://accounts.google.com/o/oauth2/auth?response_type=code&client_id={ClientId}&redirect_uri={RedirectUrl}&state={State}&scope=" + PicasaScope;
|
private const string AuthUrl = "https://accounts.google.com/o/oauth2/auth?response_type=code&client_id={ClientId}&redirect_uri={RedirectUrl}&state={State}&scope=" + GooglePhotosScope;
|
||||||
private const string TokenUrl = "https://www.googleapis.com/oauth2/v3/token";
|
private const string TokenUrl = "https://www.googleapis.com/oauth2/v3/token";
|
||||||
private const string UploadUrl = "https://picasaweb.google.com/data/feed/api/user/{0}/albumid/{1}";
|
private const string UploadUrl = "https://picasaweb.google.com/data/feed/api/user/{0}/albumid/{1}";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Do the actual upload to Picasa
|
/// Do the actual upload to GooglePhotos
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="surfaceToUpload">Image to upload</param>
|
/// <param name="surfaceToUpload">Image to upload</param>
|
||||||
/// <param name="outputSettings"></param>
|
/// <param name="outputSettings">SurfaceOutputSettings</param>
|
||||||
/// <param name="title"></param>
|
/// <param name="title">string</param>
|
||||||
/// <param name="filename"></param>
|
/// <param name="filename">string</param>
|
||||||
/// <returns>PicasaResponse</returns>
|
/// <returns>GooglePhotosResponse</returns>
|
||||||
public static string UploadToPicasa(ISurface surfaceToUpload, SurfaceOutputSettings outputSettings, string title, string filename) {
|
public static string UploadToGooglePhotos(ISurface surfaceToUpload, SurfaceOutputSettings outputSettings, string title, string filename) {
|
||||||
// Fill the OAuth2Settings
|
// Fill the OAuth2Settings
|
||||||
var settings = new OAuth2Settings
|
var settings = new OAuth2Settings
|
||||||
{
|
{
|
||||||
AuthUrlPattern = AuthUrl,
|
AuthUrlPattern = AuthUrl,
|
||||||
TokenUrl = TokenUrl,
|
TokenUrl = TokenUrl,
|
||||||
CloudServiceName = "Picasa",
|
CloudServiceName = "GooglePhotos",
|
||||||
ClientId = PicasaCredentials.ClientId,
|
ClientId = GooglePhotosCredentials.ClientId,
|
||||||
ClientSecret = PicasaCredentials.ClientSecret,
|
ClientSecret = GooglePhotosCredentials.ClientSecret,
|
||||||
AuthorizeMode = OAuth2AuthorizeMode.LocalServer,
|
AuthorizeMode = OAuth2AuthorizeMode.JsonReceiver,
|
||||||
RefreshToken = Config.RefreshToken,
|
RefreshToken = Config.RefreshToken,
|
||||||
AccessToken = Config.AccessToken,
|
AccessToken = Config.AccessToken,
|
||||||
AccessTokenExpires = Config.AccessTokenExpires
|
AccessTokenExpires = Config.AccessTokenExpires
|
||||||
|
@ -112,7 +112,7 @@ namespace GreenshotPicasaPlugin {
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
Log.ErrorFormat("Could not parse Picasa response due to error {0}, response was: {1}", e.Message, response);
|
Log.ErrorFormat("Could not parse GooglePhotos response due to error {0}, response was: {1}", e.Message, response);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
|
@ -19,13 +19,13 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace GreenshotPicasaPlugin {
|
namespace GreenshotGooglePhotosPlugin {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration.
|
/// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration.
|
||||||
/// You can set your own values here
|
/// You can set your own values here
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class PicasaCredentials {
|
public static class GooglePhotosCredentials {
|
||||||
public static string ClientId = "${Picasa_ClientId}";
|
public static string ClientId = "${GooglePhotos_ClientId}";
|
||||||
public static string ClientSecret = "${Picasa_ClientSecret}";
|
public static string ClientSecret = "${GooglePhotos_ClientSecret}";
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,10 +1,4 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<RootNamespace>GreenshotPicasaPlugin</RootNamespace>
|
|
||||||
<AssemblyName>GreenshotPicasaPlugin</AssemblyName>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Languages\language*.xml">
|
<None Include="Languages\language*.xml">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
@ -12,7 +6,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="Picasa.png" />
|
<EmbeddedResource Include="GooglePhotos.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* A Picasa Plugin for Greenshot
|
* A GooglePhotos Plugin for Greenshot
|
||||||
* Copyright (C) 2011 Francis Noel
|
* Copyright (C) 2011 Francis Noel
|
||||||
*
|
*
|
||||||
* For more information see: http://getgreenshot.org/
|
* For more information see: http://getgreenshot.org/
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace GreenshotPicasaPlugin {
|
namespace GreenshotGooglePhotosPlugin {
|
||||||
public enum LangKey
|
public enum LangKey
|
||||||
{
|
{
|
||||||
upload_menu_item,
|
upload_menu_item,
|
|
@ -4,8 +4,8 @@
|
||||||
<resource name="CANCEL">Zrušit</resource>
|
<resource name="CANCEL">Zrušit</resource>
|
||||||
<resource name="communication_wait">Probíhá komunikace s Picasem. Prosím počkejte ...</resource>
|
<resource name="communication_wait">Probíhá komunikace s Picasem. Prosím počkejte ...</resource>
|
||||||
<resource name="Configure">Konfigurace</resource>
|
<resource name="Configure">Konfigurace</resource>
|
||||||
<resource name="delete_question">Opravdu chcete odstranit obrázek {0} z Picasa?</resource>
|
<resource name="delete_question">Opravdu chcete odstranit obrázek {0} z GooglePhotos?</resource>
|
||||||
<resource name="delete_title">Odstranit Picasa {0}</resource>
|
<resource name="delete_title">Odstranit GooglePhotos {0}</resource>
|
||||||
<resource name="History">Historie</resource>
|
<resource name="History">Historie</resource>
|
||||||
<resource name="InvalidCredentials">Neplatná oprávnění. Otevřít nastavení pro provedené změn.</resource>
|
<resource name="InvalidCredentials">Neplatná oprávnění. Otevřít nastavení pro provedené změn.</resource>
|
||||||
<resource name="label_AfterUpload">Po odeslání</resource>
|
<resource name="label_AfterUpload">Po odeslání</resource>
|
||||||
|
@ -19,11 +19,11 @@
|
||||||
<resource name="PictureDisplaySize.OriginalUrl">Originál URL</resource>
|
<resource name="PictureDisplaySize.OriginalUrl">Originál URL</resource>
|
||||||
<resource name="PictureDisplaySize.SquareThumbnailUrl">Čtvercové náhledy URL ???</resource>
|
<resource name="PictureDisplaySize.SquareThumbnailUrl">Čtvercové náhledy URL ???</resource>
|
||||||
<resource name="PictureDisplaySize.WebUrl">Webová adresa URL</resource>
|
<resource name="PictureDisplaySize.WebUrl">Webová adresa URL</resource>
|
||||||
<resource name="settings_title">Nastavení Picasa</resource>
|
<resource name="settings_title">Nastavení GooglePhotos</resource>
|
||||||
<resource name="Upload">Nahrát</resource>
|
<resource name="Upload">Nahrát</resource>
|
||||||
<resource name="upload_failure">Nahrání obrázku do Picasa se nezdařilo:</resource>
|
<resource name="upload_failure">Nahrání obrázku do GooglePhotos se nezdařilo:</resource>
|
||||||
<resource name="upload_menu_item">Nahrát do Picasa</resource>
|
<resource name="upload_menu_item">Nahrát do GooglePhotos</resource>
|
||||||
<resource name="upload_success">Úspěšně odeslaný obrázek do Picasa!</resource>
|
<resource name="upload_success">Úspěšně odeslaný obrázek do GooglePhotos!</resource>
|
||||||
<resource name="UsernameNotSet">Prosím ověřit aplikaci Picasa. Otevřít nastavení obrazovky. ???</resource>
|
<resource name="UsernameNotSet">Prosím ověřit aplikaci GooglePhotos. Otevřít nastavení obrazovky. ???</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -8,25 +8,25 @@
|
||||||
Anschliessend
|
Anschliessend
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="Configure">
|
<resource name="Configure">
|
||||||
Picasa konfigurieren
|
GooglePhotos konfigurieren
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_menu_item">
|
<resource name="upload_menu_item">
|
||||||
Hochladen zu Picasa
|
Hochladen zu GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="settings_title">
|
<resource name="settings_title">
|
||||||
Picasa Einstellungen
|
GooglePhotos Einstellungen
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_success">
|
<resource name="upload_success">
|
||||||
Hochladen zu Picasa war erfolgreich !
|
Hochladen zu GooglePhotos war erfolgreich !
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_failure">
|
<resource name="upload_failure">
|
||||||
Fehler beim Hochladen zu Picasa:
|
Fehler beim Hochladen zu GooglePhotos:
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="label_upload_format">
|
<resource name="label_upload_format">
|
||||||
Grafikformat
|
Grafikformat
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="communication_wait">
|
<resource name="communication_wait">
|
||||||
Übermittle Daten zu Picasa. Bitte warten...
|
Übermittle Daten zu GooglePhotos. Bitte warten...
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -8,25 +8,25 @@
|
||||||
After upload
|
After upload
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="Configure">
|
<resource name="Configure">
|
||||||
Configure Picasa
|
Configure GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_menu_item">
|
<resource name="upload_menu_item">
|
||||||
Upload to Picasa
|
Upload to GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="settings_title">
|
<resource name="settings_title">
|
||||||
Picasa settings
|
GooglePhotos settings
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_success">
|
<resource name="upload_success">
|
||||||
Successfully uploaded image to Picasa!
|
Successfully uploaded image to GooglePhotos!
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_failure">
|
<resource name="upload_failure">
|
||||||
An error occured while uploading to Picasa:
|
An error occured while uploading to GooglePhotos:
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="label_upload_format">
|
<resource name="label_upload_format">
|
||||||
Image format
|
Image format
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="communication_wait">
|
<resource name="communication_wait">
|
||||||
Communicating with Picasa. Please wait...
|
Communicating with GooglePhotos. Please wait...
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -1,14 +1,14 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<language description="Français" ietf="fr-FR" version="1.0.0" languagegroup="">
|
<language description="Français" ietf="fr-FR" version="1.0.0" languagegroup="">
|
||||||
<resources>
|
<resources>
|
||||||
<resource name="communication_wait">Communication en cours avec Picasa. Veuillez patientez...</resource>
|
<resource name="communication_wait">Communication en cours avec GooglePhotos. Veuillez patientez...</resource>
|
||||||
<resource name="Configure">Configurer Picasa</resource>
|
<resource name="Configure">Configurer GooglePhotos</resource>
|
||||||
<resource name="label_AfterUpload">Après téléversement</resource>
|
<resource name="label_AfterUpload">Après téléversement</resource>
|
||||||
<resource name="label_AfterUploadLinkToClipBoard">Copier le lien dans le presse-papier</resource>
|
<resource name="label_AfterUploadLinkToClipBoard">Copier le lien dans le presse-papier</resource>
|
||||||
<resource name="label_upload_format">Format image</resource>
|
<resource name="label_upload_format">Format image</resource>
|
||||||
<resource name="settings_title">Paramètres Picasa</resource>
|
<resource name="settings_title">Paramètres GooglePhotos</resource>
|
||||||
<resource name="upload_failure">Une erreur s'est produite lors du téléversement vers Picasa :</resource>
|
<resource name="upload_failure">Une erreur s'est produite lors du téléversement vers GooglePhotos :</resource>
|
||||||
<resource name="upload_menu_item">Téléverser vers Picasa</resource>
|
<resource name="upload_menu_item">Téléverser vers GooglePhotos</resource>
|
||||||
<resource name="upload_success">Image téléversée avec succès vers Picasa !</resource>
|
<resource name="upload_success">Image téléversée avec succès vers GooglePhotos !</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -1,14 +1,14 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<language description="Bahasa Indonesia" ietf="id-ID" version="1.0.0.0" languagegroup="">
|
<language description="Bahasa Indonesia" ietf="id-ID" version="1.0.0.0" languagegroup="">
|
||||||
<resources>
|
<resources>
|
||||||
<resource name="communication_wait">Menyambungkan ke Picasa. Tunggu sebentar...</resource>
|
<resource name="communication_wait">Menyambungkan ke GooglePhotos. Tunggu sebentar...</resource>
|
||||||
<resource name="Configure">Konfigurasi Picasa</resource>
|
<resource name="Configure">Konfigurasi GooglePhotos</resource>
|
||||||
<resource name="label_AfterUpload">Sesudah mengunggah</resource>
|
<resource name="label_AfterUpload">Sesudah mengunggah</resource>
|
||||||
<resource name="label_AfterUploadLinkToClipBoard">Sambung ke papanklip</resource>
|
<resource name="label_AfterUploadLinkToClipBoard">Sambung ke papanklip</resource>
|
||||||
<resource name="label_upload_format">Format gambar</resource>
|
<resource name="label_upload_format">Format gambar</resource>
|
||||||
<resource name="settings_title">Pengaturan Picasa</resource>
|
<resource name="settings_title">Pengaturan GooglePhotos</resource>
|
||||||
<resource name="upload_failure">Kesalahan terjadi ketika mengunggah ke Picasa:</resource>
|
<resource name="upload_failure">Kesalahan terjadi ketika mengunggah ke GooglePhotos:</resource>
|
||||||
<resource name="upload_menu_item">Unggah ke Picasa</resource>
|
<resource name="upload_menu_item">Unggah ke GooglePhotos</resource>
|
||||||
<resource name="upload_success">Berhasil mengunggah gambar ke Picasa!</resource>
|
<resource name="upload_success">Berhasil mengunggah gambar ke GooglePhotos!</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -8,25 +8,25 @@
|
||||||
Dopo il caricamento
|
Dopo il caricamento
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="Configure">
|
<resource name="Configure">
|
||||||
Impostazioni Picasa
|
Impostazioni GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_menu_item">
|
<resource name="upload_menu_item">
|
||||||
Carica su Picasa
|
Carica su GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="settings_title">
|
<resource name="settings_title">
|
||||||
Impostazioni Picasa
|
Impostazioni GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_success">
|
<resource name="upload_success">
|
||||||
Caricamento immagine su Picasa completato!
|
Caricamento immagine su GooglePhotos completato!
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_failure">
|
<resource name="upload_failure">
|
||||||
Si è verificato un errore durante il caricamento su Picasa:
|
Si è verificato un errore durante il caricamento su GooglePhotos:
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="label_upload_format">
|
<resource name="label_upload_format">
|
||||||
Formato immagine
|
Formato immagine
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="communication_wait">
|
<resource name="communication_wait">
|
||||||
Comunicazione con Picasa...
|
Comunicazione con GooglePhotos...
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<language description="日本語" ietf="ja-JP" version="1.0.0">
|
||||||
|
<resources>
|
||||||
|
<resource name="label_AfterUploadLinkToClipBoard">リンクをクリップボードへコピー</resource>
|
||||||
|
<resource name="label_AfterUpload">アップロード後</resource>
|
||||||
|
<resource name="Configure">GooglePhotos の設定</resource>
|
||||||
|
<resource name="upload_menu_item">GooglePhotos にアップロード</resource>
|
||||||
|
<resource name="settings_title">GooglePhotos の設定</resource>
|
||||||
|
<resource name="upload_success">GooglePhotos へのアップロードに成功しました!</resource>
|
||||||
|
<resource name="upload_failure">GooglePhotos へのアップロード中にエラーが発生しました:</resource>
|
||||||
|
<resource name="label_upload_format">画像フォーマット</resource>
|
||||||
|
<resource name="communication_wait">GooglePhotos に接続中です。しばらくお待ち下さい...</resource>
|
||||||
|
</resources>
|
||||||
|
</language>
|
|
@ -1,14 +1,14 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<language description="Taqbaylit" ietf="kab-DZ" version="1.0.0" languagegroup="">
|
<language description="Taqbaylit" ietf="kab-DZ" version="1.0.0" languagegroup="">
|
||||||
<resources>
|
<resources>
|
||||||
<resource name="communication_wait">S tidett tebɣiḍ ad tekkseḍ amazray adigan n Picasa ?...</resource>
|
<resource name="communication_wait">S tidett tebɣiḍ ad tekkseḍ amazray adigan n GooglePhotos ?...</resource>
|
||||||
<resource name="Configure">Swel Picasa</resource>
|
<resource name="Configure">Swel GooglePhotos</resource>
|
||||||
<resource name="label_AfterUpload">Ticki yemmed usali</resource>
|
<resource name="label_AfterUpload">Ticki yemmed usali</resource>
|
||||||
<resource name="label_AfterUploadLinkToClipBoard">Nɣel aseɣwen ɣef afus</resource>
|
<resource name="label_AfterUploadLinkToClipBoard">Nɣel aseɣwen ɣef afus</resource>
|
||||||
<resource name="label_upload_format">Amsal n tugna</resource>
|
<resource name="label_upload_format">Amsal n tugna</resource>
|
||||||
<resource name="settings_title">Iɣewwaṛen Picasa</resource>
|
<resource name="settings_title">Iɣewwaṛen GooglePhotos</resource>
|
||||||
<resource name="upload_failure">Teḍra-d tuccḍa deg usali ɣer Picasa :</resource>
|
<resource name="upload_failure">Teḍra-d tuccḍa deg usali ɣer GooglePhotos :</resource>
|
||||||
<resource name="upload_menu_item">Sali ɣer Picasa</resource>
|
<resource name="upload_menu_item">Sali ɣer GooglePhotos</resource>
|
||||||
<resource name="upload_success">Tugna tuli ɣer Picasa !</resource>
|
<resource name="upload_success">Tugna tuli ɣer GooglePhotos !</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -8,25 +8,25 @@
|
||||||
얼로드 후
|
얼로드 후
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="Configure">
|
<resource name="Configure">
|
||||||
Picasa 설정
|
GooglePhotos 설정
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_menu_item">
|
<resource name="upload_menu_item">
|
||||||
Picasa로 업로드
|
GooglePhotos로 업로드
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="settings_title">
|
<resource name="settings_title">
|
||||||
Picasa 설정
|
GooglePhotos 설정
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_success">
|
<resource name="upload_success">
|
||||||
Picasa로 이미지 업로드 성공!
|
GooglePhotos로 이미지 업로드 성공!
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_failure">
|
<resource name="upload_failure">
|
||||||
Picasa로 업로드시 오류 발생:
|
GooglePhotos로 업로드시 오류 발생:
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="label_upload_format">
|
<resource name="label_upload_format">
|
||||||
이미지 형식
|
이미지 형식
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="communication_wait">
|
<resource name="communication_wait">
|
||||||
Picasa와 연결 중 잠시 기다리세요...
|
GooglePhotos와 연결 중 잠시 기다리세요...
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -9,25 +9,25 @@
|
||||||
Pēc augšupielādes
|
Pēc augšupielādes
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="Configure">
|
<resource name="Configure">
|
||||||
Picasa iestatījumi
|
GooglePhotos iestatījumi
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_menu_item">
|
<resource name="upload_menu_item">
|
||||||
Augšupieladēt uz Picasa
|
Augšupieladēt uz GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="settings_title">
|
<resource name="settings_title">
|
||||||
Picasa iestatījumi
|
GooglePhotos iestatījumi
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_success">
|
<resource name="upload_success">
|
||||||
Attēls veiksmīgi augšupielādēts uz Picasa!
|
Attēls veiksmīgi augšupielādēts uz GooglePhotos!
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_failure">
|
<resource name="upload_failure">
|
||||||
Kļūda augšuplādējot uz Picasa:
|
Kļūda augšuplādējot uz GooglePhotos:
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="label_upload_format">
|
<resource name="label_upload_format">
|
||||||
Attēla formāts
|
Attēla formāts
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="communication_wait">
|
<resource name="communication_wait">
|
||||||
Savienojos ar Picasa. Lūdzu uzgaidiet...
|
Savienojos ar GooglePhotos. Lūdzu uzgaidiet...
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<language description="Polski" ietf="pl-PL" version="1.1.4" languagegroup="2">
|
||||||
|
<resources>
|
||||||
|
<resource name="communication_wait">Trwa komunikacja z GooglePhotos. Proszę czekać...</resource>
|
||||||
|
<resource name="Configure">Konfiguruj GooglePhotos</resource>
|
||||||
|
<resource name="label_AfterUpload">Po wysłaniu</resource>
|
||||||
|
<resource name="label_AfterUploadLinkToClipBoard">Link do schowka</resource>
|
||||||
|
<resource name="label_upload_format">Format obrazów</resource>
|
||||||
|
<resource name="settings_title">Ustawienia GooglePhotos</resource>
|
||||||
|
<resource name="upload_failure">Wystąpił błąd przy wysyłaniu do GooglePhotos:</resource>
|
||||||
|
<resource name="upload_menu_item">Wyślij do GooglePhotos</resource>
|
||||||
|
<resource name="upload_success">Wysyłanie obrazu do GooglePhotos powiodło się!</resource>
|
||||||
|
</resources>
|
||||||
|
</language>
|
|
@ -8,25 +8,25 @@
|
||||||
Após enviar
|
Após enviar
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="Configure">
|
<resource name="Configure">
|
||||||
Configurar o Picasa
|
Configurar o GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_menu_item">
|
<resource name="upload_menu_item">
|
||||||
enviar para o Picasa
|
enviar para o GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="settings_title">
|
<resource name="settings_title">
|
||||||
Definições Picasa
|
Definições GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_success">
|
<resource name="upload_success">
|
||||||
Imagem enviada com êxito para o Picasa!
|
Imagem enviada com êxito para o GooglePhotos!
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_failure">
|
<resource name="upload_failure">
|
||||||
Ocorreu um erro ao enviar para o Picasa:
|
Ocorreu um erro ao enviar para o GooglePhotos:
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="label_upload_format">
|
<resource name="label_upload_format">
|
||||||
Formato da imagem
|
Formato da imagem
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="communication_wait">
|
<resource name="communication_wait">
|
||||||
A comunicar com o Picasa. Por favor aguarde...
|
A comunicar com o GooglePhotos. Por favor aguarde...
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -1,14 +1,14 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<language description="Русский" ietf="ru-RU" version="1.1.0.2515" languagegroup="5">
|
<language description="Русский" ietf="ru-RU" version="1.1.0.2515" languagegroup="5">
|
||||||
<resources>
|
<resources>
|
||||||
<resource name="communication_wait">Обмен данными с Picasa. Подождите...</resource>
|
<resource name="communication_wait">Обмен данными с GooglePhotos. Подождите...</resource>
|
||||||
<resource name="Configure">Настройка Picasa</resource>
|
<resource name="Configure">Настройка GooglePhotos</resource>
|
||||||
<resource name="label_AfterUpload">После загрузки</resource>
|
<resource name="label_AfterUpload">После загрузки</resource>
|
||||||
<resource name="label_AfterUploadLinkToClipBoard">Ссылки в буфер обмена</resource>
|
<resource name="label_AfterUploadLinkToClipBoard">Ссылки в буфер обмена</resource>
|
||||||
<resource name="label_upload_format">Формат изображения</resource>
|
<resource name="label_upload_format">Формат изображения</resource>
|
||||||
<resource name="settings_title">Настройки Picasa</resource>
|
<resource name="settings_title">Настройки GooglePhotos</resource>
|
||||||
<resource name="upload_failure">Произошла ошибка при загрузке на Picasa:</resource>
|
<resource name="upload_failure">Произошла ошибка при загрузке на GooglePhotos:</resource>
|
||||||
<resource name="upload_menu_item">Загрузить на Picasa</resource>
|
<resource name="upload_menu_item">Загрузить на GooglePhotos</resource>
|
||||||
<resource name="upload_success">Изображение успешно загружено на Picasa!</resource>
|
<resource name="upload_success">Изображение успешно загружено на GooglePhotos!</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -8,25 +8,25 @@
|
||||||
Vid uppladdning
|
Vid uppladdning
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="Configure">
|
<resource name="Configure">
|
||||||
Konfigurera Picasa
|
Konfigurera GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_menu_item">
|
<resource name="upload_menu_item">
|
||||||
Ladda upp till Picasa
|
Ladda upp till GooglePhotos
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="settings_title">
|
<resource name="settings_title">
|
||||||
Picasa-inställningar
|
GooglePhotos-inställningar
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_success">
|
<resource name="upload_success">
|
||||||
Skärmdumpen laddades upp till Picasa!
|
Skärmdumpen laddades upp till GooglePhotos!
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="upload_failure">
|
<resource name="upload_failure">
|
||||||
Ett fel uppstod vid uppladdning till Picasa:
|
Ett fel uppstod vid uppladdning till GooglePhotos:
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="label_upload_format">
|
<resource name="label_upload_format">
|
||||||
Bildformat
|
Bildformat
|
||||||
</resource>
|
</resource>
|
||||||
<resource name="communication_wait">
|
<resource name="communication_wait">
|
||||||
Kommunicerar med Picasa. Vänta...
|
Kommunicerar med GooglePhotos. Vänta...
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -3,12 +3,12 @@
|
||||||
<resources>
|
<resources>
|
||||||
<resource name="label_AfterUploadLinkToClipBoard">Посилання в буфер обміну</resource>
|
<resource name="label_AfterUploadLinkToClipBoard">Посилання в буфер обміну</resource>
|
||||||
<resource name="label_AfterUpload">Після вивантаження</resource>
|
<resource name="label_AfterUpload">Після вивантаження</resource>
|
||||||
<resource name="Configure">Налаштувати Picasa</resource>
|
<resource name="Configure">Налаштувати GooglePhotos</resource>
|
||||||
<resource name="upload_menu_item">Вивантажити на Picasa</resource>
|
<resource name="upload_menu_item">Вивантажити на GooglePhotos</resource>
|
||||||
<resource name="settings_title">Параметри Picasa</resource>
|
<resource name="settings_title">Параметри GooglePhotos</resource>
|
||||||
<resource name="upload_success">Зображення вдало вивантажено на Picasa!</resource>
|
<resource name="upload_success">Зображення вдало вивантажено на GooglePhotos!</resource>
|
||||||
<resource name="upload_failure">Відбулась помилка під час вивантаження на Picasa:</resource>
|
<resource name="upload_failure">Відбулась помилка під час вивантаження на GooglePhotos:</resource>
|
||||||
<resource name="label_upload_format">Формат зображення</resource>
|
<resource name="label_upload_format">Формат зображення</resource>
|
||||||
<resource name="communication_wait">З’єднання з Picasa. Будь ласка, зачекайте...</resource>
|
<resource name="communication_wait">З’єднання з GooglePhotos. Будь ласка, зачекайте...</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</language>
|
</language>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<language description="简体中文" ietf="zh-CN" version="1.0.3" languagegroup="a">
|
||||||
|
<resources>
|
||||||
|
<resource name="communication_wait">正在连接到GooglePhotos。请稍后...</resource>
|
||||||
|
<resource name="Configure">配置 GooglePhotos</resource>
|
||||||
|
<resource name="label_AfterUpload">上传之后</resource>
|
||||||
|
<resource name="label_AfterUploadLinkToClipBoard">复制链接到剪贴板</resource>
|
||||||
|
<resource name="label_upload_format">图片格式</resource>
|
||||||
|
<resource name="settings_title">GooglePhotos设置</resource>
|
||||||
|
<resource name="upload_failure">上传到GooglePhotos时发生错误:</resource>
|
||||||
|
<resource name="upload_menu_item">上传到GooglePhotos</resource>
|
||||||
|
<resource name="upload_success">图片已成功上传到了GooglePhotos!</resource>
|
||||||
|
</resources>
|
||||||
|
</language>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<language description="正體中文" ietf="zh-TW" version="1.0.0" languagegroup="9">
|
||||||
|
<resources>
|
||||||
|
<resource name="communication_wait">正在與 GooglePhotos 通訊,請稍候...</resource>
|
||||||
|
<resource name="Configure">組態 GooglePhotos</resource>
|
||||||
|
<resource name="label_AfterUpload">上傳後</resource>
|
||||||
|
<resource name="label_AfterUploadLinkToClipBoard">連結到剪貼簿</resource>
|
||||||
|
<resource name="label_upload_format">圖片格式</resource>
|
||||||
|
<resource name="settings_title">GooglePhotos 設定</resource>
|
||||||
|
<resource name="upload_failure">上傳到 GooglePhotos 時發生錯誤:</resource>
|
||||||
|
<resource name="upload_menu_item">上傳到 GooglePhotos</resource>
|
||||||
|
<resource name="upload_success">上傳圖片到 GooglePhotos 成功!</resource>
|
||||||
|
</resources>
|
||||||
|
</language>
|
|
@ -25,7 +25,7 @@ using System.Runtime.InteropServices;
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyDescription("A plugin to upload images to Picasa")]
|
[assembly: AssemblyDescription("A plugin to upload images to GooglePhotos")]
|
||||||
|
|
||||||
// This sets the default COM visibility of types in the assembly to invisible.
|
// This sets the default COM visibility of types in the assembly to invisible.
|
||||||
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<language description="日本語" ietf="ja-JP" version="1.0.0">
|
|
||||||
<resources>
|
|
||||||
<resource name="label_AfterUploadLinkToClipBoard">リンクをクリップボードへコピー</resource>
|
|
||||||
<resource name="label_AfterUpload">アップロード後</resource>
|
|
||||||
<resource name="Configure">Picasa の設定</resource>
|
|
||||||
<resource name="upload_menu_item">Picasa にアップロード</resource>
|
|
||||||
<resource name="settings_title">Picasa の設定</resource>
|
|
||||||
<resource name="upload_success">Picasa へのアップロードに成功しました!</resource>
|
|
||||||
<resource name="upload_failure">Picasa へのアップロード中にエラーが発生しました:</resource>
|
|
||||||
<resource name="label_upload_format">画像フォーマット</resource>
|
|
||||||
<resource name="communication_wait">Picasa に接続中です。しばらくお待ち下さい...</resource>
|
|
||||||
</resources>
|
|
||||||
</language>
|
|
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<language description="Polski" ietf="pl-PL" version="1.1.4" languagegroup="2">
|
|
||||||
<resources>
|
|
||||||
<resource name="communication_wait">Trwa komunikacja z Picasa. Proszę czekać...</resource>
|
|
||||||
<resource name="Configure">Konfiguruj Picasa</resource>
|
|
||||||
<resource name="label_AfterUpload">Po wysłaniu</resource>
|
|
||||||
<resource name="label_AfterUploadLinkToClipBoard">Link do schowka</resource>
|
|
||||||
<resource name="label_upload_format">Format obrazów</resource>
|
|
||||||
<resource name="settings_title">Ustawienia Picasa</resource>
|
|
||||||
<resource name="upload_failure">Wystąpił błąd przy wysyłaniu do Picasa:</resource>
|
|
||||||
<resource name="upload_menu_item">Wyślij do Picasa</resource>
|
|
||||||
<resource name="upload_success">Wysyłanie obrazu do Picasa powiodło się!</resource>
|
|
||||||
</resources>
|
|
||||||
</language>
|
|
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<language description="简体中文" ietf="zh-CN" version="1.0.3" languagegroup="a">
|
|
||||||
<resources>
|
|
||||||
<resource name="communication_wait">正在连接到Picasa。请稍后...</resource>
|
|
||||||
<resource name="Configure">配置 Picasa</resource>
|
|
||||||
<resource name="label_AfterUpload">上传之后</resource>
|
|
||||||
<resource name="label_AfterUploadLinkToClipBoard">复制链接到剪贴板</resource>
|
|
||||||
<resource name="label_upload_format">图片格式</resource>
|
|
||||||
<resource name="settings_title">Picasa设置</resource>
|
|
||||||
<resource name="upload_failure">上传到Picasa时发生错误:</resource>
|
|
||||||
<resource name="upload_menu_item">上传到Picasa</resource>
|
|
||||||
<resource name="upload_success">图片已成功上传到了Picasa!</resource>
|
|
||||||
</resources>
|
|
||||||
</language>
|
|
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<language description="正體中文" ietf="zh-TW" version="1.0.0" languagegroup="9">
|
|
||||||
<resources>
|
|
||||||
<resource name="communication_wait">正在與 Picasa 通訊,請稍候...</resource>
|
|
||||||
<resource name="Configure">組態 Picasa</resource>
|
|
||||||
<resource name="label_AfterUpload">上傳後</resource>
|
|
||||||
<resource name="label_AfterUploadLinkToClipBoard">連結到剪貼簿</resource>
|
|
||||||
<resource name="label_upload_format">圖片格式</resource>
|
|
||||||
<resource name="settings_title">Picasa 設定</resource>
|
|
||||||
<resource name="upload_failure">上傳到 Picasa 時發生錯誤:</resource>
|
|
||||||
<resource name="upload_menu_item">上傳到 Picasa</resource>
|
|
||||||
<resource name="upload_success">上傳圖片到 Picasa 成功!</resource>
|
|
||||||
</resources>
|
|
||||||
</language>
|
|
Binary file not shown.
Before Width: | Height: | Size: 4.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue